Go to the documentation of this file.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 <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
00022 namespace fast_plane_detection
00023 {
00024 template <class ContainerAllocator>
00025 struct SetPositionRequest_ {
00026 typedef SetPositionRequest_<ContainerAllocator> Type;
00027
00028 SetPositionRequest_()
00029 : x(0.0)
00030 , y(0.0)
00031 , z(0.0)
00032 , transform(0)
00033 , width(0)
00034 , height(0)
00035 {
00036 }
00037
00038 SetPositionRequest_(const ContainerAllocator& _alloc)
00039 : x(0.0)
00040 , y(0.0)
00041 , z(0.0)
00042 , transform(0)
00043 , width(0)
00044 , height(0)
00045 {
00046 }
00047
00048 typedef double _x_type;
00049 double x;
00050
00051 typedef double _y_type;
00052 double y;
00053
00054 typedef double _z_type;
00055 double z;
00056
00057 typedef int32_t _transform_type;
00058 int32_t transform;
00059
00060 typedef int32_t _width_type;
00061 int32_t width;
00062
00063 typedef int32_t _height_type;
00064 int32_t height;
00065
00066
00067 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::fast_plane_detection::SetPositionRequest_<std::allocator<void> > SetPositionRequest;
00072
00073 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest> SetPositionRequestPtr;
00074 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionRequest const> SetPositionRequestConstPtr;
00075
00076
00077 template <class ContainerAllocator>
00078 struct SetPositionResponse_ {
00079 typedef SetPositionResponse_<ContainerAllocator> Type;
00080
00081 SetPositionResponse_()
00082 : x(0.0)
00083 , y(0.0)
00084 , z(0.0)
00085 , transform(0)
00086 , width(0)
00087 , height(0)
00088 {
00089 }
00090
00091 SetPositionResponse_(const ContainerAllocator& _alloc)
00092 : x(0.0)
00093 , y(0.0)
00094 , z(0.0)
00095 , transform(0)
00096 , width(0)
00097 , height(0)
00098 {
00099 }
00100
00101 typedef double _x_type;
00102 double x;
00103
00104 typedef double _y_type;
00105 double y;
00106
00107 typedef double _z_type;
00108 double z;
00109
00110 typedef int32_t _transform_type;
00111 int32_t transform;
00112
00113 typedef int32_t _width_type;
00114 int32_t width;
00115
00116 typedef int32_t _height_type;
00117 int32_t height;
00118
00119
00120 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > Ptr;
00121 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> const> ConstPtr;
00122 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00123 };
00124 typedef ::fast_plane_detection::SetPositionResponse_<std::allocator<void> > SetPositionResponse;
00125
00126 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse> SetPositionResponsePtr;
00127 typedef boost::shared_ptr< ::fast_plane_detection::SetPositionResponse const> SetPositionResponseConstPtr;
00128
00129 struct SetPosition
00130 {
00131
00132 typedef SetPositionRequest Request;
00133 typedef SetPositionResponse Response;
00134 Request request;
00135 Response response;
00136
00137 typedef Request RequestType;
00138 typedef Response ResponseType;
00139 };
00140 }
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "c0616c0926ce289f15713c2df1d4fb0f";
00153 }
00154
00155 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0xc0616c0926ce289fULL;
00157 static const uint64_t static_value2 = 0x15713c2df1d4fb0fULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "fast_plane_detection/SetPositionRequest";
00165 }
00166
00167 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "float64 x\n\
00175 float64 y\n\
00176 float64 z\n\
00177 int32 transform\n\
00178 int32 width\n\
00179 int32 height\n\
00180 \n\
00181 ";
00182 }
00183
00184 static const char* value(const ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> > : public TrueType {};
00188 }
00189 }
00190
00191
00192 namespace ros
00193 {
00194 namespace message_traits
00195 {
00196 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > : public TrueType {};
00197 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> const> : public TrueType {};
00198 template<class ContainerAllocator>
00199 struct MD5Sum< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "c0616c0926ce289f15713c2df1d4fb0f";
00203 }
00204
00205 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00206 static const uint64_t static_value1 = 0xc0616c0926ce289fULL;
00207 static const uint64_t static_value2 = 0x15713c2df1d4fb0fULL;
00208 };
00209
00210 template<class ContainerAllocator>
00211 struct DataType< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00212 static const char* value()
00213 {
00214 return "fast_plane_detection/SetPositionResponse";
00215 }
00216
00217 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00218 };
00219
00220 template<class ContainerAllocator>
00221 struct Definition< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00222 static const char* value()
00223 {
00224 return "float64 x\n\
00225 float64 y\n\
00226 float64 z\n\
00227 int32 transform\n\
00228 int32 width\n\
00229 int32 height\n\
00230 \n\
00231 \n\
00232 ";
00233 }
00234
00235 static const char* value(const ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00236 };
00237
00238 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> > : public TrueType {};
00239 }
00240 }
00241
00242 namespace ros
00243 {
00244 namespace serialization
00245 {
00246
00247 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SetPositionRequest_<ContainerAllocator> >
00248 {
00249 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00250 {
00251 stream.next(m.x);
00252 stream.next(m.y);
00253 stream.next(m.z);
00254 stream.next(m.transform);
00255 stream.next(m.width);
00256 stream.next(m.height);
00257 }
00258
00259 ROS_DECLARE_ALLINONE_SERIALIZER;
00260 };
00261 }
00262 }
00263
00264
00265 namespace ros
00266 {
00267 namespace serialization
00268 {
00269
00270 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SetPositionResponse_<ContainerAllocator> >
00271 {
00272 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00273 {
00274 stream.next(m.x);
00275 stream.next(m.y);
00276 stream.next(m.z);
00277 stream.next(m.transform);
00278 stream.next(m.width);
00279 stream.next(m.height);
00280 }
00281
00282 ROS_DECLARE_ALLINONE_SERIALIZER;
00283 };
00284 }
00285 }
00286
00287 namespace ros
00288 {
00289 namespace service_traits
00290 {
00291 template<>
00292 struct MD5Sum<fast_plane_detection::SetPosition> {
00293 static const char* value()
00294 {
00295 return "98bf3204c7beb0638717e3f7fd31933c";
00296 }
00297
00298 static const char* value(const fast_plane_detection::SetPosition&) { return value(); }
00299 };
00300
00301 template<>
00302 struct DataType<fast_plane_detection::SetPosition> {
00303 static const char* value()
00304 {
00305 return "fast_plane_detection/SetPosition";
00306 }
00307
00308 static const char* value(const fast_plane_detection::SetPosition&) { return value(); }
00309 };
00310
00311 template<class ContainerAllocator>
00312 struct MD5Sum<fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00313 static const char* value()
00314 {
00315 return "98bf3204c7beb0638717e3f7fd31933c";
00316 }
00317
00318 static const char* value(const fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00319 };
00320
00321 template<class ContainerAllocator>
00322 struct DataType<fast_plane_detection::SetPositionRequest_<ContainerAllocator> > {
00323 static const char* value()
00324 {
00325 return "fast_plane_detection/SetPosition";
00326 }
00327
00328 static const char* value(const fast_plane_detection::SetPositionRequest_<ContainerAllocator> &) { return value(); }
00329 };
00330
00331 template<class ContainerAllocator>
00332 struct MD5Sum<fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00333 static const char* value()
00334 {
00335 return "98bf3204c7beb0638717e3f7fd31933c";
00336 }
00337
00338 static const char* value(const fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00339 };
00340
00341 template<class ContainerAllocator>
00342 struct DataType<fast_plane_detection::SetPositionResponse_<ContainerAllocator> > {
00343 static const char* value()
00344 {
00345 return "fast_plane_detection/SetPosition";
00346 }
00347
00348 static const char* value(const fast_plane_detection::SetPositionResponse_<ContainerAllocator> &) { return value(); }
00349 };
00350
00351 }
00352 }
00353
00354 #endif // FAST_PLANE_DETECTION_SERVICE_SETPOSITION_H
00355