$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-continuous_ops/doc_stacks/2013-03-01_15-04-55.848441/continuous_ops/continuous_ops_msgs/srv/ReorderTaskList.srv */ 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 ROS_DEPRECATED uint32_t get_run_id_list_size() const { return (uint32_t)run_id_list.size(); } 00044 ROS_DEPRECATED void set_run_id_list_size(uint32_t size) { run_id_list.resize((size_t)size); } 00045 ROS_DEPRECATED void get_run_id_list_vec(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 > & vec) const { vec = this->run_id_list; } 00046 ROS_DEPRECATED void set_run_id_list_vec(const 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 > & vec) { this->run_id_list = vec; } 00047 private: 00048 static const char* __s_getDataType_() { return "continuous_ops_msgs/ReorderTaskListRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "cfcccf014e9b4d9d7c659bf7c5fd528c"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "1cf775a2c70759a4f6f57e508ceca77a"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "string[] run_id_list\n\ 00070 \n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 ros::serialization::serialize(stream, run_id_list); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00085 { 00086 ros::serialization::IStream stream(read_ptr, 1000000000); 00087 ros::serialization::deserialize(stream, run_id_list); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint32_t serializationLength() const 00092 { 00093 uint32_t size = 0; 00094 size += ros::serialization::serializationLength(run_id_list); 00095 return size; 00096 } 00097 00098 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > Ptr; 00099 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> const> ConstPtr; 00100 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00101 }; // struct ReorderTaskListRequest 00102 typedef ::continuous_ops_msgs::ReorderTaskListRequest_<std::allocator<void> > ReorderTaskListRequest; 00103 00104 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest> ReorderTaskListRequestPtr; 00105 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListRequest const> ReorderTaskListRequestConstPtr; 00106 00107 00108 template <class ContainerAllocator> 00109 struct ReorderTaskListResponse_ { 00110 typedef ReorderTaskListResponse_<ContainerAllocator> Type; 00111 00112 ReorderTaskListResponse_() 00113 : tasks() 00114 { 00115 } 00116 00117 ReorderTaskListResponse_(const ContainerAllocator& _alloc) 00118 : tasks(_alloc) 00119 { 00120 } 00121 00122 typedef std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > _tasks_type; 00123 std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > tasks; 00124 00125 00126 ROS_DEPRECATED uint32_t get_tasks_size() const { return (uint32_t)tasks.size(); } 00127 ROS_DEPRECATED void set_tasks_size(uint32_t size) { tasks.resize((size_t)size); } 00128 ROS_DEPRECATED void get_tasks_vec(std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > & vec) const { vec = this->tasks; } 00129 ROS_DEPRECATED void set_tasks_vec(const std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other > & vec) { this->tasks = vec; } 00130 private: 00131 static const char* __s_getDataType_() { return "continuous_ops_msgs/ReorderTaskListResponse"; } 00132 public: 00133 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00134 00135 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00136 00137 private: 00138 static const char* __s_getMD5Sum_() { return "e6fac003aa050bdfb91de78e5697a3e5"; } 00139 public: 00140 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00141 00142 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00143 00144 private: 00145 static const char* __s_getServerMD5Sum_() { return "1cf775a2c70759a4f6f57e508ceca77a"; } 00146 public: 00147 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00148 00149 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00150 00151 private: 00152 static const char* __s_getMessageDefinition_() { return "Task[] tasks\n\ 00153 \n\ 00154 ================================================================================\n\ 00155 MSG: continuous_ops_msgs/Task\n\ 00156 string name\n\ 00157 string description\n\ 00158 string task_id\n\ 00159 string run_id\n\ 00160 string launch_file\n\ 00161 string image_file\n\ 00162 string state\n\ 00163 string action_ns\n\ 00164 duration timeout\n\ 00165 "; } 00166 public: 00167 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00168 00169 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00170 00171 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00172 { 00173 ros::serialization::OStream stream(write_ptr, 1000000000); 00174 ros::serialization::serialize(stream, tasks); 00175 return stream.getData(); 00176 } 00177 00178 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00179 { 00180 ros::serialization::IStream stream(read_ptr, 1000000000); 00181 ros::serialization::deserialize(stream, tasks); 00182 return stream.getData(); 00183 } 00184 00185 ROS_DEPRECATED virtual uint32_t serializationLength() const 00186 { 00187 uint32_t size = 0; 00188 size += ros::serialization::serializationLength(tasks); 00189 return size; 00190 } 00191 00192 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > Ptr; 00193 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> const> ConstPtr; 00194 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00195 }; // struct ReorderTaskListResponse 00196 typedef ::continuous_ops_msgs::ReorderTaskListResponse_<std::allocator<void> > ReorderTaskListResponse; 00197 00198 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse> ReorderTaskListResponsePtr; 00199 typedef boost::shared_ptr< ::continuous_ops_msgs::ReorderTaskListResponse const> ReorderTaskListResponseConstPtr; 00200 00201 struct ReorderTaskList 00202 { 00203 00204 typedef ReorderTaskListRequest Request; 00205 typedef ReorderTaskListResponse Response; 00206 Request request; 00207 Response response; 00208 00209 typedef Request RequestType; 00210 typedef Response ResponseType; 00211 }; // struct ReorderTaskList 00212 } // namespace continuous_ops_msgs 00213 00214 namespace ros 00215 { 00216 namespace message_traits 00217 { 00218 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > : public TrueType {}; 00219 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> const> : public TrueType {}; 00220 template<class ContainerAllocator> 00221 struct MD5Sum< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > { 00222 static const char* value() 00223 { 00224 return "cfcccf014e9b4d9d7c659bf7c5fd528c"; 00225 } 00226 00227 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); } 00228 static const uint64_t static_value1 = 0xcfcccf014e9b4d9dULL; 00229 static const uint64_t static_value2 = 0x7c659bf7c5fd528cULL; 00230 }; 00231 00232 template<class ContainerAllocator> 00233 struct DataType< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > { 00234 static const char* value() 00235 { 00236 return "continuous_ops_msgs/ReorderTaskListRequest"; 00237 } 00238 00239 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); } 00240 }; 00241 00242 template<class ContainerAllocator> 00243 struct Definition< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > { 00244 static const char* value() 00245 { 00246 return "string[] run_id_list\n\ 00247 \n\ 00248 "; 00249 } 00250 00251 static const char* value(const ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); } 00252 }; 00253 00254 } // namespace message_traits 00255 } // namespace ros 00256 00257 00258 namespace ros 00259 { 00260 namespace message_traits 00261 { 00262 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > : public TrueType {}; 00263 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> const> : public TrueType {}; 00264 template<class ContainerAllocator> 00265 struct MD5Sum< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "e6fac003aa050bdfb91de78e5697a3e5"; 00269 } 00270 00271 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); } 00272 static const uint64_t static_value1 = 0xe6fac003aa050bdfULL; 00273 static const uint64_t static_value2 = 0xb91de78e5697a3e5ULL; 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct DataType< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "continuous_ops_msgs/ReorderTaskListResponse"; 00281 } 00282 00283 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); } 00284 }; 00285 00286 template<class ContainerAllocator> 00287 struct Definition< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "Task[] tasks\n\ 00291 \n\ 00292 ================================================================================\n\ 00293 MSG: continuous_ops_msgs/Task\n\ 00294 string name\n\ 00295 string description\n\ 00296 string task_id\n\ 00297 string run_id\n\ 00298 string launch_file\n\ 00299 string image_file\n\ 00300 string state\n\ 00301 string action_ns\n\ 00302 duration timeout\n\ 00303 "; 00304 } 00305 00306 static const char* value(const ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); } 00307 }; 00308 00309 } // namespace message_traits 00310 } // namespace ros 00311 00312 namespace ros 00313 { 00314 namespace serialization 00315 { 00316 00317 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > 00318 { 00319 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00320 { 00321 stream.next(m.run_id_list); 00322 } 00323 00324 ROS_DECLARE_ALLINONE_SERIALIZER; 00325 }; // struct ReorderTaskListRequest_ 00326 } // namespace serialization 00327 } // namespace ros 00328 00329 00330 namespace ros 00331 { 00332 namespace serialization 00333 { 00334 00335 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > 00336 { 00337 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00338 { 00339 stream.next(m.tasks); 00340 } 00341 00342 ROS_DECLARE_ALLINONE_SERIALIZER; 00343 }; // struct ReorderTaskListResponse_ 00344 } // namespace serialization 00345 } // namespace ros 00346 00347 namespace ros 00348 { 00349 namespace service_traits 00350 { 00351 template<> 00352 struct MD5Sum<continuous_ops_msgs::ReorderTaskList> { 00353 static const char* value() 00354 { 00355 return "1cf775a2c70759a4f6f57e508ceca77a"; 00356 } 00357 00358 static const char* value(const continuous_ops_msgs::ReorderTaskList&) { return value(); } 00359 }; 00360 00361 template<> 00362 struct DataType<continuous_ops_msgs::ReorderTaskList> { 00363 static const char* value() 00364 { 00365 return "continuous_ops_msgs/ReorderTaskList"; 00366 } 00367 00368 static const char* value(const continuous_ops_msgs::ReorderTaskList&) { return value(); } 00369 }; 00370 00371 template<class ContainerAllocator> 00372 struct MD5Sum<continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > { 00373 static const char* value() 00374 { 00375 return "1cf775a2c70759a4f6f57e508ceca77a"; 00376 } 00377 00378 static const char* value(const continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); } 00379 }; 00380 00381 template<class ContainerAllocator> 00382 struct DataType<continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> > { 00383 static const char* value() 00384 { 00385 return "continuous_ops_msgs/ReorderTaskList"; 00386 } 00387 00388 static const char* value(const continuous_ops_msgs::ReorderTaskListRequest_<ContainerAllocator> &) { return value(); } 00389 }; 00390 00391 template<class ContainerAllocator> 00392 struct MD5Sum<continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > { 00393 static const char* value() 00394 { 00395 return "1cf775a2c70759a4f6f57e508ceca77a"; 00396 } 00397 00398 static const char* value(const continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); } 00399 }; 00400 00401 template<class ContainerAllocator> 00402 struct DataType<continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> > { 00403 static const char* value() 00404 { 00405 return "continuous_ops_msgs/ReorderTaskList"; 00406 } 00407 00408 static const char* value(const continuous_ops_msgs::ReorderTaskListResponse_<ContainerAllocator> &) { return value(); } 00409 }; 00410 00411 } // namespace service_traits 00412 } // namespace ros 00413 00414 #endif // CONTINUOUS_OPS_MSGS_SERVICE_REORDERTASKLIST_H 00415