$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-object_manipulation/doc_stacks/2013-03-01_16-13-18.345538/object_manipulation/point_cloud_server/msg/StoreCloudResult.msg */ 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 private: 00050 static const char* __s_getDataType_() { return "point_cloud_server/StoreCloudResult"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00053 00054 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00055 00056 private: 00057 static const char* __s_getMD5Sum_() { return "2961eff5597c2ddf0251a9a59d88d423"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00065 \n\ 00066 # The cloud that was stored (if return_cloud was true)\n\ 00067 sensor_msgs/PointCloud2 cloud\n\ 00068 \n\ 00069 # Any text that might be needed...\n\ 00070 int32 result\n\ 00071 \n\ 00072 int32 SUCCESS = 0\n\ 00073 int32 NAME_ERROR = 1\n\ 00074 int32 TOPIC_ERROR = 2 \n\ 00075 int32 TF_ERROR = 3\n\ 00076 int32 OTHER_ERROR = 4\n\ 00077 \n\ 00078 \n\ 00079 ================================================================================\n\ 00080 MSG: sensor_msgs/PointCloud2\n\ 00081 # This message holds a collection of N-dimensional points, which may\n\ 00082 # contain additional information such as normals, intensity, etc. The\n\ 00083 # point data is stored as a binary blob, its layout described by the\n\ 00084 # contents of the \"fields\" array.\n\ 00085 \n\ 00086 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00087 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00088 # camera depth sensors such as stereo or time-of-flight.\n\ 00089 \n\ 00090 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00091 # points).\n\ 00092 Header header\n\ 00093 \n\ 00094 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00095 # 1 and width is the length of the point cloud.\n\ 00096 uint32 height\n\ 00097 uint32 width\n\ 00098 \n\ 00099 # Describes the channels and their layout in the binary data blob.\n\ 00100 PointField[] fields\n\ 00101 \n\ 00102 bool is_bigendian # Is this data bigendian?\n\ 00103 uint32 point_step # Length of a point in bytes\n\ 00104 uint32 row_step # Length of a row in bytes\n\ 00105 uint8[] data # Actual point data, size is (row_step*height)\n\ 00106 \n\ 00107 bool is_dense # True if there are no invalid points\n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: std_msgs/Header\n\ 00111 # Standard metadata for higher-level stamped data types.\n\ 00112 # This is generally used to communicate timestamped data \n\ 00113 # in a particular coordinate frame.\n\ 00114 # \n\ 00115 # sequence ID: consecutively increasing ID \n\ 00116 uint32 seq\n\ 00117 #Two-integer timestamp that is expressed as:\n\ 00118 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00119 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00120 # time-handling sugar is provided by the client library\n\ 00121 time stamp\n\ 00122 #Frame this data is associated with\n\ 00123 # 0: no frame\n\ 00124 # 1: global frame\n\ 00125 string frame_id\n\ 00126 \n\ 00127 ================================================================================\n\ 00128 MSG: sensor_msgs/PointField\n\ 00129 # This message holds the description of one point entry in the\n\ 00130 # PointCloud2 message format.\n\ 00131 uint8 INT8 = 1\n\ 00132 uint8 UINT8 = 2\n\ 00133 uint8 INT16 = 3\n\ 00134 uint8 UINT16 = 4\n\ 00135 uint8 INT32 = 5\n\ 00136 uint8 UINT32 = 6\n\ 00137 uint8 FLOAT32 = 7\n\ 00138 uint8 FLOAT64 = 8\n\ 00139 \n\ 00140 string name # Name of field\n\ 00141 uint32 offset # Offset from start of point struct\n\ 00142 uint8 datatype # Datatype enumeration, see above\n\ 00143 uint32 count # How many elements in the field\n\ 00144 \n\ 00145 "; } 00146 public: 00147 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00148 00149 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00150 00151 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00152 { 00153 ros::serialization::OStream stream(write_ptr, 1000000000); 00154 ros::serialization::serialize(stream, cloud); 00155 ros::serialization::serialize(stream, result); 00156 return stream.getData(); 00157 } 00158 00159 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00160 { 00161 ros::serialization::IStream stream(read_ptr, 1000000000); 00162 ros::serialization::deserialize(stream, cloud); 00163 ros::serialization::deserialize(stream, result); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint32_t serializationLength() const 00168 { 00169 uint32_t size = 0; 00170 size += ros::serialization::serializationLength(cloud); 00171 size += ros::serialization::serializationLength(result); 00172 return size; 00173 } 00174 00175 typedef boost::shared_ptr< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > Ptr; 00176 typedef boost::shared_ptr< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> const> ConstPtr; 00177 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00178 }; // struct StoreCloudResult 00179 typedef ::point_cloud_server::StoreCloudResult_<std::allocator<void> > StoreCloudResult; 00180 00181 typedef boost::shared_ptr< ::point_cloud_server::StoreCloudResult> StoreCloudResultPtr; 00182 typedef boost::shared_ptr< ::point_cloud_server::StoreCloudResult const> StoreCloudResultConstPtr; 00183 00184 00185 template<typename ContainerAllocator> 00186 std::ostream& operator<<(std::ostream& s, const ::point_cloud_server::StoreCloudResult_<ContainerAllocator> & v) 00187 { 00188 ros::message_operations::Printer< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> >::stream(s, "", v); 00189 return s;} 00190 00191 } // namespace point_cloud_server 00192 00193 namespace ros 00194 { 00195 namespace message_traits 00196 { 00197 template<class ContainerAllocator> struct IsMessage< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > : public TrueType {}; 00198 template<class ContainerAllocator> struct IsMessage< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> const> : public TrueType {}; 00199 template<class ContainerAllocator> 00200 struct MD5Sum< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > { 00201 static const char* value() 00202 { 00203 return "2961eff5597c2ddf0251a9a59d88d423"; 00204 } 00205 00206 static const char* value(const ::point_cloud_server::StoreCloudResult_<ContainerAllocator> &) { return value(); } 00207 static const uint64_t static_value1 = 0x2961eff5597c2ddfULL; 00208 static const uint64_t static_value2 = 0x0251a9a59d88d423ULL; 00209 }; 00210 00211 template<class ContainerAllocator> 00212 struct DataType< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > { 00213 static const char* value() 00214 { 00215 return "point_cloud_server/StoreCloudResult"; 00216 } 00217 00218 static const char* value(const ::point_cloud_server::StoreCloudResult_<ContainerAllocator> &) { return value(); } 00219 }; 00220 00221 template<class ContainerAllocator> 00222 struct Definition< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > { 00223 static const char* value() 00224 { 00225 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00226 \n\ 00227 # The cloud that was stored (if return_cloud was true)\n\ 00228 sensor_msgs/PointCloud2 cloud\n\ 00229 \n\ 00230 # Any text that might be needed...\n\ 00231 int32 result\n\ 00232 \n\ 00233 int32 SUCCESS = 0\n\ 00234 int32 NAME_ERROR = 1\n\ 00235 int32 TOPIC_ERROR = 2 \n\ 00236 int32 TF_ERROR = 3\n\ 00237 int32 OTHER_ERROR = 4\n\ 00238 \n\ 00239 \n\ 00240 ================================================================================\n\ 00241 MSG: sensor_msgs/PointCloud2\n\ 00242 # This message holds a collection of N-dimensional points, which may\n\ 00243 # contain additional information such as normals, intensity, etc. The\n\ 00244 # point data is stored as a binary blob, its layout described by the\n\ 00245 # contents of the \"fields\" array.\n\ 00246 \n\ 00247 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00248 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00249 # camera depth sensors such as stereo or time-of-flight.\n\ 00250 \n\ 00251 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00252 # points).\n\ 00253 Header header\n\ 00254 \n\ 00255 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00256 # 1 and width is the length of the point cloud.\n\ 00257 uint32 height\n\ 00258 uint32 width\n\ 00259 \n\ 00260 # Describes the channels and their layout in the binary data blob.\n\ 00261 PointField[] fields\n\ 00262 \n\ 00263 bool is_bigendian # Is this data bigendian?\n\ 00264 uint32 point_step # Length of a point in bytes\n\ 00265 uint32 row_step # Length of a row in bytes\n\ 00266 uint8[] data # Actual point data, size is (row_step*height)\n\ 00267 \n\ 00268 bool is_dense # True if there are no invalid points\n\ 00269 \n\ 00270 ================================================================================\n\ 00271 MSG: std_msgs/Header\n\ 00272 # Standard metadata for higher-level stamped data types.\n\ 00273 # This is generally used to communicate timestamped data \n\ 00274 # in a particular coordinate frame.\n\ 00275 # \n\ 00276 # sequence ID: consecutively increasing ID \n\ 00277 uint32 seq\n\ 00278 #Two-integer timestamp that is expressed as:\n\ 00279 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00280 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00281 # time-handling sugar is provided by the client library\n\ 00282 time stamp\n\ 00283 #Frame this data is associated with\n\ 00284 # 0: no frame\n\ 00285 # 1: global frame\n\ 00286 string frame_id\n\ 00287 \n\ 00288 ================================================================================\n\ 00289 MSG: sensor_msgs/PointField\n\ 00290 # This message holds the description of one point entry in the\n\ 00291 # PointCloud2 message format.\n\ 00292 uint8 INT8 = 1\n\ 00293 uint8 UINT8 = 2\n\ 00294 uint8 INT16 = 3\n\ 00295 uint8 UINT16 = 4\n\ 00296 uint8 INT32 = 5\n\ 00297 uint8 UINT32 = 6\n\ 00298 uint8 FLOAT32 = 7\n\ 00299 uint8 FLOAT64 = 8\n\ 00300 \n\ 00301 string name # Name of field\n\ 00302 uint32 offset # Offset from start of point struct\n\ 00303 uint8 datatype # Datatype enumeration, see above\n\ 00304 uint32 count # How many elements in the field\n\ 00305 \n\ 00306 "; 00307 } 00308 00309 static const char* value(const ::point_cloud_server::StoreCloudResult_<ContainerAllocator> &) { return value(); } 00310 }; 00311 00312 } // namespace message_traits 00313 } // namespace ros 00314 00315 namespace ros 00316 { 00317 namespace serialization 00318 { 00319 00320 template<class ContainerAllocator> struct Serializer< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > 00321 { 00322 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00323 { 00324 stream.next(m.cloud); 00325 stream.next(m.result); 00326 } 00327 00328 ROS_DECLARE_ALLINONE_SERIALIZER; 00329 }; // struct StoreCloudResult_ 00330 } // namespace serialization 00331 } // namespace ros 00332 00333 namespace ros 00334 { 00335 namespace message_operations 00336 { 00337 00338 template<class ContainerAllocator> 00339 struct Printer< ::point_cloud_server::StoreCloudResult_<ContainerAllocator> > 00340 { 00341 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::point_cloud_server::StoreCloudResult_<ContainerAllocator> & v) 00342 { 00343 s << indent << "cloud: "; 00344 s << std::endl; 00345 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.cloud); 00346 s << indent << "result: "; 00347 Printer<int32_t>::stream(s, indent + " ", v.result); 00348 } 00349 }; 00350 00351 00352 } // namespace message_operations 00353 } // namespace ros 00354 00355 #endif // POINT_CLOUD_SERVER_MESSAGE_STORECLOUDRESULT_H 00356