GetModelMesh.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2013-01-25_14-23-21.619693/object_manipulation/household_objects_database_msgs/srv/GetModelMesh.srv */
00002 #ifndef HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELMESH_H
00003 #define HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELMESH_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 #include "household_objects_database_msgs/DatabaseReturnCode.h"
00022 #include "arm_navigation_msgs/Shape.h"
00023 
00024 namespace household_objects_database_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct GetModelMeshRequest_ {
00028   typedef GetModelMeshRequest_<ContainerAllocator> Type;
00029 
00030   GetModelMeshRequest_()
00031   : model_id(0)
00032   {
00033   }
00034 
00035   GetModelMeshRequest_(const ContainerAllocator& _alloc)
00036   : model_id(0)
00037   {
00038   }
00039 
00040   typedef int32_t _model_id_type;
00041   int32_t model_id;
00042 
00043 
00044   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct GetModelMeshRequest
00048 typedef  ::household_objects_database_msgs::GetModelMeshRequest_<std::allocator<void> > GetModelMeshRequest;
00049 
00050 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshRequest> GetModelMeshRequestPtr;
00051 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshRequest const> GetModelMeshRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct GetModelMeshResponse_ {
00056   typedef GetModelMeshResponse_<ContainerAllocator> Type;
00057 
00058   GetModelMeshResponse_()
00059   : return_code()
00060   , mesh()
00061   {
00062   }
00063 
00064   GetModelMeshResponse_(const ContainerAllocator& _alloc)
00065   : return_code(_alloc)
00066   , mesh(_alloc)
00067   {
00068   }
00069 
00070   typedef  ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  _return_code_type;
00071    ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  return_code;
00072 
00073   typedef  ::arm_navigation_msgs::Shape_<ContainerAllocator>  _mesh_type;
00074    ::arm_navigation_msgs::Shape_<ContainerAllocator>  mesh;
00075 
00076 
00077   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct GetModelMeshResponse
00081 typedef  ::household_objects_database_msgs::GetModelMeshResponse_<std::allocator<void> > GetModelMeshResponse;
00082 
00083 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshResponse> GetModelMeshResponsePtr;
00084 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelMeshResponse const> GetModelMeshResponseConstPtr;
00085 
00086 struct GetModelMesh
00087 {
00088 
00089 typedef GetModelMeshRequest Request;
00090 typedef GetModelMeshResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct GetModelMesh
00097 } // namespace household_objects_database_msgs
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "28cb0598daf3b969068a38cd07aaa9f6";
00110   }
00111 
00112   static const char* value(const  ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0x28cb0598daf3b969ULL;
00114   static const uint64_t static_value2 = 0x068a38cd07aaa9f6ULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "household_objects_database_msgs/GetModelMeshRequest";
00122   }
00123 
00124   static const char* value(const  ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "\n\
00132 \n\
00133 \n\
00134 int32 model_id\n\
00135 \n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 template<class ContainerAllocator> struct IsFixedSize< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 
00148 namespace ros
00149 {
00150 namespace message_traits
00151 {
00152 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > : public TrueType {};
00153 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator>  const> : public TrueType {};
00154 template<class ContainerAllocator>
00155 struct MD5Sum< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "c80005b4fe4c8f41b80f3d8cffb7852f";
00159   }
00160 
00161   static const char* value(const  ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> &) { return value(); } 
00162   static const uint64_t static_value1 = 0xc80005b4fe4c8f41ULL;
00163   static const uint64_t static_value2 = 0xb80f3d8cffb7852fULL;
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct DataType< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "household_objects_database_msgs/GetModelMeshResponse";
00171   }
00172 
00173   static const char* value(const  ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> &) { return value(); } 
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct Definition< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "\n\
00181 \n\
00182 DatabaseReturnCode return_code\n\
00183 \n\
00184 \n\
00185 arm_navigation_msgs/Shape mesh\n\
00186 \n\
00187 \n\
00188 ================================================================================\n\
00189 MSG: household_objects_database_msgs/DatabaseReturnCode\n\
00190 # return codes for database-related services\n\
00191 \n\
00192 int32 UNKNOWN_ERROR = 1\n\
00193 int32 DATABASE_NOT_CONNECTED = 2\n\
00194 int32 DATABASE_QUERY_ERROR = 3\n\
00195 int32 SUCCESS = -1\n\
00196 \n\
00197 int32 code\n\
00198 ================================================================================\n\
00199 MSG: arm_navigation_msgs/Shape\n\
00200 byte SPHERE=0\n\
00201 byte BOX=1\n\
00202 byte CYLINDER=2\n\
00203 byte MESH=3\n\
00204 \n\
00205 byte type\n\
00206 \n\
00207 \n\
00208 #### define sphere, box, cylinder ####\n\
00209 # the origin of each shape is considered at the shape's center\n\
00210 \n\
00211 # for sphere\n\
00212 # radius := dimensions[0]\n\
00213 \n\
00214 # for cylinder\n\
00215 # radius := dimensions[0]\n\
00216 # length := dimensions[1]\n\
00217 # the length is along the Z axis\n\
00218 \n\
00219 # for box\n\
00220 # size_x := dimensions[0]\n\
00221 # size_y := dimensions[1]\n\
00222 # size_z := dimensions[2]\n\
00223 float64[] dimensions\n\
00224 \n\
00225 \n\
00226 #### define mesh ####\n\
00227 \n\
00228 # list of triangles; triangle k is defined by tre vertices located\n\
00229 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00230 int32[] triangles\n\
00231 geometry_msgs/Point[] vertices\n\
00232 \n\
00233 ================================================================================\n\
00234 MSG: geometry_msgs/Point\n\
00235 # This contains the position of a point in free space\n\
00236 float64 x\n\
00237 float64 y\n\
00238 float64 z\n\
00239 \n\
00240 ";
00241   }
00242 
00243   static const char* value(const  ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> &) { return value(); } 
00244 };
00245 
00246 } // namespace message_traits
00247 } // namespace ros
00248 
00249 namespace ros
00250 {
00251 namespace serialization
00252 {
00253 
00254 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> >
00255 {
00256   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00257   {
00258     stream.next(m.model_id);
00259   }
00260 
00261   ROS_DECLARE_ALLINONE_SERIALIZER;
00262 }; // struct GetModelMeshRequest_
00263 } // namespace serialization
00264 } // namespace ros
00265 
00266 
00267 namespace ros
00268 {
00269 namespace serialization
00270 {
00271 
00272 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> >
00273 {
00274   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00275   {
00276     stream.next(m.return_code);
00277     stream.next(m.mesh);
00278   }
00279 
00280   ROS_DECLARE_ALLINONE_SERIALIZER;
00281 }; // struct GetModelMeshResponse_
00282 } // namespace serialization
00283 } // namespace ros
00284 
00285 namespace ros
00286 {
00287 namespace service_traits
00288 {
00289 template<>
00290 struct MD5Sum<household_objects_database_msgs::GetModelMesh> {
00291   static const char* value() 
00292   {
00293     return "5818acc32a9241b18f7b8a9445b38537";
00294   }
00295 
00296   static const char* value(const household_objects_database_msgs::GetModelMesh&) { return value(); } 
00297 };
00298 
00299 template<>
00300 struct DataType<household_objects_database_msgs::GetModelMesh> {
00301   static const char* value() 
00302   {
00303     return "household_objects_database_msgs/GetModelMesh";
00304   }
00305 
00306   static const char* value(const household_objects_database_msgs::GetModelMesh&) { return value(); } 
00307 };
00308 
00309 template<class ContainerAllocator>
00310 struct MD5Sum<household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > {
00311   static const char* value() 
00312   {
00313     return "5818acc32a9241b18f7b8a9445b38537";
00314   }
00315 
00316   static const char* value(const household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> &) { return value(); } 
00317 };
00318 
00319 template<class ContainerAllocator>
00320 struct DataType<household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> > {
00321   static const char* value() 
00322   {
00323     return "household_objects_database_msgs/GetModelMesh";
00324   }
00325 
00326   static const char* value(const household_objects_database_msgs::GetModelMeshRequest_<ContainerAllocator> &) { return value(); } 
00327 };
00328 
00329 template<class ContainerAllocator>
00330 struct MD5Sum<household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > {
00331   static const char* value() 
00332   {
00333     return "5818acc32a9241b18f7b8a9445b38537";
00334   }
00335 
00336   static const char* value(const household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> &) { return value(); } 
00337 };
00338 
00339 template<class ContainerAllocator>
00340 struct DataType<household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> > {
00341   static const char* value() 
00342   {
00343     return "household_objects_database_msgs/GetModelMesh";
00344   }
00345 
00346   static const char* value(const household_objects_database_msgs::GetModelMeshResponse_<ContainerAllocator> &) { return value(); } 
00347 };
00348 
00349 } // namespace service_traits
00350 } // namespace ros
00351 
00352 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELMESH_H
00353 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


household_objects_database_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 25 2013 14:57:21