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