GetObjectId.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_common/doc_stacks/2013-11-27_14-12-02.710421/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   typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct GetObjectIdRequest
00051 typedef  ::srs_object_database_msgs::GetObjectIdRequest_<std::allocator<void> > GetObjectIdRequest;
00052 
00053 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest> GetObjectIdRequestPtr;
00054 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdRequest const> GetObjectIdRequestConstPtr;
00055 
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct GetObjectIdResponse_ {
00060   typedef GetObjectIdResponse_<ContainerAllocator> Type;
00061 
00062   GetObjectIdResponse_()
00063   : return_response()
00064   , model_ids()
00065   , model_desc()
00066   , version()
00067   , model_category()
00068   , graspable()
00069   , model_x_size()
00070   , model_y_size()
00071   , model_z_size()
00072   , model_basic_shape()
00073   {
00074   }
00075 
00076   GetObjectIdResponse_(const ContainerAllocator& _alloc)
00077   : return_response(_alloc)
00078   , model_ids(_alloc)
00079   , model_desc(_alloc)
00080   , version(_alloc)
00081   , model_category(_alloc)
00082   , graspable(_alloc)
00083   , model_x_size(_alloc)
00084   , model_y_size(_alloc)
00085   , model_z_size(_alloc)
00086   , model_basic_shape(_alloc)
00087   {
00088   }
00089 
00090   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _return_response_type;
00091   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  return_response;
00092 
00093   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _model_ids_type;
00094   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  model_ids;
00095 
00096   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;
00097   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;
00098 
00099   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;
00100   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;
00101 
00102   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;
00103   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;
00104 
00105   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _graspable_type;
00106   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  graspable;
00107 
00108   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _model_x_size_type;
00109   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  model_x_size;
00110 
00111   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _model_y_size_type;
00112   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  model_y_size;
00113 
00114   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _model_z_size_type;
00115   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  model_z_size;
00116 
00117   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;
00118   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;
00119 
00120 
00121   typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > Ptr;
00122   typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator>  const> ConstPtr;
00123   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00124 }; // struct GetObjectIdResponse
00125 typedef  ::srs_object_database_msgs::GetObjectIdResponse_<std::allocator<void> > GetObjectIdResponse;
00126 
00127 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse> GetObjectIdResponsePtr;
00128 typedef boost::shared_ptr< ::srs_object_database_msgs::GetObjectIdResponse const> GetObjectIdResponseConstPtr;
00129 
00130 
00131 struct GetObjectId
00132 {
00133 
00134 typedef GetObjectIdRequest Request;
00135 typedef GetObjectIdResponse Response;
00136 Request request;
00137 Response response;
00138 
00139 typedef Request RequestType;
00140 typedef Response ResponseType;
00141 }; // struct GetObjectId
00142 } // namespace srs_object_database_msgs
00143 
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator>  const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "a10cc611c498c0243a6ab6d33b407956";
00155   }
00156 
00157   static const char* value(const  ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 
00158   static const uint64_t static_value1 = 0xa10cc611c498c024ULL;
00159   static const uint64_t static_value2 = 0x3a6ab6d33b407956ULL;
00160 };
00161 
00162 template<class ContainerAllocator>
00163 struct DataType< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > {
00164   static const char* value() 
00165   {
00166     return "srs_object_database_msgs/GetObjectIdRequest";
00167   }
00168 
00169   static const char* value(const  ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 template<class ContainerAllocator>
00173 struct Definition< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > {
00174   static const char* value() 
00175   {
00176     return "\n\
00177 \n\
00178 \n\
00179 \n\
00180 \n\
00181 string type\n\
00182 \n\
00183 string item\n\
00184 \n\
00185 \n\
00186 ";
00187   }
00188 
00189   static const char* value(const  ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 
00190 };
00191 
00192 } // namespace message_traits
00193 } // namespace ros
00194 
00195 
00196 namespace ros
00197 {
00198 namespace message_traits
00199 {
00200 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > : public TrueType {};
00201 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator>  const> : public TrueType {};
00202 template<class ContainerAllocator>
00203 struct MD5Sum< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > {
00204   static const char* value() 
00205   {
00206     return "28c1f9c30f6beebadf0ced5cfa630c49";
00207   }
00208 
00209   static const char* value(const  ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 
00210   static const uint64_t static_value1 = 0x28c1f9c30f6beebaULL;
00211   static const uint64_t static_value2 = 0xdf0ced5cfa630c49ULL;
00212 };
00213 
00214 template<class ContainerAllocator>
00215 struct DataType< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > {
00216   static const char* value() 
00217   {
00218     return "srs_object_database_msgs/GetObjectIdResponse";
00219   }
00220 
00221   static const char* value(const  ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 
00222 };
00223 
00224 template<class ContainerAllocator>
00225 struct Definition< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > {
00226   static const char* value() 
00227   {
00228     return "\n\
00229 \n\
00230 string return_response\n\
00231 \n\
00232 \n\
00233 int32[] model_ids\n\
00234 \n\
00235 \n\
00236 string[] model_desc\n\
00237 \n\
00238 \n\
00239 string[] version\n\
00240 \n\
00241 \n\
00242 string[] model_category\n\
00243 \n\
00244 \n\
00245 bool[] graspable\n\
00246 \n\
00247 \n\
00248 float32[] model_x_size\n\
00249 \n\
00250 \n\
00251 float32[] model_y_size\n\
00252 \n\
00253 \n\
00254 float32[] model_z_size\n\
00255 \n\
00256 \n\
00257 string[] model_basic_shape\n\
00258 \n\
00259 \n\
00260 ";
00261   }
00262 
00263   static const char* value(const  ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 
00264 };
00265 
00266 } // namespace message_traits
00267 } // namespace ros
00268 
00269 namespace ros
00270 {
00271 namespace serialization
00272 {
00273 
00274 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> >
00275 {
00276   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00277   {
00278     stream.next(m.type);
00279     stream.next(m.item);
00280   }
00281 
00282   ROS_DECLARE_ALLINONE_SERIALIZER;
00283 }; // struct GetObjectIdRequest_
00284 } // namespace serialization
00285 } // namespace ros
00286 
00287 
00288 namespace ros
00289 {
00290 namespace serialization
00291 {
00292 
00293 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> >
00294 {
00295   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00296   {
00297     stream.next(m.return_response);
00298     stream.next(m.model_ids);
00299     stream.next(m.model_desc);
00300     stream.next(m.version);
00301     stream.next(m.model_category);
00302     stream.next(m.graspable);
00303     stream.next(m.model_x_size);
00304     stream.next(m.model_y_size);
00305     stream.next(m.model_z_size);
00306     stream.next(m.model_basic_shape);
00307   }
00308 
00309   ROS_DECLARE_ALLINONE_SERIALIZER;
00310 }; // struct GetObjectIdResponse_
00311 } // namespace serialization
00312 } // namespace ros
00313 
00314 namespace ros
00315 {
00316 namespace service_traits
00317 {
00318 template<>
00319 struct MD5Sum<srs_object_database_msgs::GetObjectId> {
00320   static const char* value() 
00321   {
00322     return "da04346db6b247535564f8d406b33256";
00323   }
00324 
00325   static const char* value(const srs_object_database_msgs::GetObjectId&) { return value(); } 
00326 };
00327 
00328 template<>
00329 struct DataType<srs_object_database_msgs::GetObjectId> {
00330   static const char* value() 
00331   {
00332     return "srs_object_database_msgs/GetObjectId";
00333   }
00334 
00335   static const char* value(const srs_object_database_msgs::GetObjectId&) { return value(); } 
00336 };
00337 
00338 template<class ContainerAllocator>
00339 struct MD5Sum<srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > {
00340   static const char* value() 
00341   {
00342     return "da04346db6b247535564f8d406b33256";
00343   }
00344 
00345   static const char* value(const srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 
00346 };
00347 
00348 template<class ContainerAllocator>
00349 struct DataType<srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> > {
00350   static const char* value() 
00351   {
00352     return "srs_object_database_msgs/GetObjectId";
00353   }
00354 
00355   static const char* value(const srs_object_database_msgs::GetObjectIdRequest_<ContainerAllocator> &) { return value(); } 
00356 };
00357 
00358 template<class ContainerAllocator>
00359 struct MD5Sum<srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > {
00360   static const char* value() 
00361   {
00362     return "da04346db6b247535564f8d406b33256";
00363   }
00364 
00365   static const char* value(const srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 
00366 };
00367 
00368 template<class ContainerAllocator>
00369 struct DataType<srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> > {
00370   static const char* value() 
00371   {
00372     return "srs_object_database_msgs/GetObjectId";
00373   }
00374 
00375   static const char* value(const srs_object_database_msgs::GetObjectIdResponse_<ContainerAllocator> &) { return value(); } 
00376 };
00377 
00378 } // namespace service_traits
00379 } // namespace ros
00380 
00381 #endif // SRS_OBJECT_DATABASE_MSGS_SERVICE_GETOBJECTID_H
00382 


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Wed Nov 27 2013 14:14:38