$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_common/doc_stacks/2013-03-02_13-44-44.967682/srs_common/srs_object_database_msgs/srv/GetObjectId.srv */ 00002 #ifndef SRS_OBJECT_DATABASE_MSGS_SERVICE_GETOBJECTID_H 00003 #define SRS_OBJECT_DATABASE_MSGS_SERVICE_GETOBJECTID_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 srs_object_database_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct GetObjectIdRequest_ { 00026 typedef GetObjectIdRequest_<ContainerAllocator> Type; 00027 00028 GetObjectIdRequest_() 00029 : type() 00030 , item() 00031 { 00032 } 00033 00034 GetObjectIdRequest_(const ContainerAllocator& _alloc) 00035 : type(_alloc) 00036 , item(_alloc) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type; 00042 00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _item_type; 00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > item; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "srs_object_database_msgs/GetObjectIdRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "a10cc611c498c0243a6ab6d33b407956"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "da04346db6b247535564f8d406b33256"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "\n\ 00070 \n\ 00071 \n\ 00072 \n\ 00073 \n\ 00074 string type\n\ 00075 \n\ 00076 string item\n\ 00077 \n\ 00078 \n\ 00079 "; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00082 00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00086 { 00087 ros::serialization::OStream stream(write_ptr, 1000000000); 00088 ros::serialization::serialize(stream, type); 00089 ros::serialization::serialize(stream, item); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00094 { 00095 ros::serialization::IStream stream(read_ptr, 1000000000); 00096 ros::serialization::deserialize(stream, type); 00097 ros::serialization::deserialize(stream, item); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint32_t serializationLength() const 00102 { 00103 uint32_t size = 0; 00104 size += ros::serialization::serializationLength(type); 00105 size += ros::serialization::serializationLength(item); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct GetObjectIdRequest 00113 typedef ::srs_object_database_msgs::GetObjectIdRequest_<std::allocator<void> > GetObjectIdRequest; 00114 00115 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest> GetObjectIdRequestPtr; 00116 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest const> GetObjectIdRequestConstPtr; 00117 00118 00119 template <class ContainerAllocator> 00120 struct GetObjectIdResponse_ { 00121 typedef GetObjectIdResponse_<ContainerAllocator> Type; 00122 00123 GetObjectIdResponse_() 00124 : return_response() 00125 , model_ids() 00126 , model_desc() 00127 , version() 00128 , model_category() 00129 , graspable() 00130 , model_x_size() 00131 , model_y_size() 00132 , model_z_size() 00133 , model_basic_shape() 00134 { 00135 } 00136 00137 GetObjectIdResponse_(const ContainerAllocator& _alloc) 00138 : return_response(_alloc) 00139 , model_ids(_alloc) 00140 , model_desc(_alloc) 00141 , version(_alloc) 00142 , model_category(_alloc) 00143 , graspable(_alloc) 00144 , model_x_size(_alloc) 00145 , model_y_size(_alloc) 00146 , model_z_size(_alloc) 00147 , model_basic_shape(_alloc) 00148 { 00149 } 00150 00151 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _return_response_type; 00152 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > return_response; 00153 00154 typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _model_ids_type; 00155 std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > model_ids; 00156 00157 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _model_desc_type; 00158 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > model_desc; 00159 00160 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _version_type; 00161 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > version; 00162 00163 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _model_category_type; 00164 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > model_category; 00165 00166 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _graspable_type; 00167 std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > graspable; 00168 00169 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _model_x_size_type; 00170 std::vector<float, typename ContainerAllocator::template rebind<float>::other > model_x_size; 00171 00172 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _model_y_size_type; 00173 std::vector<float, typename ContainerAllocator::template rebind<float>::other > model_y_size; 00174 00175 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _model_z_size_type; 00176 std::vector<float, typename ContainerAllocator::template rebind<float>::other > model_z_size; 00177 00178 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _model_basic_shape_type; 00179 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > model_basic_shape; 00180 00181 00182 ROS_DEPRECATED uint32_t get_model_ids_size() const { return (uint32_t)model_ids.size(); } 00183 ROS_DEPRECATED void set_model_ids_size(uint32_t size) { model_ids.resize((size_t)size); } 00184 ROS_DEPRECATED void get_model_ids_vec(std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) const { vec = this->model_ids; } 00185 ROS_DEPRECATED void set_model_ids_vec(const std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) { this->model_ids = vec; } 00186 ROS_DEPRECATED uint32_t get_model_desc_size() const { return (uint32_t)model_desc.size(); } 00187 ROS_DEPRECATED void set_model_desc_size(uint32_t size) { model_desc.resize((size_t)size); } 00188 ROS_DEPRECATED void get_model_desc_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->model_desc; } 00189 ROS_DEPRECATED void set_model_desc_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->model_desc = vec; } 00190 ROS_DEPRECATED uint32_t get_version_size() const { return (uint32_t)version.size(); } 00191 ROS_DEPRECATED void set_version_size(uint32_t size) { version.resize((size_t)size); } 00192 ROS_DEPRECATED void get_version_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->version; } 00193 ROS_DEPRECATED void set_version_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->version = vec; } 00194 ROS_DEPRECATED uint32_t get_model_category_size() const { return (uint32_t)model_category.size(); } 00195 ROS_DEPRECATED void set_model_category_size(uint32_t size) { model_category.resize((size_t)size); } 00196 ROS_DEPRECATED void get_model_category_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->model_category; } 00197 ROS_DEPRECATED void set_model_category_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->model_category = vec; } 00198 ROS_DEPRECATED uint32_t get_graspable_size() const { return (uint32_t)graspable.size(); } 00199 ROS_DEPRECATED void set_graspable_size(uint32_t size) { graspable.resize((size_t)size); } 00200 ROS_DEPRECATED void get_graspable_vec(std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > & vec) const { vec = this->graspable; } 00201 ROS_DEPRECATED void set_graspable_vec(const std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > & vec) { this->graspable = vec; } 00202 ROS_DEPRECATED uint32_t get_model_x_size_size() const { return (uint32_t)model_x_size.size(); } 00203 ROS_DEPRECATED void set_model_x_size_size(uint32_t size) { model_x_size.resize((size_t)size); } 00204 ROS_DEPRECATED void get_model_x_size_vec(std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) const { vec = this->model_x_size; } 00205 ROS_DEPRECATED void set_model_x_size_vec(const std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) { this->model_x_size = vec; } 00206 ROS_DEPRECATED uint32_t get_model_y_size_size() const { return (uint32_t)model_y_size.size(); } 00207 ROS_DEPRECATED void set_model_y_size_size(uint32_t size) { model_y_size.resize((size_t)size); } 00208 ROS_DEPRECATED void get_model_y_size_vec(std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) const { vec = this->model_y_size; } 00209 ROS_DEPRECATED void set_model_y_size_vec(const std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) { this->model_y_size = vec; } 00210 ROS_DEPRECATED uint32_t get_model_z_size_size() const { return (uint32_t)model_z_size.size(); } 00211 ROS_DEPRECATED void set_model_z_size_size(uint32_t size) { model_z_size.resize((size_t)size); } 00212 ROS_DEPRECATED void get_model_z_size_vec(std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) const { vec = this->model_z_size; } 00213 ROS_DEPRECATED void set_model_z_size_vec(const std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) { this->model_z_size = vec; } 00214 ROS_DEPRECATED uint32_t get_model_basic_shape_size() const { return (uint32_t)model_basic_shape.size(); } 00215 ROS_DEPRECATED void set_model_basic_shape_size(uint32_t size) { model_basic_shape.resize((size_t)size); } 00216 ROS_DEPRECATED void get_model_basic_shape_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->model_basic_shape; } 00217 ROS_DEPRECATED void set_model_basic_shape_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->model_basic_shape = vec; } 00218 private: 00219 static const char* __s_getDataType_() { return "srs_object_database_msgs/GetObjectIdResponse"; } 00220 public: 00221 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00222 00223 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00224 00225 private: 00226 static const char* __s_getMD5Sum_() { return "28c1f9c30f6beebadf0ced5cfa630c49"; } 00227 public: 00228 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00229 00230 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00231 00232 private: 00233 static const char* __s_getServerMD5Sum_() { return "da04346db6b247535564f8d406b33256"; } 00234 public: 00235 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00236 00237 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00238 00239 private: 00240 static const char* __s_getMessageDefinition_() { return "\n\ 00241 \n\ 00242 string return_response\n\ 00243 \n\ 00244 \n\ 00245 int32[] model_ids\n\ 00246 \n\ 00247 \n\ 00248 string[] model_desc\n\ 00249 \n\ 00250 \n\ 00251 string[] version\n\ 00252 \n\ 00253 \n\ 00254 string[] model_category\n\ 00255 \n\ 00256 \n\ 00257 bool[] graspable\n\ 00258 \n\ 00259 \n\ 00260 float32[] model_x_size\n\ 00261 \n\ 00262 \n\ 00263 float32[] model_y_size\n\ 00264 \n\ 00265 \n\ 00266 float32[] model_z_size\n\ 00267 \n\ 00268 \n\ 00269 string[] model_basic_shape\n\ 00270 \n\ 00271 \n\ 00272 "; } 00273 public: 00274 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00275 00276 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00277 00278 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00279 { 00280 ros::serialization::OStream stream(write_ptr, 1000000000); 00281 ros::serialization::serialize(stream, return_response); 00282 ros::serialization::serialize(stream, model_ids); 00283 ros::serialization::serialize(stream, model_desc); 00284 ros::serialization::serialize(stream, version); 00285 ros::serialization::serialize(stream, model_category); 00286 ros::serialization::serialize(stream, graspable); 00287 ros::serialization::serialize(stream, model_x_size); 00288 ros::serialization::serialize(stream, model_y_size); 00289 ros::serialization::serialize(stream, model_z_size); 00290 ros::serialization::serialize(stream, model_basic_shape); 00291 return stream.getData(); 00292 } 00293 00294 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00295 { 00296 ros::serialization::IStream stream(read_ptr, 1000000000); 00297 ros::serialization::deserialize(stream, return_response); 00298 ros::serialization::deserialize(stream, model_ids); 00299 ros::serialization::deserialize(stream, model_desc); 00300 ros::serialization::deserialize(stream, version); 00301 ros::serialization::deserialize(stream, model_category); 00302 ros::serialization::deserialize(stream, graspable); 00303 ros::serialization::deserialize(stream, model_x_size); 00304 ros::serialization::deserialize(stream, model_y_size); 00305 ros::serialization::deserialize(stream, model_z_size); 00306 ros::serialization::deserialize(stream, model_basic_shape); 00307 return stream.getData(); 00308 } 00309 00310 ROS_DEPRECATED virtual uint32_t serializationLength() const 00311 { 00312 uint32_t size = 0; 00313 size += ros::serialization::serializationLength(return_response); 00314 size += ros::serialization::serializationLength(model_ids); 00315 size += ros::serialization::serializationLength(model_desc); 00316 size += ros::serialization::serializationLength(version); 00317 size += ros::serialization::serializationLength(model_category); 00318 size += ros::serialization::serializationLength(graspable); 00319 size += ros::serialization::serializationLength(model_x_size); 00320 size += ros::serialization::serializationLength(model_y_size); 00321 size += ros::serialization::serializationLength(model_z_size); 00322 size += ros::serialization::serializationLength(model_basic_shape); 00323 return size; 00324 } 00325 00326 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > Ptr; 00327 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> const> ConstPtr; 00328 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00329 }; // struct GetObjectIdResponse 00330 typedef ::srs_object_database_msgs::GetObjectIdResponse_<std::allocator<void> > GetObjectIdResponse; 00331 00332 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse> GetObjectIdResponsePtr; 00333 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse const> GetObjectIdResponseConstPtr; 00334 00335 struct GetObjectId 00336 { 00337 00338 typedef GetObjectIdRequest Request; 00339 typedef GetObjectIdResponse Response; 00340 Request request; 00341 Response response; 00342 00343 typedef Request RequestType; 00344 typedef Response ResponseType; 00345 }; // struct GetObjectId 00346 } // namespace srs_object_database_msgs 00347 00348 namespace ros 00349 { 00350 namespace message_traits 00351 { 00352 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > : public TrueType {}; 00353 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> const> : public TrueType {}; 00354 template<class ContainerAllocator> 00355 struct MD5Sum< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > { 00356 static const char* value() 00357 { 00358 return "a10cc611c498c0243a6ab6d33b407956"; 00359 } 00360 00361 static const char* value(const ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 00362 static const uint64_t static_value1 = 0xa10cc611c498c024ULL; 00363 static const uint64_t static_value2 = 0x3a6ab6d33b407956ULL; 00364 }; 00365 00366 template<class ContainerAllocator> 00367 struct DataType< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > { 00368 static const char* value() 00369 { 00370 return "srs_object_database_msgs/GetObjectIdRequest"; 00371 } 00372 00373 static const char* value(const ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 00374 }; 00375 00376 template<class ContainerAllocator> 00377 struct Definition< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > { 00378 static const char* value() 00379 { 00380 return "\n\ 00381 \n\ 00382 \n\ 00383 \n\ 00384 \n\ 00385 string type\n\ 00386 \n\ 00387 string item\n\ 00388 \n\ 00389 \n\ 00390 "; 00391 } 00392 00393 static const char* value(const ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 00394 }; 00395 00396 } // namespace message_traits 00397 } // namespace ros 00398 00399 00400 namespace ros 00401 { 00402 namespace message_traits 00403 { 00404 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > : public TrueType {}; 00405 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> const> : public TrueType {}; 00406 template<class ContainerAllocator> 00407 struct MD5Sum< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > { 00408 static const char* value() 00409 { 00410 return "28c1f9c30f6beebadf0ced5cfa630c49"; 00411 } 00412 00413 static const char* value(const ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 00414 static const uint64_t static_value1 = 0x28c1f9c30f6beebaULL; 00415 static const uint64_t static_value2 = 0xdf0ced5cfa630c49ULL; 00416 }; 00417 00418 template<class ContainerAllocator> 00419 struct DataType< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > { 00420 static const char* value() 00421 { 00422 return "srs_object_database_msgs/GetObjectIdResponse"; 00423 } 00424 00425 static const char* value(const ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 00426 }; 00427 00428 template<class ContainerAllocator> 00429 struct Definition< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > { 00430 static const char* value() 00431 { 00432 return "\n\ 00433 \n\ 00434 string return_response\n\ 00435 \n\ 00436 \n\ 00437 int32[] model_ids\n\ 00438 \n\ 00439 \n\ 00440 string[] model_desc\n\ 00441 \n\ 00442 \n\ 00443 string[] version\n\ 00444 \n\ 00445 \n\ 00446 string[] model_category\n\ 00447 \n\ 00448 \n\ 00449 bool[] graspable\n\ 00450 \n\ 00451 \n\ 00452 float32[] model_x_size\n\ 00453 \n\ 00454 \n\ 00455 float32[] model_y_size\n\ 00456 \n\ 00457 \n\ 00458 float32[] model_z_size\n\ 00459 \n\ 00460 \n\ 00461 string[] model_basic_shape\n\ 00462 \n\ 00463 \n\ 00464 "; 00465 } 00466 00467 static const char* value(const ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 00468 }; 00469 00470 } // namespace message_traits 00471 } // namespace ros 00472 00473 namespace ros 00474 { 00475 namespace serialization 00476 { 00477 00478 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > 00479 { 00480 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00481 { 00482 stream.next(m.type); 00483 stream.next(m.item); 00484 } 00485 00486 ROS_DECLARE_ALLINONE_SERIALIZER; 00487 }; // struct GetObjectIdRequest_ 00488 } // namespace serialization 00489 } // namespace ros 00490 00491 00492 namespace ros 00493 { 00494 namespace serialization 00495 { 00496 00497 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > 00498 { 00499 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00500 { 00501 stream.next(m.return_response); 00502 stream.next(m.model_ids); 00503 stream.next(m.model_desc); 00504 stream.next(m.version); 00505 stream.next(m.model_category); 00506 stream.next(m.graspable); 00507 stream.next(m.model_x_size); 00508 stream.next(m.model_y_size); 00509 stream.next(m.model_z_size); 00510 stream.next(m.model_basic_shape); 00511 } 00512 00513 ROS_DECLARE_ALLINONE_SERIALIZER; 00514 }; // struct GetObjectIdResponse_ 00515 } // namespace serialization 00516 } // namespace ros 00517 00518 namespace ros 00519 { 00520 namespace service_traits 00521 { 00522 template<> 00523 struct MD5Sum<srs_object_database_msgs::GetObjectId> { 00524 static const char* value() 00525 { 00526 return "da04346db6b247535564f8d406b33256"; 00527 } 00528 00529 static const char* value(const srs_object_database_msgs::GetObjectId&) { return value(); } 00530 }; 00531 00532 template<> 00533 struct DataType<srs_object_database_msgs::GetObjectId> { 00534 static const char* value() 00535 { 00536 return "srs_object_database_msgs/GetObjectId"; 00537 } 00538 00539 static const char* value(const srs_object_database_msgs::GetObjectId&) { return value(); } 00540 }; 00541 00542 template<class ContainerAllocator> 00543 struct MD5Sum<srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > { 00544 static const char* value() 00545 { 00546 return "da04346db6b247535564f8d406b33256"; 00547 } 00548 00549 static const char* value(const srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 00550 }; 00551 00552 template<class ContainerAllocator> 00553 struct DataType<srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > { 00554 static const char* value() 00555 { 00556 return "srs_object_database_msgs/GetObjectId"; 00557 } 00558 00559 static const char* value(const srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 00560 }; 00561 00562 template<class ContainerAllocator> 00563 struct MD5Sum<srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > { 00564 static const char* value() 00565 { 00566 return "da04346db6b247535564f8d406b33256"; 00567 } 00568 00569 static const char* value(const srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 00570 }; 00571 00572 template<class ContainerAllocator> 00573 struct DataType<srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > { 00574 static const char* value() 00575 { 00576 return "srs_object_database_msgs/GetObjectId"; 00577 } 00578 00579 static const char* value(const srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 00580 }; 00581 00582 } // namespace service_traits 00583 } // namespace ros 00584 00585 #endif // SRS_OBJECT_DATABASE_MSGS_SERVICE_GETOBJECTID_H 00586