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