Go to the documentation of this file.00001
00002 #ifndef PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTRESULT_H
00003 #define PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTRESULT_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 "sensor_msgs/PointCloud2.h"
00018
00019 namespace pr2_tilt_laser_interface
00020 {
00021 template <class ContainerAllocator>
00022 struct GetSnapshotResult_ {
00023 typedef GetSnapshotResult_<ContainerAllocator> Type;
00024
00025 GetSnapshotResult_()
00026 : cloud()
00027 {
00028 }
00029
00030 GetSnapshotResult_(const ContainerAllocator& _alloc)
00031 : cloud(_alloc)
00032 {
00033 }
00034
00035 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _cloud_type;
00036 ::sensor_msgs::PointCloud2_<ContainerAllocator> cloud;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_tilt_laser_interface::GetSnapshotResult_<std::allocator<void> > GetSnapshotResult;
00044
00045 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotResult> GetSnapshotResultPtr;
00046 typedef boost::shared_ptr< ::pr2_tilt_laser_interface::GetSnapshotResult const> GetSnapshotResultConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "96cec5374164b3b3d1d7ef5d7628a7ed";
00068 }
00069
00070 static const char* value(const ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x96cec5374164b3b3ULL;
00072 static const uint64_t static_value2 = 0xd1d7ef5d7628a7edULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_tilt_laser_interface/GetSnapshotResult";
00080 }
00081
00082 static const char* value(const ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # Result\n\
00091 sensor_msgs/PointCloud2 cloud\n\
00092 \n\
00093 \n\
00094 ================================================================================\n\
00095 MSG: sensor_msgs/PointCloud2\n\
00096 # This message holds a collection of N-dimensional points, which may\n\
00097 # contain additional information such as normals, intensity, etc. The\n\
00098 # point data is stored as a binary blob, its layout described by the\n\
00099 # contents of the \"fields\" array.\n\
00100 \n\
00101 # The point cloud data may be organized 2d (image-like) or 1d\n\
00102 # (unordered). Point clouds organized as 2d images may be produced by\n\
00103 # camera depth sensors such as stereo or time-of-flight.\n\
00104 \n\
00105 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00106 # points).\n\
00107 Header header\n\
00108 \n\
00109 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00110 # 1 and width is the length of the point cloud.\n\
00111 uint32 height\n\
00112 uint32 width\n\
00113 \n\
00114 # Describes the channels and their layout in the binary data blob.\n\
00115 PointField[] fields\n\
00116 \n\
00117 bool is_bigendian # Is this data bigendian?\n\
00118 uint32 point_step # Length of a point in bytes\n\
00119 uint32 row_step # Length of a row in bytes\n\
00120 uint8[] data # Actual point data, size is (row_step*height)\n\
00121 \n\
00122 bool is_dense # True if there are no invalid points\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: std_msgs/Header\n\
00126 # Standard metadata for higher-level stamped data types.\n\
00127 # This is generally used to communicate timestamped data \n\
00128 # in a particular coordinate frame.\n\
00129 # \n\
00130 # sequence ID: consecutively increasing ID \n\
00131 uint32 seq\n\
00132 #Two-integer timestamp that is expressed as:\n\
00133 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00134 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00135 # time-handling sugar is provided by the client library\n\
00136 time stamp\n\
00137 #Frame this data is associated with\n\
00138 # 0: no frame\n\
00139 # 1: global frame\n\
00140 string frame_id\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: sensor_msgs/PointField\n\
00144 # This message holds the description of one point entry in the\n\
00145 # PointCloud2 message format.\n\
00146 uint8 INT8 = 1\n\
00147 uint8 UINT8 = 2\n\
00148 uint8 INT16 = 3\n\
00149 uint8 UINT16 = 4\n\
00150 uint8 INT32 = 5\n\
00151 uint8 UINT32 = 6\n\
00152 uint8 FLOAT32 = 7\n\
00153 uint8 FLOAT64 = 8\n\
00154 \n\
00155 string name # Name of field\n\
00156 uint32 offset # Offset from start of point struct\n\
00157 uint8 datatype # Datatype enumeration, see above\n\
00158 uint32 count # How many elements in the field\n\
00159 \n\
00160 ";
00161 }
00162
00163 static const char* value(const ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> &) { return value(); }
00164 };
00165
00166 }
00167 }
00168
00169 namespace ros
00170 {
00171 namespace serialization
00172 {
00173
00174 template<class ContainerAllocator> struct Serializer< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> >
00175 {
00176 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00177 {
00178 stream.next(m.cloud);
00179 }
00180
00181 ROS_DECLARE_ALLINONE_SERIALIZER;
00182 };
00183 }
00184 }
00185
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190
00191 template<class ContainerAllocator>
00192 struct Printer< ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> >
00193 {
00194 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_tilt_laser_interface::GetSnapshotResult_<ContainerAllocator> & v)
00195 {
00196 s << indent << "cloud: ";
00197 s << std::endl;
00198 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.cloud);
00199 }
00200 };
00201
00202
00203 }
00204 }
00205
00206 #endif // PR2_TILT_LASER_INTERFACE_MESSAGE_GETSNAPSHOTRESULT_H
00207