$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/StartTask.srv */ 00002 #ifndef LAUNCHMAN_SERVICE_STARTTASK_H 00003 #define LAUNCHMAN_SERVICE_STARTTASK_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 StartTaskRequest_ { 00026 typedef StartTaskRequest_<ContainerAllocator> Type; 00027 00028 StartTaskRequest_() 00029 : taskid() 00030 , username() 00031 { 00032 } 00033 00034 StartTaskRequest_(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/StartTaskRequest"; } 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::StartTaskRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::launchman::StartTaskRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct StartTaskRequest 00106 typedef ::launchman::StartTaskRequest_<std::allocator<void> > StartTaskRequest; 00107 00108 typedef boost::shared_ptr< ::launchman::StartTaskRequest> StartTaskRequestPtr; 00109 typedef boost::shared_ptr< ::launchman::StartTaskRequest const> StartTaskRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct StartTaskResponse_ { 00114 typedef StartTaskResponse_<ContainerAllocator> Type; 00115 00116 StartTaskResponse_() 00117 : status() 00118 { 00119 } 00120 00121 StartTaskResponse_(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/StartTaskResponse"; } 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 \n\ 00155 "; } 00156 public: 00157 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00160 00161 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00162 { 00163 ros::serialization::OStream stream(write_ptr, 1000000000); 00164 ros::serialization::serialize(stream, status); 00165 return stream.getData(); 00166 } 00167 00168 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00169 { 00170 ros::serialization::IStream stream(read_ptr, 1000000000); 00171 ros::serialization::deserialize(stream, status); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint32_t serializationLength() const 00176 { 00177 uint32_t size = 0; 00178 size += ros::serialization::serializationLength(status); 00179 return size; 00180 } 00181 00182 typedef boost::shared_ptr< ::launchman::StartTaskResponse_<ContainerAllocator> > Ptr; 00183 typedef boost::shared_ptr< ::launchman::StartTaskResponse_<ContainerAllocator> const> ConstPtr; 00184 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00185 }; // struct StartTaskResponse 00186 typedef ::launchman::StartTaskResponse_<std::allocator<void> > StartTaskResponse; 00187 00188 typedef boost::shared_ptr< ::launchman::StartTaskResponse> StartTaskResponsePtr; 00189 typedef boost::shared_ptr< ::launchman::StartTaskResponse const> StartTaskResponseConstPtr; 00190 00191 struct StartTask 00192 { 00193 00194 typedef StartTaskRequest Request; 00195 typedef StartTaskResponse Response; 00196 Request request; 00197 Response response; 00198 00199 typedef Request RequestType; 00200 typedef Response ResponseType; 00201 }; // struct StartTask 00202 } // namespace launchman 00203 00204 namespace ros 00205 { 00206 namespace message_traits 00207 { 00208 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskRequest_<ContainerAllocator> > : public TrueType {}; 00209 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskRequest_<ContainerAllocator> const> : public TrueType {}; 00210 template<class ContainerAllocator> 00211 struct MD5Sum< ::launchman::StartTaskRequest_<ContainerAllocator> > { 00212 static const char* value() 00213 { 00214 return "f90254a4a4912432fb92a8e890bdfbcd"; 00215 } 00216 00217 static const char* value(const ::launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); } 00218 static const uint64_t static_value1 = 0xf90254a4a4912432ULL; 00219 static const uint64_t static_value2 = 0xfb92a8e890bdfbcdULL; 00220 }; 00221 00222 template<class ContainerAllocator> 00223 struct DataType< ::launchman::StartTaskRequest_<ContainerAllocator> > { 00224 static const char* value() 00225 { 00226 return "launchman/StartTaskRequest"; 00227 } 00228 00229 static const char* value(const ::launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); } 00230 }; 00231 00232 template<class ContainerAllocator> 00233 struct Definition< ::launchman::StartTaskRequest_<ContainerAllocator> > { 00234 static const char* value() 00235 { 00236 return "string taskid\n\ 00237 string username\n\ 00238 \n\ 00239 "; 00240 } 00241 00242 static const char* value(const ::launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); } 00243 }; 00244 00245 } // namespace message_traits 00246 } // namespace ros 00247 00248 00249 namespace ros 00250 { 00251 namespace message_traits 00252 { 00253 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskResponse_<ContainerAllocator> > : public TrueType {}; 00254 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskResponse_<ContainerAllocator> const> : public TrueType {}; 00255 template<class ContainerAllocator> 00256 struct MD5Sum< ::launchman::StartTaskResponse_<ContainerAllocator> > { 00257 static const char* value() 00258 { 00259 return "4fe5af303955c287688e7347e9b00278"; 00260 } 00261 00262 static const char* value(const ::launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); } 00263 static const uint64_t static_value1 = 0x4fe5af303955c287ULL; 00264 static const uint64_t static_value2 = 0x688e7347e9b00278ULL; 00265 }; 00266 00267 template<class ContainerAllocator> 00268 struct DataType< ::launchman::StartTaskResponse_<ContainerAllocator> > { 00269 static const char* value() 00270 { 00271 return "launchman/StartTaskResponse"; 00272 } 00273 00274 static const char* value(const ::launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); } 00275 }; 00276 00277 template<class ContainerAllocator> 00278 struct Definition< ::launchman::StartTaskResponse_<ContainerAllocator> > { 00279 static const char* value() 00280 { 00281 return "string status\n\ 00282 \n\ 00283 \n\ 00284 "; 00285 } 00286 00287 static const char* value(const ::launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); } 00288 }; 00289 00290 } // namespace message_traits 00291 } // namespace ros 00292 00293 namespace ros 00294 { 00295 namespace serialization 00296 { 00297 00298 template<class ContainerAllocator> struct Serializer< ::launchman::StartTaskRequest_<ContainerAllocator> > 00299 { 00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00301 { 00302 stream.next(m.taskid); 00303 stream.next(m.username); 00304 } 00305 00306 ROS_DECLARE_ALLINONE_SERIALIZER; 00307 }; // struct StartTaskRequest_ 00308 } // namespace serialization 00309 } // namespace ros 00310 00311 00312 namespace ros 00313 { 00314 namespace serialization 00315 { 00316 00317 template<class ContainerAllocator> struct Serializer< ::launchman::StartTaskResponse_<ContainerAllocator> > 00318 { 00319 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00320 { 00321 stream.next(m.status); 00322 } 00323 00324 ROS_DECLARE_ALLINONE_SERIALIZER; 00325 }; // struct StartTaskResponse_ 00326 } // namespace serialization 00327 } // namespace ros 00328 00329 namespace ros 00330 { 00331 namespace service_traits 00332 { 00333 template<> 00334 struct MD5Sum<launchman::StartTask> { 00335 static const char* value() 00336 { 00337 return "a7f7c2a0ff94dc94508b68c526bc0b69"; 00338 } 00339 00340 static const char* value(const launchman::StartTask&) { return value(); } 00341 }; 00342 00343 template<> 00344 struct DataType<launchman::StartTask> { 00345 static const char* value() 00346 { 00347 return "launchman/StartTask"; 00348 } 00349 00350 static const char* value(const launchman::StartTask&) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct MD5Sum<launchman::StartTaskRequest_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "a7f7c2a0ff94dc94508b68c526bc0b69"; 00358 } 00359 00360 static const char* value(const launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct DataType<launchman::StartTaskRequest_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "launchman/StartTask"; 00368 } 00369 00370 static const char* value(const launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct MD5Sum<launchman::StartTaskResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "a7f7c2a0ff94dc94508b68c526bc0b69"; 00378 } 00379 00380 static const char* value(const launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 template<class ContainerAllocator> 00384 struct DataType<launchman::StartTaskResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "launchman/StartTask"; 00388 } 00389 00390 static const char* value(const launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); } 00391 }; 00392 00393 } // namespace service_traits 00394 } // namespace ros 00395 00396 #endif // LAUNCHMAN_SERVICE_STARTTASK_H 00397