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


continuous_ops_msgs
Author(s): Wim Meeussen
autogenerated on Fri Dec 6 2013 21:18:55