00001
00002 #ifndef LAUNCHMAN_SERVICE_STOPTASK_H
00003 #define LAUNCHMAN_SERVICE_STOPTASK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace launchman
00019 {
00020 template <class ContainerAllocator>
00021 struct StopTaskRequest_ : public ros::Message
00022 {
00023 typedef StopTaskRequest_<ContainerAllocator> Type;
00024
00025 StopTaskRequest_()
00026 : taskid()
00027 , username()
00028 {
00029 }
00030
00031 StopTaskRequest_(const ContainerAllocator& _alloc)
00032 : taskid(_alloc)
00033 , username(_alloc)
00034 {
00035 }
00036
00037 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _taskid_type;
00038 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > taskid;
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _username_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > username;
00042
00043
00044 private:
00045 static const char* __s_getDataType_() { return "launchman/StopTaskRequest"; }
00046 public:
00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00048
00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00050
00051 private:
00052 static const char* __s_getMD5Sum_() { return "f90254a4a4912432fb92a8e890bdfbcd"; }
00053 public:
00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00055
00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00057
00058 private:
00059 static const char* __s_getServerMD5Sum_() { return "a7f7c2a0ff94dc94508b68c526bc0b69"; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00062
00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00064
00065 private:
00066 static const char* __s_getMessageDefinition_() { return "string taskid\n\
00067 string username\n\
00068 \n\
00069 "; }
00070 public:
00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00072
00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00074
00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00076 {
00077 ros::serialization::OStream stream(write_ptr, 1000000000);
00078 ros::serialization::serialize(stream, taskid);
00079 ros::serialization::serialize(stream, username);
00080 return stream.getData();
00081 }
00082
00083 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00084 {
00085 ros::serialization::IStream stream(read_ptr, 1000000000);
00086 ros::serialization::deserialize(stream, taskid);
00087 ros::serialization::deserialize(stream, username);
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(taskid);
00095 size += ros::serialization::serializationLength(username);
00096 return size;
00097 }
00098
00099 typedef boost::shared_ptr< ::launchman::StopTaskRequest_<ContainerAllocator> > Ptr;
00100 typedef boost::shared_ptr< ::launchman::StopTaskRequest_<ContainerAllocator> const> ConstPtr;
00101 };
00102 typedef ::launchman::StopTaskRequest_<std::allocator<void> > StopTaskRequest;
00103
00104 typedef boost::shared_ptr< ::launchman::StopTaskRequest> StopTaskRequestPtr;
00105 typedef boost::shared_ptr< ::launchman::StopTaskRequest const> StopTaskRequestConstPtr;
00106
00107
00108 template <class ContainerAllocator>
00109 struct StopTaskResponse_ : public ros::Message
00110 {
00111 typedef StopTaskResponse_<ContainerAllocator> Type;
00112
00113 StopTaskResponse_()
00114 : status()
00115 {
00116 }
00117
00118 StopTaskResponse_(const ContainerAllocator& _alloc)
00119 : status(_alloc)
00120 {
00121 }
00122
00123 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00124 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00125
00126
00127 private:
00128 static const char* __s_getDataType_() { return "launchman/StopTaskResponse"; }
00129 public:
00130 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00131
00132 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00133
00134 private:
00135 static const char* __s_getMD5Sum_() { return "4fe5af303955c287688e7347e9b00278"; }
00136 public:
00137 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00138
00139 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00140
00141 private:
00142 static const char* __s_getServerMD5Sum_() { return "a7f7c2a0ff94dc94508b68c526bc0b69"; }
00143 public:
00144 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00145
00146 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00147
00148 private:
00149 static const char* __s_getMessageDefinition_() { return "string status\n\
00150 \n\
00151 "; }
00152 public:
00153 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00154
00155 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00156
00157 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00158 {
00159 ros::serialization::OStream stream(write_ptr, 1000000000);
00160 ros::serialization::serialize(stream, status);
00161 return stream.getData();
00162 }
00163
00164 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00165 {
00166 ros::serialization::IStream stream(read_ptr, 1000000000);
00167 ros::serialization::deserialize(stream, status);
00168 return stream.getData();
00169 }
00170
00171 ROS_DEPRECATED virtual uint32_t serializationLength() const
00172 {
00173 uint32_t size = 0;
00174 size += ros::serialization::serializationLength(status);
00175 return size;
00176 }
00177
00178 typedef boost::shared_ptr< ::launchman::StopTaskResponse_<ContainerAllocator> > Ptr;
00179 typedef boost::shared_ptr< ::launchman::StopTaskResponse_<ContainerAllocator> const> ConstPtr;
00180 };
00181 typedef ::launchman::StopTaskResponse_<std::allocator<void> > StopTaskResponse;
00182
00183 typedef boost::shared_ptr< ::launchman::StopTaskResponse> StopTaskResponsePtr;
00184 typedef boost::shared_ptr< ::launchman::StopTaskResponse const> StopTaskResponseConstPtr;
00185
00186 struct StopTask
00187 {
00188
00189 typedef StopTaskRequest Request;
00190 typedef StopTaskResponse Response;
00191 Request request;
00192 Response response;
00193
00194 typedef Request RequestType;
00195 typedef Response ResponseType;
00196 };
00197 }
00198
00199 namespace ros
00200 {
00201 namespace message_traits
00202 {
00203 template<class ContainerAllocator>
00204 struct MD5Sum< ::launchman::StopTaskRequest_<ContainerAllocator> > {
00205 static const char* value()
00206 {
00207 return "f90254a4a4912432fb92a8e890bdfbcd";
00208 }
00209
00210 static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
00211 static const uint64_t static_value1 = 0xf90254a4a4912432ULL;
00212 static const uint64_t static_value2 = 0xfb92a8e890bdfbcdULL;
00213 };
00214
00215 template<class ContainerAllocator>
00216 struct DataType< ::launchman::StopTaskRequest_<ContainerAllocator> > {
00217 static const char* value()
00218 {
00219 return "launchman/StopTaskRequest";
00220 }
00221
00222 static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
00223 };
00224
00225 template<class ContainerAllocator>
00226 struct Definition< ::launchman::StopTaskRequest_<ContainerAllocator> > {
00227 static const char* value()
00228 {
00229 return "string taskid\n\
00230 string username\n\
00231 \n\
00232 ";
00233 }
00234
00235 static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
00236 };
00237
00238 }
00239 }
00240
00241
00242 namespace ros
00243 {
00244 namespace message_traits
00245 {
00246 template<class ContainerAllocator>
00247 struct MD5Sum< ::launchman::StopTaskResponse_<ContainerAllocator> > {
00248 static const char* value()
00249 {
00250 return "4fe5af303955c287688e7347e9b00278";
00251 }
00252
00253 static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
00254 static const uint64_t static_value1 = 0x4fe5af303955c287ULL;
00255 static const uint64_t static_value2 = 0x688e7347e9b00278ULL;
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType< ::launchman::StopTaskResponse_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "launchman/StopTaskResponse";
00263 }
00264
00265 static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct Definition< ::launchman::StopTaskResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "string status\n\
00273 \n\
00274 ";
00275 }
00276
00277 static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 }
00281 }
00282
00283 namespace ros
00284 {
00285 namespace serialization
00286 {
00287
00288 template<class ContainerAllocator> struct Serializer< ::launchman::StopTaskRequest_<ContainerAllocator> >
00289 {
00290 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00291 {
00292 stream.next(m.taskid);
00293 stream.next(m.username);
00294 }
00295
00296 ROS_DECLARE_ALLINONE_SERIALIZER;
00297 };
00298 }
00299 }
00300
00301
00302 namespace ros
00303 {
00304 namespace serialization
00305 {
00306
00307 template<class ContainerAllocator> struct Serializer< ::launchman::StopTaskResponse_<ContainerAllocator> >
00308 {
00309 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00310 {
00311 stream.next(m.status);
00312 }
00313
00314 ROS_DECLARE_ALLINONE_SERIALIZER;
00315 };
00316 }
00317 }
00318
00319 namespace ros
00320 {
00321 namespace service_traits
00322 {
00323 template<>
00324 struct MD5Sum<launchman::StopTask> {
00325 static const char* value()
00326 {
00327 return "a7f7c2a0ff94dc94508b68c526bc0b69";
00328 }
00329
00330 static const char* value(const launchman::StopTask&) { return value(); }
00331 };
00332
00333 template<>
00334 struct DataType<launchman::StopTask> {
00335 static const char* value()
00336 {
00337 return "launchman/StopTask";
00338 }
00339
00340 static const char* value(const launchman::StopTask&) { return value(); }
00341 };
00342
00343 template<class ContainerAllocator>
00344 struct MD5Sum<launchman::StopTaskRequest_<ContainerAllocator> > {
00345 static const char* value()
00346 {
00347 return "a7f7c2a0ff94dc94508b68c526bc0b69";
00348 }
00349
00350 static const char* value(const launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
00351 };
00352
00353 template<class ContainerAllocator>
00354 struct DataType<launchman::StopTaskRequest_<ContainerAllocator> > {
00355 static const char* value()
00356 {
00357 return "launchman/StopTask";
00358 }
00359
00360 static const char* value(const launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
00361 };
00362
00363 template<class ContainerAllocator>
00364 struct MD5Sum<launchman::StopTaskResponse_<ContainerAllocator> > {
00365 static const char* value()
00366 {
00367 return "a7f7c2a0ff94dc94508b68c526bc0b69";
00368 }
00369
00370 static const char* value(const launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
00371 };
00372
00373 template<class ContainerAllocator>
00374 struct DataType<launchman::StopTaskResponse_<ContainerAllocator> > {
00375 static const char* value()
00376 {
00377 return "launchman/StopTask";
00378 }
00379
00380 static const char* value(const launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
00381 };
00382
00383 }
00384 }
00385
00386 #endif // LAUNCHMAN_SERVICE_STOPTASK_H
00387