$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_object_perception/doc_stacks/2013-03-01_14-45-40.878742/cob_object_perception/cob_object_detection_msgs/srv/BagTrainObject.srv */ 00002 #ifndef COB_OBJECT_DETECTION_MSGS_SERVICE_BAGTRAINOBJECT_H 00003 #define COB_OBJECT_DETECTION_MSGS_SERVICE_BAGTRAINOBJECT_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 #include "std_msgs/String.h" 00020 00021 00022 #include "std_msgs/String.h" 00023 00024 namespace cob_object_detection_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct BagTrainObjectRequest_ { 00028 typedef BagTrainObjectRequest_<ContainerAllocator> Type; 00029 00030 BagTrainObjectRequest_() 00031 : object_name() 00032 { 00033 } 00034 00035 BagTrainObjectRequest_(const ContainerAllocator& _alloc) 00036 : object_name(_alloc) 00037 { 00038 } 00039 00040 typedef ::std_msgs::String_<ContainerAllocator> _object_name_type; 00041 ::std_msgs::String_<ContainerAllocator> object_name; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "cob_object_detection_msgs/BagTrainObjectRequest"; } 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 "adb33ef101026c3e15d799e3decf403f"; } 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 "e054914e8be752a53cf516ce4c1d583c"; } 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 "std_msgs/String object_name\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: std_msgs/String\n\ 00070 string data\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, object_name); 00082 return stream.getData(); 00083 } 00084 00085 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00086 { 00087 ros::serialization::IStream stream(read_ptr, 1000000000); 00088 ros::serialization::deserialize(stream, object_name); 00089 return stream.getData(); 00090 } 00091 00092 ROS_DEPRECATED virtual uint32_t serializationLength() const 00093 { 00094 uint32_t size = 0; 00095 size += ros::serialization::serializationLength(object_name); 00096 return size; 00097 } 00098 00099 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > Ptr; 00100 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> const> ConstPtr; 00101 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00102 }; // struct BagTrainObjectRequest 00103 typedef ::cob_object_detection_msgs::BagTrainObjectRequest_<std::allocator<void> > BagTrainObjectRequest; 00104 00105 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest> BagTrainObjectRequestPtr; 00106 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest const> BagTrainObjectRequestConstPtr; 00107 00108 00109 template <class ContainerAllocator> 00110 struct BagTrainObjectResponse_ { 00111 typedef BagTrainObjectResponse_<ContainerAllocator> Type; 00112 00113 BagTrainObjectResponse_() 00114 : trained() 00115 { 00116 } 00117 00118 BagTrainObjectResponse_(const ContainerAllocator& _alloc) 00119 : trained(_alloc) 00120 { 00121 } 00122 00123 typedef ::std_msgs::String_<ContainerAllocator> _trained_type; 00124 ::std_msgs::String_<ContainerAllocator> trained; 00125 00126 00127 private: 00128 static const char* __s_getDataType_() { return "cob_object_detection_msgs/BagTrainObjectResponse"; } 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 "a94192f68364f039ed20f2ad560e48fd"; } 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 "e054914e8be752a53cf516ce4c1d583c"; } 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 "std_msgs/String trained\n\ 00150 \n\ 00151 \n\ 00152 ================================================================================\n\ 00153 MSG: std_msgs/String\n\ 00154 string data\n\ 00155 \n\ 00156 "; } 00157 public: 00158 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00159 00160 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00161 00162 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00163 { 00164 ros::serialization::OStream stream(write_ptr, 1000000000); 00165 ros::serialization::serialize(stream, trained); 00166 return stream.getData(); 00167 } 00168 00169 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00170 { 00171 ros::serialization::IStream stream(read_ptr, 1000000000); 00172 ros::serialization::deserialize(stream, trained); 00173 return stream.getData(); 00174 } 00175 00176 ROS_DEPRECATED virtual uint32_t serializationLength() const 00177 { 00178 uint32_t size = 0; 00179 size += ros::serialization::serializationLength(trained); 00180 return size; 00181 } 00182 00183 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > Ptr; 00184 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> const> ConstPtr; 00185 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00186 }; // struct BagTrainObjectResponse 00187 typedef ::cob_object_detection_msgs::BagTrainObjectResponse_<std::allocator<void> > BagTrainObjectResponse; 00188 00189 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse> BagTrainObjectResponsePtr; 00190 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse const> BagTrainObjectResponseConstPtr; 00191 00192 struct BagTrainObject 00193 { 00194 00195 typedef BagTrainObjectRequest Request; 00196 typedef BagTrainObjectResponse Response; 00197 Request request; 00198 Response response; 00199 00200 typedef Request RequestType; 00201 typedef Response ResponseType; 00202 }; // struct BagTrainObject 00203 } // namespace cob_object_detection_msgs 00204 00205 namespace ros 00206 { 00207 namespace message_traits 00208 { 00209 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > : public TrueType {}; 00210 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> const> : public TrueType {}; 00211 template<class ContainerAllocator> 00212 struct MD5Sum< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > { 00213 static const char* value() 00214 { 00215 return "adb33ef101026c3e15d799e3decf403f"; 00216 } 00217 00218 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); } 00219 static const uint64_t static_value1 = 0xadb33ef101026c3eULL; 00220 static const uint64_t static_value2 = 0x15d799e3decf403fULL; 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct DataType< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "cob_object_detection_msgs/BagTrainObjectRequest"; 00228 } 00229 00230 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); } 00231 }; 00232 00233 template<class ContainerAllocator> 00234 struct Definition< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > { 00235 static const char* value() 00236 { 00237 return "std_msgs/String object_name\n\ 00238 \n\ 00239 ================================================================================\n\ 00240 MSG: std_msgs/String\n\ 00241 string data\n\ 00242 \n\ 00243 "; 00244 } 00245 00246 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); } 00247 }; 00248 00249 } // namespace message_traits 00250 } // namespace ros 00251 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "a94192f68364f039ed20f2ad560e48fd"; 00264 } 00265 00266 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0xa94192f68364f039ULL; 00268 static const uint64_t static_value2 = 0xed20f2ad560e48fdULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "cob_object_detection_msgs/BagTrainObjectResponse"; 00276 } 00277 00278 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "std_msgs/String trained\n\ 00286 \n\ 00287 \n\ 00288 ================================================================================\n\ 00289 MSG: std_msgs/String\n\ 00290 string data\n\ 00291 \n\ 00292 "; 00293 } 00294 00295 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); } 00296 }; 00297 00298 } // namespace message_traits 00299 } // namespace ros 00300 00301 namespace ros 00302 { 00303 namespace serialization 00304 { 00305 00306 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > 00307 { 00308 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00309 { 00310 stream.next(m.object_name); 00311 } 00312 00313 ROS_DECLARE_ALLINONE_SERIALIZER; 00314 }; // struct BagTrainObjectRequest_ 00315 } // namespace serialization 00316 } // namespace ros 00317 00318 00319 namespace ros 00320 { 00321 namespace serialization 00322 { 00323 00324 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > 00325 { 00326 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00327 { 00328 stream.next(m.trained); 00329 } 00330 00331 ROS_DECLARE_ALLINONE_SERIALIZER; 00332 }; // struct BagTrainObjectResponse_ 00333 } // namespace serialization 00334 } // namespace ros 00335 00336 namespace ros 00337 { 00338 namespace service_traits 00339 { 00340 template<> 00341 struct MD5Sum<cob_object_detection_msgs::BagTrainObject> { 00342 static const char* value() 00343 { 00344 return "e054914e8be752a53cf516ce4c1d583c"; 00345 } 00346 00347 static const char* value(const cob_object_detection_msgs::BagTrainObject&) { return value(); } 00348 }; 00349 00350 template<> 00351 struct DataType<cob_object_detection_msgs::BagTrainObject> { 00352 static const char* value() 00353 { 00354 return "cob_object_detection_msgs/BagTrainObject"; 00355 } 00356 00357 static const char* value(const cob_object_detection_msgs::BagTrainObject&) { return value(); } 00358 }; 00359 00360 template<class ContainerAllocator> 00361 struct MD5Sum<cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > { 00362 static const char* value() 00363 { 00364 return "e054914e8be752a53cf516ce4c1d583c"; 00365 } 00366 00367 static const char* value(const cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); } 00368 }; 00369 00370 template<class ContainerAllocator> 00371 struct DataType<cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > { 00372 static const char* value() 00373 { 00374 return "cob_object_detection_msgs/BagTrainObject"; 00375 } 00376 00377 static const char* value(const cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); } 00378 }; 00379 00380 template<class ContainerAllocator> 00381 struct MD5Sum<cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > { 00382 static const char* value() 00383 { 00384 return "e054914e8be752a53cf516ce4c1d583c"; 00385 } 00386 00387 static const char* value(const cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); } 00388 }; 00389 00390 template<class ContainerAllocator> 00391 struct DataType<cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > { 00392 static const char* value() 00393 { 00394 return "cob_object_detection_msgs/BagTrainObject"; 00395 } 00396 00397 static const char* value(const cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); } 00398 }; 00399 00400 } // namespace service_traits 00401 } // namespace ros 00402 00403 #endif // COB_OBJECT_DETECTION_MSGS_SERVICE_BAGTRAINOBJECT_H 00404