00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/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 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > Ptr; 00043 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> const> ConstPtr; 00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00045 }; // struct AddModelExclusionRequest 00046 typedef ::tabletop_object_detector::AddModelExclusionRequest_<std::allocator<void> > AddModelExclusionRequest; 00047 00048 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionRequest> AddModelExclusionRequestPtr; 00049 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionRequest const> AddModelExclusionRequestConstPtr; 00050 00051 00052 00053 template <class ContainerAllocator> 00054 struct AddModelExclusionResponse_ { 00055 typedef AddModelExclusionResponse_<ContainerAllocator> Type; 00056 00057 AddModelExclusionResponse_() 00058 { 00059 } 00060 00061 AddModelExclusionResponse_(const ContainerAllocator& _alloc) 00062 { 00063 } 00064 00065 00066 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > Ptr; 00067 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> const> ConstPtr; 00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00069 }; // struct AddModelExclusionResponse 00070 typedef ::tabletop_object_detector::AddModelExclusionResponse_<std::allocator<void> > AddModelExclusionResponse; 00071 00072 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionResponse> AddModelExclusionResponsePtr; 00073 typedef boost::shared_ptr< ::tabletop_object_detector::AddModelExclusionResponse const> AddModelExclusionResponseConstPtr; 00074 00075 00076 struct AddModelExclusion 00077 { 00078 00079 typedef AddModelExclusionRequest Request; 00080 typedef AddModelExclusionResponse Response; 00081 Request request; 00082 Response response; 00083 00084 typedef Request RequestType; 00085 typedef Response ResponseType; 00086 }; // struct AddModelExclusion 00087 } // namespace tabletop_object_detector 00088 00089 namespace ros 00090 { 00091 namespace message_traits 00092 { 00093 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > : public TrueType {}; 00094 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> const> : public TrueType {}; 00095 template<class ContainerAllocator> 00096 struct MD5Sum< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > { 00097 static const char* value() 00098 { 00099 return "28cb0598daf3b969068a38cd07aaa9f6"; 00100 } 00101 00102 static const char* value(const ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> &) { return value(); } 00103 static const uint64_t static_value1 = 0x28cb0598daf3b969ULL; 00104 static const uint64_t static_value2 = 0x068a38cd07aaa9f6ULL; 00105 }; 00106 00107 template<class ContainerAllocator> 00108 struct DataType< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > { 00109 static const char* value() 00110 { 00111 return "tabletop_object_detector/AddModelExclusionRequest"; 00112 } 00113 00114 static const char* value(const ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> &) { return value(); } 00115 }; 00116 00117 template<class ContainerAllocator> 00118 struct Definition< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > { 00119 static const char* value() 00120 { 00121 return "\n\ 00122 int32 model_id\n\ 00123 \n\ 00124 "; 00125 } 00126 00127 static const char* value(const ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> &) { return value(); } 00128 }; 00129 00130 template<class ContainerAllocator> struct IsFixedSize< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > : public TrueType {}; 00131 } // namespace message_traits 00132 } // namespace ros 00133 00134 00135 namespace ros 00136 { 00137 namespace message_traits 00138 { 00139 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > : public TrueType {}; 00140 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> const> : public TrueType {}; 00141 template<class ContainerAllocator> 00142 struct MD5Sum< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > { 00143 static const char* value() 00144 { 00145 return "d41d8cd98f00b204e9800998ecf8427e"; 00146 } 00147 00148 static const char* value(const ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> &) { return value(); } 00149 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00150 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00151 }; 00152 00153 template<class ContainerAllocator> 00154 struct DataType< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "tabletop_object_detector/AddModelExclusionResponse"; 00158 } 00159 00160 static const char* value(const ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> &) { return value(); } 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct Definition< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "\n\ 00168 \n\ 00169 \n\ 00170 "; 00171 } 00172 00173 static const char* value(const ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> &) { return value(); } 00174 }; 00175 00176 template<class ContainerAllocator> struct IsFixedSize< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > : public TrueType {}; 00177 } // namespace message_traits 00178 } // namespace ros 00179 00180 namespace ros 00181 { 00182 namespace serialization 00183 { 00184 00185 template<class ContainerAllocator> struct Serializer< ::tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > 00186 { 00187 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00188 { 00189 stream.next(m.model_id); 00190 } 00191 00192 ROS_DECLARE_ALLINONE_SERIALIZER; 00193 }; // struct AddModelExclusionRequest_ 00194 } // namespace serialization 00195 } // namespace ros 00196 00197 00198 namespace ros 00199 { 00200 namespace serialization 00201 { 00202 00203 template<class ContainerAllocator> struct Serializer< ::tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > 00204 { 00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00206 { 00207 } 00208 00209 ROS_DECLARE_ALLINONE_SERIALIZER; 00210 }; // struct AddModelExclusionResponse_ 00211 } // namespace serialization 00212 } // namespace ros 00213 00214 namespace ros 00215 { 00216 namespace service_traits 00217 { 00218 template<> 00219 struct MD5Sum<tabletop_object_detector::AddModelExclusion> { 00220 static const char* value() 00221 { 00222 return "28cb0598daf3b969068a38cd07aaa9f6"; 00223 } 00224 00225 static const char* value(const tabletop_object_detector::AddModelExclusion&) { return value(); } 00226 }; 00227 00228 template<> 00229 struct DataType<tabletop_object_detector::AddModelExclusion> { 00230 static const char* value() 00231 { 00232 return "tabletop_object_detector/AddModelExclusion"; 00233 } 00234 00235 static const char* value(const tabletop_object_detector::AddModelExclusion&) { return value(); } 00236 }; 00237 00238 template<class ContainerAllocator> 00239 struct MD5Sum<tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > { 00240 static const char* value() 00241 { 00242 return "28cb0598daf3b969068a38cd07aaa9f6"; 00243 } 00244 00245 static const char* value(const tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> &) { return value(); } 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct DataType<tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "tabletop_object_detector/AddModelExclusion"; 00253 } 00254 00255 static const char* value(const tabletop_object_detector::AddModelExclusionRequest_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct MD5Sum<tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "28cb0598daf3b969068a38cd07aaa9f6"; 00263 } 00264 00265 static const char* value(const tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> &) { return value(); } 00266 }; 00267 00268 template<class ContainerAllocator> 00269 struct DataType<tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "tabletop_object_detector/AddModelExclusion"; 00273 } 00274 00275 static const char* value(const tabletop_object_detector::AddModelExclusionResponse_<ContainerAllocator> &) { return value(); } 00276 }; 00277 00278 } // namespace service_traits 00279 } // namespace ros 00280 00281 #endif // TABLETOP_OBJECT_DETECTOR_SERVICE_ADDMODELEXCLUSION_H 00282