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