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