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