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