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


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