00001
00002 #ifndef COB_SIMPLETRAJECTORIES_SERVICE_MOVEDOORHANDLE_H
00003 #define COB_SIMPLETRAJECTORIES_SERVICE_MOVEDOORHANDLE_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 cob_simpletrajectories
00019 {
00020 template <class ContainerAllocator>
00021 struct MoveDoorHandleRequest_ : public ros::Message
00022 {
00023 typedef MoveDoorHandleRequest_<ContainerAllocator> Type;
00024
00025 MoveDoorHandleRequest_()
00026 : radius(0.0)
00027 , movingAngle(0.0)
00028 , time(0.0)
00029 , direction(false)
00030 , delay(0.0)
00031 {
00032 }
00033
00034 MoveDoorHandleRequest_(const ContainerAllocator& _alloc)
00035 : radius(0.0)
00036 , movingAngle(0.0)
00037 , time(0.0)
00038 , direction(false)
00039 , delay(0.0)
00040 {
00041 }
00042
00043 typedef double _radius_type;
00044 double radius;
00045
00046 typedef double _movingAngle_type;
00047 double movingAngle;
00048
00049 typedef double _time_type;
00050 double time;
00051
00052 typedef uint8_t _direction_type;
00053 uint8_t direction;
00054
00055 typedef double _delay_type;
00056 double delay;
00057
00058
00059 private:
00060 static const char* __s_getDataType_() { return "cob_simpletrajectories/MoveDoorHandleRequest"; }
00061 public:
00062 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00063
00064 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00065
00066 private:
00067 static const char* __s_getMD5Sum_() { return "7d0e516b317d97829d276d79ae37e8c4"; }
00068 public:
00069 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00070
00071 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00072
00073 private:
00074 static const char* __s_getServerMD5Sum_() { return "7d0e516b317d97829d276d79ae37e8c4"; }
00075 public:
00076 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00077
00078 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00079
00080 private:
00081 static const char* __s_getMessageDefinition_() { return "float64 radius\n\
00082 float64 movingAngle\n\
00083 float64 time\n\
00084 bool direction\n\
00085 float64 delay\n\
00086 \n\
00087 "; }
00088 public:
00089 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00090
00091 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00092
00093 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00094 {
00095 ros::serialization::OStream stream(write_ptr, 1000000000);
00096 ros::serialization::serialize(stream, radius);
00097 ros::serialization::serialize(stream, movingAngle);
00098 ros::serialization::serialize(stream, time);
00099 ros::serialization::serialize(stream, direction);
00100 ros::serialization::serialize(stream, delay);
00101 return stream.getData();
00102 }
00103
00104 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00105 {
00106 ros::serialization::IStream stream(read_ptr, 1000000000);
00107 ros::serialization::deserialize(stream, radius);
00108 ros::serialization::deserialize(stream, movingAngle);
00109 ros::serialization::deserialize(stream, time);
00110 ros::serialization::deserialize(stream, direction);
00111 ros::serialization::deserialize(stream, delay);
00112 return stream.getData();
00113 }
00114
00115 ROS_DEPRECATED virtual uint32_t serializationLength() const
00116 {
00117 uint32_t size = 0;
00118 size += ros::serialization::serializationLength(radius);
00119 size += ros::serialization::serializationLength(movingAngle);
00120 size += ros::serialization::serializationLength(time);
00121 size += ros::serialization::serializationLength(direction);
00122 size += ros::serialization::serializationLength(delay);
00123 return size;
00124 }
00125
00126 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > Ptr;
00127 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> const> ConstPtr;
00128 };
00129 typedef ::cob_simpletrajectories::MoveDoorHandleRequest_<std::allocator<void> > MoveDoorHandleRequest;
00130
00131 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleRequest> MoveDoorHandleRequestPtr;
00132 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleRequest const> MoveDoorHandleRequestConstPtr;
00133
00134
00135 template <class ContainerAllocator>
00136 struct MoveDoorHandleResponse_ : public ros::Message
00137 {
00138 typedef MoveDoorHandleResponse_<ContainerAllocator> Type;
00139
00140 MoveDoorHandleResponse_()
00141 {
00142 }
00143
00144 MoveDoorHandleResponse_(const ContainerAllocator& _alloc)
00145 {
00146 }
00147
00148
00149 private:
00150 static const char* __s_getDataType_() { return "cob_simpletrajectories/MoveDoorHandleResponse"; }
00151 public:
00152 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00153
00154 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00155
00156 private:
00157 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00158 public:
00159 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00160
00161 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00162
00163 private:
00164 static const char* __s_getServerMD5Sum_() { return "7d0e516b317d97829d276d79ae37e8c4"; }
00165 public:
00166 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00167
00168 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00169
00170 private:
00171 static const char* __s_getMessageDefinition_() { return "\n\
00172 "; }
00173 public:
00174 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00175
00176 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00177
00178 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00179 {
00180 ros::serialization::OStream stream(write_ptr, 1000000000);
00181 return stream.getData();
00182 }
00183
00184 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00185 {
00186 ros::serialization::IStream stream(read_ptr, 1000000000);
00187 return stream.getData();
00188 }
00189
00190 ROS_DEPRECATED virtual uint32_t serializationLength() const
00191 {
00192 uint32_t size = 0;
00193 return size;
00194 }
00195
00196 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > Ptr;
00197 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> const> ConstPtr;
00198 };
00199 typedef ::cob_simpletrajectories::MoveDoorHandleResponse_<std::allocator<void> > MoveDoorHandleResponse;
00200
00201 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleResponse> MoveDoorHandleResponsePtr;
00202 typedef boost::shared_ptr< ::cob_simpletrajectories::MoveDoorHandleResponse const> MoveDoorHandleResponseConstPtr;
00203
00204 struct MoveDoorHandle
00205 {
00206
00207 typedef MoveDoorHandleRequest Request;
00208 typedef MoveDoorHandleResponse Response;
00209 Request request;
00210 Response response;
00211
00212 typedef Request RequestType;
00213 typedef Response ResponseType;
00214 };
00215 }
00216
00217 namespace ros
00218 {
00219 namespace message_traits
00220 {
00221 template<class ContainerAllocator>
00222 struct MD5Sum< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > {
00223 static const char* value()
00224 {
00225 return "7d0e516b317d97829d276d79ae37e8c4";
00226 }
00227
00228 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> &) { return value(); }
00229 static const uint64_t static_value1 = 0x7d0e516b317d9782ULL;
00230 static const uint64_t static_value2 = 0x9d276d79ae37e8c4ULL;
00231 };
00232
00233 template<class ContainerAllocator>
00234 struct DataType< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > {
00235 static const char* value()
00236 {
00237 return "cob_simpletrajectories/MoveDoorHandleRequest";
00238 }
00239
00240 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> &) { return value(); }
00241 };
00242
00243 template<class ContainerAllocator>
00244 struct Definition< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > {
00245 static const char* value()
00246 {
00247 return "float64 radius\n\
00248 float64 movingAngle\n\
00249 float64 time\n\
00250 bool direction\n\
00251 float64 delay\n\
00252 \n\
00253 ";
00254 }
00255
00256 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator> struct IsFixedSize< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > : public TrueType {};
00260 }
00261 }
00262
00263
00264 namespace ros
00265 {
00266 namespace message_traits
00267 {
00268 template<class ContainerAllocator>
00269 struct MD5Sum< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "d41d8cd98f00b204e9800998ecf8427e";
00273 }
00274
00275 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> &) { return value(); }
00276 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00277 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct DataType< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "cob_simpletrajectories/MoveDoorHandleResponse";
00285 }
00286
00287 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct Definition< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "\n\
00295 ";
00296 }
00297
00298 static const char* value(const ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator> struct IsFixedSize< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > : public TrueType {};
00302 }
00303 }
00304
00305 namespace ros
00306 {
00307 namespace serialization
00308 {
00309
00310 template<class ContainerAllocator> struct Serializer< ::cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> >
00311 {
00312 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00313 {
00314 stream.next(m.radius);
00315 stream.next(m.movingAngle);
00316 stream.next(m.time);
00317 stream.next(m.direction);
00318 stream.next(m.delay);
00319 }
00320
00321 ROS_DECLARE_ALLINONE_SERIALIZER;
00322 };
00323 }
00324 }
00325
00326
00327 namespace ros
00328 {
00329 namespace serialization
00330 {
00331
00332 template<class ContainerAllocator> struct Serializer< ::cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> >
00333 {
00334 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00335 {
00336 }
00337
00338 ROS_DECLARE_ALLINONE_SERIALIZER;
00339 };
00340 }
00341 }
00342
00343 namespace ros
00344 {
00345 namespace service_traits
00346 {
00347 template<>
00348 struct MD5Sum<cob_simpletrajectories::MoveDoorHandle> {
00349 static const char* value()
00350 {
00351 return "7d0e516b317d97829d276d79ae37e8c4";
00352 }
00353
00354 static const char* value(const cob_simpletrajectories::MoveDoorHandle&) { return value(); }
00355 };
00356
00357 template<>
00358 struct DataType<cob_simpletrajectories::MoveDoorHandle> {
00359 static const char* value()
00360 {
00361 return "cob_simpletrajectories/MoveDoorHandle";
00362 }
00363
00364 static const char* value(const cob_simpletrajectories::MoveDoorHandle&) { return value(); }
00365 };
00366
00367 template<class ContainerAllocator>
00368 struct MD5Sum<cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > {
00369 static const char* value()
00370 {
00371 return "7d0e516b317d97829d276d79ae37e8c4";
00372 }
00373
00374 static const char* value(const cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> &) { return value(); }
00375 };
00376
00377 template<class ContainerAllocator>
00378 struct DataType<cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> > {
00379 static const char* value()
00380 {
00381 return "cob_simpletrajectories/MoveDoorHandle";
00382 }
00383
00384 static const char* value(const cob_simpletrajectories::MoveDoorHandleRequest_<ContainerAllocator> &) { return value(); }
00385 };
00386
00387 template<class ContainerAllocator>
00388 struct MD5Sum<cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > {
00389 static const char* value()
00390 {
00391 return "7d0e516b317d97829d276d79ae37e8c4";
00392 }
00393
00394 static const char* value(const cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> &) { return value(); }
00395 };
00396
00397 template<class ContainerAllocator>
00398 struct DataType<cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> > {
00399 static const char* value()
00400 {
00401 return "cob_simpletrajectories/MoveDoorHandle";
00402 }
00403
00404 static const char* value(const cob_simpletrajectories::MoveDoorHandleResponse_<ContainerAllocator> &) { return value(); }
00405 };
00406
00407 }
00408 }
00409
00410 #endif // COB_SIMPLETRAJECTORIES_SERVICE_MOVEDOORHANDLE_H
00411