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