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