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