Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::cob_object_detection_msgs::BagTrainObjectRequest_<std::allocator<void> > BagTrainObjectRequest;
00049
00050 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest> BagTrainObjectRequestPtr;
00051 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectRequest const> BagTrainObjectRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct BagTrainObjectResponse_ {
00056 typedef BagTrainObjectResponse_<ContainerAllocator> Type;
00057
00058 BagTrainObjectResponse_()
00059 : trained()
00060 {
00061 }
00062
00063 BagTrainObjectResponse_(const ContainerAllocator& _alloc)
00064 : trained(_alloc)
00065 {
00066 }
00067
00068 typedef ::std_msgs::String_<ContainerAllocator> _trained_type;
00069 ::std_msgs::String_<ContainerAllocator> trained;
00070
00071
00072 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::cob_object_detection_msgs::BagTrainObjectResponse_<std::allocator<void> > BagTrainObjectResponse;
00077
00078 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse> BagTrainObjectResponsePtr;
00079 typedef boost::shared_ptr< ::cob_object_detection_msgs::BagTrainObjectResponse const> BagTrainObjectResponseConstPtr;
00080
00081 struct BagTrainObject
00082 {
00083
00084 typedef BagTrainObjectRequest Request;
00085 typedef BagTrainObjectResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "adb33ef101026c3e15d799e3decf403f";
00105 }
00106
00107 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xadb33ef101026c3eULL;
00109 static const uint64_t static_value2 = 0x15d799e3decf403fULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "cob_object_detection_msgs/BagTrainObjectRequest";
00117 }
00118
00119 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "std_msgs/String object_name\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/String\n\
00130 string data\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "a94192f68364f039ed20f2ad560e48fd";
00153 }
00154
00155 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0xa94192f68364f039ULL;
00157 static const uint64_t static_value2 = 0xed20f2ad560e48fdULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "cob_object_detection_msgs/BagTrainObjectResponse";
00165 }
00166
00167 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "std_msgs/String trained\n\
00175 \n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: std_msgs/String\n\
00179 string data\n\
00180 \n\
00181 ";
00182 }
00183
00184 static const char* value(const ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 }
00188 }
00189
00190 namespace ros
00191 {
00192 namespace serialization
00193 {
00194
00195 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> >
00196 {
00197 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00198 {
00199 stream.next(m.object_name);
00200 }
00201
00202 ROS_DECLARE_ALLINONE_SERIALIZER;
00203 };
00204 }
00205 }
00206
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.trained);
00218 }
00219
00220 ROS_DECLARE_ALLINONE_SERIALIZER;
00221 };
00222 }
00223 }
00224
00225 namespace ros
00226 {
00227 namespace service_traits
00228 {
00229 template<>
00230 struct MD5Sum<cob_object_detection_msgs::BagTrainObject> {
00231 static const char* value()
00232 {
00233 return "e054914e8be752a53cf516ce4c1d583c";
00234 }
00235
00236 static const char* value(const cob_object_detection_msgs::BagTrainObject&) { return value(); }
00237 };
00238
00239 template<>
00240 struct DataType<cob_object_detection_msgs::BagTrainObject> {
00241 static const char* value()
00242 {
00243 return "cob_object_detection_msgs/BagTrainObject";
00244 }
00245
00246 static const char* value(const cob_object_detection_msgs::BagTrainObject&) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct MD5Sum<cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "e054914e8be752a53cf516ce4c1d583c";
00254 }
00255
00256 static const char* value(const cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct DataType<cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "cob_object_detection_msgs/BagTrainObject";
00264 }
00265
00266 static const char* value(const cob_object_detection_msgs::BagTrainObjectRequest_<ContainerAllocator> &) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct MD5Sum<cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "e054914e8be752a53cf516ce4c1d583c";
00274 }
00275
00276 static const char* value(const cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct DataType<cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "cob_object_detection_msgs/BagTrainObject";
00284 }
00285
00286 static const char* value(const cob_object_detection_msgs::BagTrainObjectResponse_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 }
00290 }
00291
00292 #endif // COB_OBJECT_DETECTION_MSGS_SERVICE_BAGTRAINOBJECT_H
00293