Go to the documentation of this file.00001
00002 #ifndef CONTINUOUS_OPS_MSGS_SERVICE_CHANGETASK_H
00003 #define CONTINUOUS_OPS_MSGS_SERVICE_CHANGETASK_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 ChangeTaskRequest_ {
00027 typedef ChangeTaskRequest_<ContainerAllocator> Type;
00028
00029 ChangeTaskRequest_()
00030 : run_id()
00031 {
00032 }
00033
00034 ChangeTaskRequest_(const ContainerAllocator& _alloc)
00035 : run_id(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _run_id_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > run_id;
00041
00042
00043 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::continuous_ops_msgs::ChangeTaskRequest_<std::allocator<void> > ChangeTaskRequest;
00048
00049 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskRequest> ChangeTaskRequestPtr;
00050 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskRequest const> ChangeTaskRequestConstPtr;
00051
00052
00053
00054 template <class ContainerAllocator>
00055 struct ChangeTaskResponse_ {
00056 typedef ChangeTaskResponse_<ContainerAllocator> Type;
00057
00058 ChangeTaskResponse_()
00059 : tasks()
00060 {
00061 }
00062
00063 ChangeTaskResponse_(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::ChangeTaskResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::continuous_ops_msgs::ChangeTaskResponse_<std::allocator<void> > ChangeTaskResponse;
00077
00078 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskResponse> ChangeTaskResponsePtr;
00079 typedef boost::shared_ptr< ::continuous_ops_msgs::ChangeTaskResponse const> ChangeTaskResponseConstPtr;
00080
00081
00082 struct ChangeTask
00083 {
00084
00085 typedef ChangeTaskRequest Request;
00086 typedef ChangeTaskResponse 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::ChangeTaskRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "3556f757c00324804cc4196184489e8c";
00106 }
00107
00108 static const char* value(const ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> &) { return value(); }
00109 static const uint64_t static_value1 = 0x3556f757c0032480ULL;
00110 static const uint64_t static_value2 = 0x4cc4196184489e8cULL;
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct DataType< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "continuous_ops_msgs/ChangeTaskRequest";
00118 }
00119
00120 static const char* value(const ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct Definition< ::continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "string run_id\n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::continuous_ops_msgs::ChangeTaskRequest_<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::ChangeTaskResponse_<ContainerAllocator> > : public TrueType {};
00144 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> const> : public TrueType {};
00145 template<class ContainerAllocator>
00146 struct MD5Sum< ::continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "e6fac003aa050bdfb91de78e5697a3e5";
00150 }
00151
00152 static const char* value(const ::continuous_ops_msgs::ChangeTaskResponse_<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::ChangeTaskResponse_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "continuous_ops_msgs/ChangeTaskResponse";
00162 }
00163
00164 static const char* value(const ::continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> &) { return value(); }
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct Definition< ::continuous_ops_msgs::ChangeTaskResponse_<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::ChangeTaskResponse_<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::ChangeTaskRequest_<ContainerAllocator> >
00199 {
00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201 {
00202 stream.next(m.run_id);
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::ChangeTaskResponse_<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::ChangeTask> {
00234 static const char* value()
00235 {
00236 return "684487ce98884abdbc1524a5854e85f9";
00237 }
00238
00239 static const char* value(const continuous_ops_msgs::ChangeTask&) { return value(); }
00240 };
00241
00242 template<>
00243 struct DataType<continuous_ops_msgs::ChangeTask> {
00244 static const char* value()
00245 {
00246 return "continuous_ops_msgs/ChangeTask";
00247 }
00248
00249 static const char* value(const continuous_ops_msgs::ChangeTask&) { return value(); }
00250 };
00251
00252 template<class ContainerAllocator>
00253 struct MD5Sum<continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > {
00254 static const char* value()
00255 {
00256 return "684487ce98884abdbc1524a5854e85f9";
00257 }
00258
00259 static const char* value(const continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> &) { return value(); }
00260 };
00261
00262 template<class ContainerAllocator>
00263 struct DataType<continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> > {
00264 static const char* value()
00265 {
00266 return "continuous_ops_msgs/ChangeTask";
00267 }
00268
00269 static const char* value(const continuous_ops_msgs::ChangeTaskRequest_<ContainerAllocator> &) { return value(); }
00270 };
00271
00272 template<class ContainerAllocator>
00273 struct MD5Sum<continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "684487ce98884abdbc1524a5854e85f9";
00277 }
00278
00279 static const char* value(const continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct DataType<continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "continuous_ops_msgs/ChangeTask";
00287 }
00288
00289 static const char* value(const continuous_ops_msgs::ChangeTaskResponse_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 }
00293 }
00294
00295 #endif // CONTINUOUS_OPS_MSGS_SERVICE_CHANGETASK_H
00296