AddTask.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-continuous_ops/doc_stacks/2013-12-06_19-54-49.017790/continuous_ops/continuous_ops_msgs/srv/AddTask.srv */
00002 #ifndef CONTINUOUS_OPS_MSGS_SERVICE_ADDTASK_H
00003 #define CONTINUOUS_OPS_MSGS_SERVICE_ADDTASK_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 AddTaskRequest_ {
00027   typedef AddTaskRequest_<ContainerAllocator> Type;
00028 
00029   AddTaskRequest_()
00030   : task_id()
00031   {
00032   }
00033 
00034   AddTaskRequest_(const ContainerAllocator& _alloc)
00035   : task_id(_alloc)
00036   {
00037   }
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _task_id_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  task_id;
00041 
00042 
00043   typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct AddTaskRequest
00047 typedef  ::continuous_ops_msgs::AddTaskRequest_<std::allocator<void> > AddTaskRequest;
00048 
00049 typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskRequest> AddTaskRequestPtr;
00050 typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskRequest const> AddTaskRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct AddTaskResponse_ {
00055   typedef AddTaskResponse_<ContainerAllocator> Type;
00056 
00057   AddTaskResponse_()
00058   : run_id()
00059   , tasks()
00060   {
00061   }
00062 
00063   AddTaskResponse_(const ContainerAllocator& _alloc)
00064   : run_id(_alloc)
00065   , tasks(_alloc)
00066   {
00067   }
00068 
00069   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _run_id_type;
00070   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  run_id;
00071 
00072   typedef std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other >  _tasks_type;
00073   std::vector< ::continuous_ops_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::continuous_ops_msgs::Task_<ContainerAllocator> >::other >  tasks;
00074 
00075 
00076   typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > Ptr;
00077   typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator>  const> ConstPtr;
00078   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 }; // struct AddTaskResponse
00080 typedef  ::continuous_ops_msgs::AddTaskResponse_<std::allocator<void> > AddTaskResponse;
00081 
00082 typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskResponse> AddTaskResponsePtr;
00083 typedef boost::shared_ptr< ::continuous_ops_msgs::AddTaskResponse const> AddTaskResponseConstPtr;
00084 
00085 struct AddTask
00086 {
00087 
00088 typedef AddTaskRequest Request;
00089 typedef AddTaskResponse Response;
00090 Request request;
00091 Response response;
00092 
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 }; // struct AddTask
00096 } // namespace continuous_ops_msgs
00097 
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator>  const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "2b6ff28cc01b440b5e2f50ddfe7763c3";
00109   }
00110 
00111   static const char* value(const  ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> &) { return value(); } 
00112   static const uint64_t static_value1 = 0x2b6ff28cc01b440bULL;
00113   static const uint64_t static_value2 = 0x5e2f50ddfe7763c3ULL;
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct DataType< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "continuous_ops_msgs/AddTaskRequest";
00121   }
00122 
00123   static const char* value(const  ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct Definition< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "string task_id\n\
00131 \n\
00132 ";
00133   }
00134 
00135   static const char* value(const  ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> &) { return value(); } 
00136 };
00137 
00138 } // namespace message_traits
00139 } // namespace ros
00140 
00141 
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator>  const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > {
00150   static const char* value() 
00151   {
00152     return "979d5775818765dc12366ea52f087732";
00153   }
00154 
00155   static const char* value(const  ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> &) { return value(); } 
00156   static const uint64_t static_value1 = 0x979d5775818765dcULL;
00157   static const uint64_t static_value2 = 0x12366ea52f087732ULL;
00158 };
00159 
00160 template<class ContainerAllocator>
00161 struct DataType< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > {
00162   static const char* value() 
00163   {
00164     return "continuous_ops_msgs/AddTaskResponse";
00165   }
00166 
00167   static const char* value(const  ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> &) { return value(); } 
00168 };
00169 
00170 template<class ContainerAllocator>
00171 struct Definition< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > {
00172   static const char* value() 
00173   {
00174     return "string run_id\n\
00175 Task[] tasks\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: continuous_ops_msgs/Task\n\
00179 string name\n\
00180 string description\n\
00181 string task_id\n\
00182 string run_id\n\
00183 string launch_file\n\
00184 string image_file\n\
00185 string state\n\
00186 string action_ns\n\
00187 duration timeout\n\
00188 ";
00189   }
00190 
00191   static const char* value(const  ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> &) { return value(); } 
00192 };
00193 
00194 } // namespace message_traits
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201 
00202 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> >
00203 {
00204   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205   {
00206     stream.next(m.task_id);
00207   }
00208 
00209   ROS_DECLARE_ALLINONE_SERIALIZER;
00210 }; // struct AddTaskRequest_
00211 } // namespace serialization
00212 } // namespace ros
00213 
00214 
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219 
00220 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> >
00221 {
00222   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223   {
00224     stream.next(m.run_id);
00225     stream.next(m.tasks);
00226   }
00227 
00228   ROS_DECLARE_ALLINONE_SERIALIZER;
00229 }; // struct AddTaskResponse_
00230 } // namespace serialization
00231 } // namespace ros
00232 
00233 namespace ros
00234 {
00235 namespace service_traits
00236 {
00237 template<>
00238 struct MD5Sum<continuous_ops_msgs::AddTask> {
00239   static const char* value() 
00240   {
00241     return "9f006c64e7df3a3de962d4fabeb03d6e";
00242   }
00243 
00244   static const char* value(const continuous_ops_msgs::AddTask&) { return value(); } 
00245 };
00246 
00247 template<>
00248 struct DataType<continuous_ops_msgs::AddTask> {
00249   static const char* value() 
00250   {
00251     return "continuous_ops_msgs/AddTask";
00252   }
00253 
00254   static const char* value(const continuous_ops_msgs::AddTask&) { return value(); } 
00255 };
00256 
00257 template<class ContainerAllocator>
00258 struct MD5Sum<continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > {
00259   static const char* value() 
00260   {
00261     return "9f006c64e7df3a3de962d4fabeb03d6e";
00262   }
00263 
00264   static const char* value(const continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> &) { return value(); } 
00265 };
00266 
00267 template<class ContainerAllocator>
00268 struct DataType<continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> > {
00269   static const char* value() 
00270   {
00271     return "continuous_ops_msgs/AddTask";
00272   }
00273 
00274   static const char* value(const continuous_ops_msgs::AddTaskRequest_<ContainerAllocator> &) { return value(); } 
00275 };
00276 
00277 template<class ContainerAllocator>
00278 struct MD5Sum<continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > {
00279   static const char* value() 
00280   {
00281     return "9f006c64e7df3a3de962d4fabeb03d6e";
00282   }
00283 
00284   static const char* value(const continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> &) { return value(); } 
00285 };
00286 
00287 template<class ContainerAllocator>
00288 struct DataType<continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> > {
00289   static const char* value() 
00290   {
00291     return "continuous_ops_msgs/AddTask";
00292   }
00293 
00294   static const char* value(const continuous_ops_msgs::AddTaskResponse_<ContainerAllocator> &) { return value(); } 
00295 };
00296 
00297 } // namespace service_traits
00298 } // namespace ros
00299 
00300 #endif // CONTINUOUS_OPS_MSGS_SERVICE_ADDTASK_H
00301 


continuous_ops_msgs
Author(s): Wim Meeussen
autogenerated on Fri Dec 6 2013 19:57:52