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