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