Go to the documentation of this file.00001
00002 #ifndef CONTINUOUS_OPS_MSGS_SERVICE_REORDERTASKLIST_H
00003 #define CONTINUOUS_OPS_MSGS_SERVICE_REORDERTASKLIST_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019
00020
00021 #include "continuous_ops_msgs/Task.h"
00022
00023 namespace continuous_ops_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct ReorderTaskListRequest_ {
00027 typedef ReorderTaskListRequest_<ContainerAllocator> Type;
00028
00029 ReorderTaskListRequest_()
00030 : run_id_list()
00031 {
00032 }
00033
00034 ReorderTaskListRequest_(const ContainerAllocator& _alloc)
00035 : run_id_list(_alloc)
00036 {
00037 }
00038
00039 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _run_id_list_type;
00040 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > run_id_list;
00041
00042
00043 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::continuous_ops_msgs::ReorderTaskListRequest_<std::allocator<void> > ReorderTaskListRequest;
00048
00049 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest> ReorderTaskListRequestPtr;
00050 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest const> ReorderTaskListRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct ReorderTaskListResponse_ {
00055 typedef ReorderTaskListResponse_<ContainerAllocator> Type;
00056
00057 ReorderTaskListResponse_()
00058 : tasks()
00059 {
00060 }
00061
00062 ReorderTaskListResponse_(const ContainerAllocator& _alloc)
00063 : tasks(_alloc)
00064 {
00065 }
00066
00067 typedef std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > _tasks_type;
00068 std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > tasks;
00069
00070
00071 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::continuous_ops_msgs::ReorderTaskListResponse_<std::allocator<void> > ReorderTaskListResponse;
00076
00077 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse> ReorderTaskListResponsePtr;
00078 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse const> ReorderTaskListResponseConstPtr;
00079
00080 struct ReorderTaskList
00081 {
00082
00083 typedef ReorderTaskListRequest Request;
00084 typedef ReorderTaskListResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "cfcccf014e9b4d9d7c659bf7c5fd528c";
00104 }
00105
00106 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xcfcccf014e9b4d9dULL;
00108 static const uint64_t static_value2 = 0x7c659bf7c5fd528cULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "continuous_ops_msgs/ReorderTaskListRequest";
00116 }
00117
00118 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "string[] run_id_list\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 }
00134 }
00135
00136
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "e6fac003aa050bdfb91de78e5697a3e5";
00148 }
00149
00150 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0xe6fac003aa050bdfULL;
00152 static const uint64_t static_value2 = 0xb91de78e5697a3e5ULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "continuous_ops_msgs/ReorderTaskListResponse";
00160 }
00161
00162 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "Task[] tasks\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: continuous_ops_msgs/Task\n\
00173 string name\n\
00174 string description\n\
00175 string task_id\n\
00176 string run_id\n\
00177 string launch_file\n\
00178 string image_file\n\
00179 string state\n\
00180 string action_ns\n\
00181 duration timeout\n\
00182 ";
00183 }
00184
00185 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); }
00186 };
00187
00188 }
00189 }
00190
00191 namespace ros
00192 {
00193 namespace serialization
00194 {
00195
00196 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> >
00197 {
00198 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00199 {
00200 stream.next(m.run_id_list);
00201 }
00202
00203 ROS_DECLARE_ALLINONE_SERIALIZER;
00204 };
00205 }
00206 }
00207
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 stream.next(m.tasks);
00219 }
00220
00221 ROS_DECLARE_ALLINONE_SERIALIZER;
00222 };
00223 }
00224 }
00225
00226 namespace ros
00227 {
00228 namespace service_traits
00229 {
00230 template<>
00231 struct MD5Sum<continuous_ops_msgs::ReorderTaskList> {
00232 static const char* value()
00233 {
00234 return "1cf775a2c70759a4f6f57e508ceca77a";
00235 }
00236
00237 static const char* value(const continuous_ops_msgs::ReorderTaskList&) { return value(); }
00238 };
00239
00240 template<>
00241 struct DataType<continuous_ops_msgs::ReorderTaskList> {
00242 static const char* value()
00243 {
00244 return "continuous_ops_msgs/ReorderTaskList";
00245 }
00246
00247 static const char* value(const continuous_ops_msgs::ReorderTaskList&) { return value(); }
00248 };
00249
00250 template<class ContainerAllocator>
00251 struct MD5Sum<continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > {
00252 static const char* value()
00253 {
00254 return "1cf775a2c70759a4f6f57e508ceca77a";
00255 }
00256
00257 static const char* value(const continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct DataType<continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "continuous_ops_msgs/ReorderTaskList";
00265 }
00266
00267 static const char* value(const continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct MD5Sum<continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "1cf775a2c70759a4f6f57e508ceca77a";
00275 }
00276
00277 static const char* value(const continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct DataType<continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "continuous_ops_msgs/ReorderTaskList";
00285 }
00286
00287 static const char* value(const continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 }
00291 }
00292
00293 #endif // CONTINUOUS_OPS_MSGS_SERVICE_REORDERTASKLIST_H
00294