ndesc_pc_service.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception_filters/normal_descriptor_node/srv/ndesc_pc_service.srv */
00002 #ifndef NORMAL_DESCRIPTOR_NODE_SERVICE_NDESC_PC_SERVICE_H
00003 #define NORMAL_DESCRIPTOR_NODE_SERVICE_NDESC_PC_SERVICE_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 #include "sensor_msgs/PointCloud2.h"
00020 
00021 
00022 #include "normal_descriptor_node/ndesc_pc.h"
00023 
00024 namespace normal_descriptor_node
00025 {
00026 template <class ContainerAllocator>
00027 struct ndesc_pc_serviceRequest_ {
00028   typedef ndesc_pc_serviceRequest_<ContainerAllocator> Type;
00029 
00030   ndesc_pc_serviceRequest_()
00031   : cloth_cloud()
00032   {
00033   }
00034 
00035   ndesc_pc_serviceRequest_(const ContainerAllocator& _alloc)
00036   : cloth_cloud(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _cloth_cloud_type;
00041    ::sensor_msgs::PointCloud2_<ContainerAllocator>  cloth_cloud;
00042 
00043 
00044   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct ndesc_pc_serviceRequest
00048 typedef  ::normal_descriptor_node::ndesc_pc_serviceRequest_<std::allocator<void> > ndesc_pc_serviceRequest;
00049 
00050 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceRequest> ndesc_pc_serviceRequestPtr;
00051 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceRequest const> ndesc_pc_serviceRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct ndesc_pc_serviceResponse_ {
00056   typedef ndesc_pc_serviceResponse_<ContainerAllocator> Type;
00057 
00058   ndesc_pc_serviceResponse_()
00059   : ndesc_pc_msg()
00060   {
00061   }
00062 
00063   ndesc_pc_serviceResponse_(const ContainerAllocator& _alloc)
00064   : ndesc_pc_msg(_alloc)
00065   {
00066   }
00067 
00068   typedef  ::normal_descriptor_node::ndesc_pc_<ContainerAllocator>  _ndesc_pc_msg_type;
00069    ::normal_descriptor_node::ndesc_pc_<ContainerAllocator>  ndesc_pc_msg;
00070 
00071 
00072   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct ndesc_pc_serviceResponse
00076 typedef  ::normal_descriptor_node::ndesc_pc_serviceResponse_<std::allocator<void> > ndesc_pc_serviceResponse;
00077 
00078 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceResponse> ndesc_pc_serviceResponsePtr;
00079 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_pc_serviceResponse const> ndesc_pc_serviceResponseConstPtr;
00080 
00081 struct ndesc_pc_service
00082 {
00083 
00084 typedef ndesc_pc_serviceRequest Request;
00085 typedef ndesc_pc_serviceResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct ndesc_pc_service
00092 } // namespace normal_descriptor_node
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "0c9882caba11d56443567dca3aa788b1";
00105   }
00106 
00107   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x0c9882caba11d564ULL;
00109   static const uint64_t static_value2 = 0x43567dca3aa788b1ULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "normal_descriptor_node/ndesc_pc_serviceRequest";
00117   }
00118 
00119   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "sensor_msgs/PointCloud2 cloth_cloud\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: sensor_msgs/PointCloud2\n\
00130 # This message holds a collection of N-dimensional points, which may\n\
00131 # contain additional information such as normals, intensity, etc. The\n\
00132 # point data is stored as a binary blob, its layout described by the\n\
00133 # contents of the \"fields\" array.\n\
00134 \n\
00135 # The point cloud data may be organized 2d (image-like) or 1d\n\
00136 # (unordered). Point clouds organized as 2d images may be produced by\n\
00137 # camera depth sensors such as stereo or time-of-flight.\n\
00138 \n\
00139 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00140 # points).\n\
00141 Header header\n\
00142 \n\
00143 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00144 # 1 and width is the length of the point cloud.\n\
00145 uint32 height\n\
00146 uint32 width\n\
00147 \n\
00148 # Describes the channels and their layout in the binary data blob.\n\
00149 PointField[] fields\n\
00150 \n\
00151 bool    is_bigendian # Is this data bigendian?\n\
00152 uint32  point_step   # Length of a point in bytes\n\
00153 uint32  row_step     # Length of a row in bytes\n\
00154 uint8[] data         # Actual point data, size is (row_step*height)\n\
00155 \n\
00156 bool is_dense        # True if there are no invalid points\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: std_msgs/Header\n\
00160 # Standard metadata for higher-level stamped data types.\n\
00161 # This is generally used to communicate timestamped data \n\
00162 # in a particular coordinate frame.\n\
00163 # \n\
00164 # sequence ID: consecutively increasing ID \n\
00165 uint32 seq\n\
00166 #Two-integer timestamp that is expressed as:\n\
00167 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00168 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00169 # time-handling sugar is provided by the client library\n\
00170 time stamp\n\
00171 #Frame this data is associated with\n\
00172 # 0: no frame\n\
00173 # 1: global frame\n\
00174 string frame_id\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: sensor_msgs/PointField\n\
00178 # This message holds the description of one point entry in the\n\
00179 # PointCloud2 message format.\n\
00180 uint8 INT8    = 1\n\
00181 uint8 UINT8   = 2\n\
00182 uint8 INT16   = 3\n\
00183 uint8 UINT16  = 4\n\
00184 uint8 INT32   = 5\n\
00185 uint8 UINT32  = 6\n\
00186 uint8 FLOAT32 = 7\n\
00187 uint8 FLOAT64 = 8\n\
00188 \n\
00189 string name      # Name of field\n\
00190 uint32 offset    # Offset from start of point struct\n\
00191 uint8  datatype  # Datatype enumeration, see above\n\
00192 uint32 count     # How many elements in the field\n\
00193 \n\
00194 ";
00195   }
00196 
00197   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> &) { return value(); } 
00198 };
00199 
00200 } // namespace message_traits
00201 } // namespace ros
00202 
00203 
00204 namespace ros
00205 {
00206 namespace message_traits
00207 {
00208 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > : public TrueType {};
00209 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator>  const> : public TrueType {};
00210 template<class ContainerAllocator>
00211 struct MD5Sum< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > {
00212   static const char* value() 
00213   {
00214     return "8cdceef08036d5eb578c44812398184b";
00215   }
00216 
00217   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> &) { return value(); } 
00218   static const uint64_t static_value1 = 0x8cdceef08036d5ebULL;
00219   static const uint64_t static_value2 = 0x578c44812398184bULL;
00220 };
00221 
00222 template<class ContainerAllocator>
00223 struct DataType< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > {
00224   static const char* value() 
00225   {
00226     return "normal_descriptor_node/ndesc_pc_serviceResponse";
00227   }
00228 
00229   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> &) { return value(); } 
00230 };
00231 
00232 template<class ContainerAllocator>
00233 struct Definition< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > {
00234   static const char* value() 
00235   {
00236     return "normal_descriptor_node/ndesc_pc ndesc_pc_msg\n\
00237 \n\
00238 \n\
00239 ================================================================================\n\
00240 MSG: normal_descriptor_node/ndesc_pc\n\
00241 Header header\n\
00242 int32 num_orient_bins\n\
00243 int32 num_spa_bins\n\
00244 int32 num\n\
00245 int32 len\n\
00246 int32 width\n\
00247 int32 height\n\
00248 normal_descriptor_node/ndesc[] descriptors\n\
00249 \n\
00250 ================================================================================\n\
00251 MSG: std_msgs/Header\n\
00252 # Standard metadata for higher-level stamped data types.\n\
00253 # This is generally used to communicate timestamped data \n\
00254 # in a particular coordinate frame.\n\
00255 # \n\
00256 # sequence ID: consecutively increasing ID \n\
00257 uint32 seq\n\
00258 #Two-integer timestamp that is expressed as:\n\
00259 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00260 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00261 # time-handling sugar is provided by the client library\n\
00262 time stamp\n\
00263 #Frame this data is associated with\n\
00264 # 0: no frame\n\
00265 # 1: global frame\n\
00266 string frame_id\n\
00267 \n\
00268 ================================================================================\n\
00269 MSG: normal_descriptor_node/ndesc\n\
00270 float32[] descriptor\n\
00271 geometry_msgs/Vector3 point3d\n\
00272 int32 u\n\
00273 int32 v\n\
00274 float32 ori\n\
00275 ================================================================================\n\
00276 MSG: geometry_msgs/Vector3\n\
00277 # This represents a vector in free space. \n\
00278 \n\
00279 float64 x\n\
00280 float64 y\n\
00281 float64 z\n\
00282 ";
00283   }
00284 
00285   static const char* value(const  ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> &) { return value(); } 
00286 };
00287 
00288 } // namespace message_traits
00289 } // namespace ros
00290 
00291 namespace ros
00292 {
00293 namespace serialization
00294 {
00295 
00296 template<class ContainerAllocator> struct Serializer< ::normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> >
00297 {
00298   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00299   {
00300     stream.next(m.cloth_cloud);
00301   }
00302 
00303   ROS_DECLARE_ALLINONE_SERIALIZER;
00304 }; // struct ndesc_pc_serviceRequest_
00305 } // namespace serialization
00306 } // namespace ros
00307 
00308 
00309 namespace ros
00310 {
00311 namespace serialization
00312 {
00313 
00314 template<class ContainerAllocator> struct Serializer< ::normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> >
00315 {
00316   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00317   {
00318     stream.next(m.ndesc_pc_msg);
00319   }
00320 
00321   ROS_DECLARE_ALLINONE_SERIALIZER;
00322 }; // struct ndesc_pc_serviceResponse_
00323 } // namespace serialization
00324 } // namespace ros
00325 
00326 namespace ros
00327 {
00328 namespace service_traits
00329 {
00330 template<>
00331 struct MD5Sum<normal_descriptor_node::ndesc_pc_service> {
00332   static const char* value() 
00333   {
00334     return "820ec8d4b51fd678aefcb5618d6d715c";
00335   }
00336 
00337   static const char* value(const normal_descriptor_node::ndesc_pc_service&) { return value(); } 
00338 };
00339 
00340 template<>
00341 struct DataType<normal_descriptor_node::ndesc_pc_service> {
00342   static const char* value() 
00343   {
00344     return "normal_descriptor_node/ndesc_pc_service";
00345   }
00346 
00347   static const char* value(const normal_descriptor_node::ndesc_pc_service&) { return value(); } 
00348 };
00349 
00350 template<class ContainerAllocator>
00351 struct MD5Sum<normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > {
00352   static const char* value() 
00353   {
00354     return "820ec8d4b51fd678aefcb5618d6d715c";
00355   }
00356 
00357   static const char* value(const normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> &) { return value(); } 
00358 };
00359 
00360 template<class ContainerAllocator>
00361 struct DataType<normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> > {
00362   static const char* value() 
00363   {
00364     return "normal_descriptor_node/ndesc_pc_service";
00365   }
00366 
00367   static const char* value(const normal_descriptor_node::ndesc_pc_serviceRequest_<ContainerAllocator> &) { return value(); } 
00368 };
00369 
00370 template<class ContainerAllocator>
00371 struct MD5Sum<normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > {
00372   static const char* value() 
00373   {
00374     return "820ec8d4b51fd678aefcb5618d6d715c";
00375   }
00376 
00377   static const char* value(const normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> &) { return value(); } 
00378 };
00379 
00380 template<class ContainerAllocator>
00381 struct DataType<normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> > {
00382   static const char* value() 
00383   {
00384     return "normal_descriptor_node/ndesc_pc_service";
00385   }
00386 
00387   static const char* value(const normal_descriptor_node::ndesc_pc_serviceResponse_<ContainerAllocator> &) { return value(); } 
00388 };
00389 
00390 } // namespace service_traits
00391 } // namespace ros
00392 
00393 #endif // NORMAL_DESCRIPTOR_NODE_SERVICE_NDESC_PC_SERVICE_H
00394 


normal_descriptor_node
Author(s): Arnau Ramisa
autogenerated on Fri Dec 6 2013 20:19:55