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


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:17