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


vision_srvs
Author(s): Ulrich F Klank
autogenerated on Thu Jan 2 2014 11:22:38