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