00001
00002 #ifndef FAST_PLANE_DETECTION_SERVICE_SETPOSITION_H
00003 #define FAST_PLANE_DETECTION_SERVICE_SETPOSITION_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace fast_plane_detection
00019 {
00020 template <class ContainerAllocator>
00021 struct SetPositionRequest_ : public ros::Message
00022 {
00023 typedef SetPositionRequest_<ContainerAllocator> Type;
00024
00025 SetPositionRequest_()
00026 : x(0.0)
00027 , y(0.0)
00028 , z(0.0)
00029 , transform(0)
00030 , width(0)
00031 , height(0)
00032 {
00033 }
00034
00035 SetPositionRequest_(const ContainerAllocator& _alloc)
00036 : x(0.0)
00037 , y(0.0)
00038 , z(0.0)
00039 , transform(0)
00040 , width(0)
00041 , height(0)
00042 {
00043 }
00044
00045 typedef double _x_type;
00046 double x;
00047
00048 typedef double _y_type;
00049 double y;
00050
00051 typedef double _z_type;
00052 double z;
00053
00054 typedef int32_t _transform_type;
00055 int32_t transform;
00056
00057 typedef int32_t _width_type;
00058 int32_t width;
00059
00060 typedef int32_t _height_type;
00061 int32_t height;
00062
00063
00064 private:
00065 static const char* __s_getDataType_() { return "fast_plane_detection/SetPositionRequest"; }
00066 public:
00067 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00068
00069 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00070
00071 private:
00072 static const char* __s_getMD5Sum_() { return "c0616c0926ce289f15713c2df1d4fb0f"; }
00073 public:
00074 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00075
00076 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00077
00078 private:
00079 static const char* __s_getServerMD5Sum_() { return "98bf3204c7beb0638717e3f7fd31933c"; }
00080 public:
00081 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00082
00083 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00084
00085 private:
00086 static const char* __s_getMessageDefinition_() { return "float64 x\n\
00087 float64 y\n\
00088 float64 z\n\
00089 int32 transform\n\
00090 int32 width\n\
00091 int32 height\n\
00092 \n\
00093 "; }
00094 public:
00095 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00096
00097 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00098
00099 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00100 {
00101 ros::serialization::OStream stream(write_ptr, 1000000000);
00102 ros::serialization::serialize(stream, x);
00103 ros::serialization::serialize(stream, y);
00104 ros::serialization::serialize(stream, z);
00105 ros::serialization::serialize(stream, transform);
00106 ros::serialization::serialize(stream, width);
00107 ros::serialization::serialize(stream, height);
00108 return stream.getData();
00109 }
00110
00111 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00112 {
00113 ros::serialization::IStream stream(read_ptr, 1000000000);
00114 ros::serialization::deserialize(stream, x);
00115 ros::serialization::deserialize(stream, y);
00116 ros::serialization::deserialize(stream, z);
00117 ros::serialization::deserialize(stream, transform);
00118 ros::serialization::deserialize(stream, width);
00119 ros::serialization::deserialize(stream, height);
00120 return stream.getData();
00121 }
00122
00123 ROS_DEPRECATED virtual uint32_t serializationLength() const
00124 {
00125 uint32_t size = 0;
00126 size += ros::serialization::serializationLength(x);
00127 size += ros::serialization::serializationLength(y);
00128 size += ros::serialization::serializationLength(z);
00129 size += ros::serialization::serializationLength(transform);
00130 size += ros::serialization::serializationLength(width);
00131 size += ros::serialization::serializationLength(height);
00132 return size;
00133 }
00134
00135 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > Ptr;
00136 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> const> ConstPtr;
00137 };
00138 typedef ::fast_plane_detection::SetPositionRequest_<std::allocator<void> > SetPositionRequest;
00139
00140 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest> SetPositionRequestPtr;
00141 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest const> SetPositionRequestConstPtr;
00142
00143
00144 template <class ContainerAllocator>
00145 struct SetPositionResponse_ : public ros::Message
00146 {
00147 typedef SetPositionResponse_<ContainerAllocator> Type;
00148
00149 SetPositionResponse_()
00150 : x(0.0)
00151 , y(0.0)
00152 , z(0.0)
00153 , transform(0)
00154 , width(0)
00155 , height(0)
00156 {
00157 }
00158
00159 SetPositionResponse_(const ContainerAllocator& _alloc)
00160 : x(0.0)
00161 , y(0.0)
00162 , z(0.0)
00163 , transform(0)
00164 , width(0)
00165 , height(0)
00166 {
00167 }
00168
00169 typedef double _x_type;
00170 double x;
00171
00172 typedef double _y_type;
00173 double y;
00174
00175 typedef double _z_type;
00176 double z;
00177
00178 typedef int32_t _transform_type;
00179 int32_t transform;
00180
00181 typedef int32_t _width_type;
00182 int32_t width;
00183
00184 typedef int32_t _height_type;
00185 int32_t height;
00186
00187
00188 private:
00189 static const char* __s_getDataType_() { return "fast_plane_detection/SetPositionResponse"; }
00190 public:
00191 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00192
00193 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00194
00195 private:
00196 static const char* __s_getMD5Sum_() { return "c0616c0926ce289f15713c2df1d4fb0f"; }
00197 public:
00198 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00199
00200 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00201
00202 private:
00203 static const char* __s_getServerMD5Sum_() { return "98bf3204c7beb0638717e3f7fd31933c"; }
00204 public:
00205 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00206
00207 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00208
00209 private:
00210 static const char* __s_getMessageDefinition_() { return "float64 x\n\
00211 float64 y\n\
00212 float64 z\n\
00213 int32 transform\n\
00214 int32 width\n\
00215 int32 height\n\
00216 \n\
00217 \n\
00218 "; }
00219 public:
00220 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00221
00222 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00223
00224 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00225 {
00226 ros::serialization::OStream stream(write_ptr, 1000000000);
00227 ros::serialization::serialize(stream, x);
00228 ros::serialization::serialize(stream, y);
00229 ros::serialization::serialize(stream, z);
00230 ros::serialization::serialize(stream, transform);
00231 ros::serialization::serialize(stream, width);
00232 ros::serialization::serialize(stream, height);
00233 return stream.getData();
00234 }
00235
00236 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00237 {
00238 ros::serialization::IStream stream(read_ptr, 1000000000);
00239 ros::serialization::deserialize(stream, x);
00240 ros::serialization::deserialize(stream, y);
00241 ros::serialization::deserialize(stream, z);
00242 ros::serialization::deserialize(stream, transform);
00243 ros::serialization::deserialize(stream, width);
00244 ros::serialization::deserialize(stream, height);
00245 return stream.getData();
00246 }
00247
00248 ROS_DEPRECATED virtual uint32_t serializationLength() const
00249 {
00250 uint32_t size = 0;
00251 size += ros::serialization::serializationLength(x);
00252 size += ros::serialization::serializationLength(y);
00253 size += ros::serialization::serializationLength(z);
00254 size += ros::serialization::serializationLength(transform);
00255 size += ros::serialization::serializationLength(width);
00256 size += ros::serialization::serializationLength(height);
00257 return size;
00258 }
00259
00260 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > Ptr;
00261 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> const> ConstPtr;
00262 };
00263 typedef ::fast_plane_detection::SetPositionResponse_<std::allocator<void> > SetPositionResponse;
00264
00265 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse> SetPositionResponsePtr;
00266 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse const> SetPositionResponseConstPtr;
00267
00268 struct SetPosition
00269 {
00270
00271 typedef SetPositionRequest Request;
00272 typedef SetPositionResponse Response;
00273 Request request;
00274 Response response;
00275
00276 typedef Request RequestType;
00277 typedef Response ResponseType;
00278 };
00279 }
00280
00281 namespace ros
00282 {
00283 namespace message_traits
00284 {
00285 template<class ContainerAllocator>
00286 struct MD5Sum< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "c0616c0926ce289f15713c2df1d4fb0f";
00290 }
00291
00292 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00293 static const uint64_t static_value1 = 0xc0616c0926ce289fULL;
00294 static const uint64_t static_value2 = 0x15713c2df1d4fb0fULL;
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "fast_plane_detection/SetPositionRequest";
00302 }
00303
00304 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 template<class ContainerAllocator>
00308 struct Definition< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00309 static const char* value()
00310 {
00311 return "float64 x\n\
00312 float64 y\n\
00313 float64 z\n\
00314 int32 transform\n\
00315 int32 width\n\
00316 int32 height\n\
00317 \n\
00318 ";
00319 }
00320
00321 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00322 };
00323
00324 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > : public TrueType {};
00325 }
00326 }
00327
00328
00329 namespace ros
00330 {
00331 namespace message_traits
00332 {
00333 template<class ContainerAllocator>
00334 struct MD5Sum< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00335 static const char* value()
00336 {
00337 return "c0616c0926ce289f15713c2df1d4fb0f";
00338 }
00339
00340 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00341 static const uint64_t static_value1 = 0xc0616c0926ce289fULL;
00342 static const uint64_t static_value2 = 0x15713c2df1d4fb0fULL;
00343 };
00344
00345 template<class ContainerAllocator>
00346 struct DataType< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00347 static const char* value()
00348 {
00349 return "fast_plane_detection/SetPositionResponse";
00350 }
00351
00352 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00353 };
00354
00355 template<class ContainerAllocator>
00356 struct Definition< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00357 static const char* value()
00358 {
00359 return "float64 x\n\
00360 float64 y\n\
00361 float64 z\n\
00362 int32 transform\n\
00363 int32 width\n\
00364 int32 height\n\
00365 \n\
00366 \n\
00367 ";
00368 }
00369
00370 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00371 };
00372
00373 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > : public TrueType {};
00374 }
00375 }
00376
00377 namespace ros
00378 {
00379 namespace serialization
00380 {
00381
00382 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> >
00383 {
00384 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00385 {
00386 stream.next(m.x);
00387 stream.next(m.y);
00388 stream.next(m.z);
00389 stream.next(m.transform);
00390 stream.next(m.width);
00391 stream.next(m.height);
00392 }
00393
00394 ROS_DECLARE_ALLINONE_SERIALIZER;
00395 };
00396 }
00397 }
00398
00399
00400 namespace ros
00401 {
00402 namespace serialization
00403 {
00404
00405 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> >
00406 {
00407 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00408 {
00409 stream.next(m.x);
00410 stream.next(m.y);
00411 stream.next(m.z);
00412 stream.next(m.transform);
00413 stream.next(m.width);
00414 stream.next(m.height);
00415 }
00416
00417 ROS_DECLARE_ALLINONE_SERIALIZER;
00418 };
00419 }
00420 }
00421
00422 namespace ros
00423 {
00424 namespace service_traits
00425 {
00426 template<>
00427 struct MD5Sum<fast_plane_detection::SetPosition> {
00428 static const char* value()
00429 {
00430 return "98bf3204c7beb0638717e3f7fd31933c";
00431 }
00432
00433 static const char* value(const fast_plane_detection::SetPosition&) { return value(); }
00434 };
00435
00436 template<>
00437 struct DataType<fast_plane_detection::SetPosition> {
00438 static const char* value()
00439 {
00440 return "fast_plane_detection/SetPosition";
00441 }
00442
00443 static const char* value(const fast_plane_detection::SetPosition&) { return value(); }
00444 };
00445
00446 template<class ContainerAllocator>
00447 struct MD5Sum<fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00448 static const char* value()
00449 {
00450 return "98bf3204c7beb0638717e3f7fd31933c";
00451 }
00452
00453 static const char* value(const fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00454 };
00455
00456 template<class ContainerAllocator>
00457 struct DataType<fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00458 static const char* value()
00459 {
00460 return "fast_plane_detection/SetPosition";
00461 }
00462
00463 static const char* value(const fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00464 };
00465
00466 template<class ContainerAllocator>
00467 struct MD5Sum<fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00468 static const char* value()
00469 {
00470 return "98bf3204c7beb0638717e3f7fd31933c";
00471 }
00472
00473 static const char* value(const fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00474 };
00475
00476 template<class ContainerAllocator>
00477 struct DataType<fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00478 static const char* value()
00479 {
00480 return "fast_plane_detection/SetPosition";
00481 }
00482
00483 static const char* value(const fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00484 };
00485
00486 }
00487 }
00488
00489 #endif // FAST_PLANE_DETECTION_SERVICE_SETPOSITION_H
00490