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