Move.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roscorobot/doc_stacks/2014-01-07_11-36-17.541726/Corobot/corobot_srvs/srv/Move.srv */
00002 #ifndef COROBOT_SRVS_SERVICE_MOVE_H
00003 #define COROBOT_SRVS_SERVICE_MOVE_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 corobot_srvs
00023 {
00024 template <class ContainerAllocator>
00025 struct MoveRequest_ {
00026   typedef MoveRequest_<ContainerAllocator> Type;
00027 
00028   MoveRequest_()
00029   : leftSpeed(0)
00030   , rightSpeed(0)
00031   , secondsDuration(0)
00032   , acceleration(0)
00033   {
00034   }
00035 
00036   MoveRequest_(const ContainerAllocator& _alloc)
00037   : leftSpeed(0)
00038   , rightSpeed(0)
00039   , secondsDuration(0)
00040   , acceleration(0)
00041   {
00042   }
00043 
00044   typedef int16_t _leftSpeed_type;
00045   int16_t leftSpeed;
00046 
00047   typedef int16_t _rightSpeed_type;
00048   int16_t rightSpeed;
00049 
00050   typedef uint16_t _secondsDuration_type;
00051   uint16_t secondsDuration;
00052 
00053   typedef uint16_t _acceleration_type;
00054   uint16_t acceleration;
00055 
00056 
00057   typedef boost::shared_ptr< ::corobot_srvs::MoveRequest_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::corobot_srvs::MoveRequest_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct MoveRequest
00061 typedef  ::corobot_srvs::MoveRequest_<std::allocator<void> > MoveRequest;
00062 
00063 typedef boost::shared_ptr< ::corobot_srvs::MoveRequest> MoveRequestPtr;
00064 typedef boost::shared_ptr< ::corobot_srvs::MoveRequest const> MoveRequestConstPtr;
00065 
00066 
00067 template <class ContainerAllocator>
00068 struct MoveResponse_ {
00069   typedef MoveResponse_<ContainerAllocator> Type;
00070 
00071   MoveResponse_()
00072   : succeeded(false)
00073   {
00074   }
00075 
00076   MoveResponse_(const ContainerAllocator& _alloc)
00077   : succeeded(false)
00078   {
00079   }
00080 
00081   typedef uint8_t _succeeded_type;
00082   uint8_t succeeded;
00083 
00084 
00085   typedef boost::shared_ptr< ::corobot_srvs::MoveResponse_<ContainerAllocator> > Ptr;
00086   typedef boost::shared_ptr< ::corobot_srvs::MoveResponse_<ContainerAllocator>  const> ConstPtr;
00087   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 }; // struct MoveResponse
00089 typedef  ::corobot_srvs::MoveResponse_<std::allocator<void> > MoveResponse;
00090 
00091 typedef boost::shared_ptr< ::corobot_srvs::MoveResponse> MoveResponsePtr;
00092 typedef boost::shared_ptr< ::corobot_srvs::MoveResponse const> MoveResponseConstPtr;
00093 
00094 struct Move
00095 {
00096 
00097 typedef MoveRequest Request;
00098 typedef MoveResponse Response;
00099 Request request;
00100 Response response;
00101 
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 }; // struct Move
00105 } // namespace corobot_srvs
00106 
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveRequest_<ContainerAllocator>  const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::corobot_srvs::MoveRequest_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "451c087bf7cd0b5ee063409877e152e9";
00118   }
00119 
00120   static const char* value(const  ::corobot_srvs::MoveRequest_<ContainerAllocator> &) { return value(); } 
00121   static const uint64_t static_value1 = 0x451c087bf7cd0b5eULL;
00122   static const uint64_t static_value2 = 0xe063409877e152e9ULL;
00123 };
00124 
00125 template<class ContainerAllocator>
00126 struct DataType< ::corobot_srvs::MoveRequest_<ContainerAllocator> > {
00127   static const char* value() 
00128   {
00129     return "corobot_srvs/MoveRequest";
00130   }
00131 
00132   static const char* value(const  ::corobot_srvs::MoveRequest_<ContainerAllocator> &) { return value(); } 
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct Definition< ::corobot_srvs::MoveRequest_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "\n\
00140 \n\
00141 \n\
00142 \n\
00143 \n\
00144 \n\
00145 \n\
00146 \n\
00147 \n\
00148 \n\
00149 \n\
00150 \n\
00151 int16 leftSpeed\n\
00152 int16 rightSpeed\n\
00153 \n\
00154 \n\
00155 \n\
00156 \n\
00157 \n\
00158 \n\
00159 \n\
00160 uint16 secondsDuration\n\
00161 \n\
00162 \n\
00163 \n\
00164 \n\
00165 \n\
00166 \n\
00167 uint16 acceleration\n\
00168 \n\
00169 ";
00170   }
00171 
00172   static const char* value(const  ::corobot_srvs::MoveRequest_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::MoveRequest_<ContainerAllocator> > : public TrueType {};
00176 } // namespace message_traits
00177 } // namespace ros
00178 
00179 
00180 namespace ros
00181 {
00182 namespace message_traits
00183 {
00184 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveResponse_<ContainerAllocator> > : public TrueType {};
00185 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveResponse_<ContainerAllocator>  const> : public TrueType {};
00186 template<class ContainerAllocator>
00187 struct MD5Sum< ::corobot_srvs::MoveResponse_<ContainerAllocator> > {
00188   static const char* value() 
00189   {
00190     return "95e696a0d10686913abb262e0b4cbbcf";
00191   }
00192 
00193   static const char* value(const  ::corobot_srvs::MoveResponse_<ContainerAllocator> &) { return value(); } 
00194   static const uint64_t static_value1 = 0x95e696a0d1068691ULL;
00195   static const uint64_t static_value2 = 0x3abb262e0b4cbbcfULL;
00196 };
00197 
00198 template<class ContainerAllocator>
00199 struct DataType< ::corobot_srvs::MoveResponse_<ContainerAllocator> > {
00200   static const char* value() 
00201   {
00202     return "corobot_srvs/MoveResponse";
00203   }
00204 
00205   static const char* value(const  ::corobot_srvs::MoveResponse_<ContainerAllocator> &) { return value(); } 
00206 };
00207 
00208 template<class ContainerAllocator>
00209 struct Definition< ::corobot_srvs::MoveResponse_<ContainerAllocator> > {
00210   static const char* value() 
00211   {
00212     return "\n\
00213 \n\
00214 \n\
00215 \n\
00216 bool succeeded\n\
00217 \n\
00218 \n\
00219 ";
00220   }
00221 
00222   static const char* value(const  ::corobot_srvs::MoveResponse_<ContainerAllocator> &) { return value(); } 
00223 };
00224 
00225 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::MoveResponse_<ContainerAllocator> > : public TrueType {};
00226 } // namespace message_traits
00227 } // namespace ros
00228 
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233 
00234 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::MoveRequest_<ContainerAllocator> >
00235 {
00236   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237   {
00238     stream.next(m.leftSpeed);
00239     stream.next(m.rightSpeed);
00240     stream.next(m.secondsDuration);
00241     stream.next(m.acceleration);
00242   }
00243 
00244   ROS_DECLARE_ALLINONE_SERIALIZER;
00245 }; // struct MoveRequest_
00246 } // namespace serialization
00247 } // namespace ros
00248 
00249 
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254 
00255 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::MoveResponse_<ContainerAllocator> >
00256 {
00257   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258   {
00259     stream.next(m.succeeded);
00260   }
00261 
00262   ROS_DECLARE_ALLINONE_SERIALIZER;
00263 }; // struct MoveResponse_
00264 } // namespace serialization
00265 } // namespace ros
00266 
00267 namespace ros
00268 {
00269 namespace service_traits
00270 {
00271 template<>
00272 struct MD5Sum<corobot_srvs::Move> {
00273   static const char* value() 
00274   {
00275     return "69ab499da909d189bb9422ee7dce103d";
00276   }
00277 
00278   static const char* value(const corobot_srvs::Move&) { return value(); } 
00279 };
00280 
00281 template<>
00282 struct DataType<corobot_srvs::Move> {
00283   static const char* value() 
00284   {
00285     return "corobot_srvs/Move";
00286   }
00287 
00288   static const char* value(const corobot_srvs::Move&) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct MD5Sum<corobot_srvs::MoveRequest_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "69ab499da909d189bb9422ee7dce103d";
00296   }
00297 
00298   static const char* value(const corobot_srvs::MoveRequest_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 template<class ContainerAllocator>
00302 struct DataType<corobot_srvs::MoveRequest_<ContainerAllocator> > {
00303   static const char* value() 
00304   {
00305     return "corobot_srvs/Move";
00306   }
00307 
00308   static const char* value(const corobot_srvs::MoveRequest_<ContainerAllocator> &) { return value(); } 
00309 };
00310 
00311 template<class ContainerAllocator>
00312 struct MD5Sum<corobot_srvs::MoveResponse_<ContainerAllocator> > {
00313   static const char* value() 
00314   {
00315     return "69ab499da909d189bb9422ee7dce103d";
00316   }
00317 
00318   static const char* value(const corobot_srvs::MoveResponse_<ContainerAllocator> &) { return value(); } 
00319 };
00320 
00321 template<class ContainerAllocator>
00322 struct DataType<corobot_srvs::MoveResponse_<ContainerAllocator> > {
00323   static const char* value() 
00324   {
00325     return "corobot_srvs/Move";
00326   }
00327 
00328   static const char* value(const corobot_srvs::MoveResponse_<ContainerAllocator> &) { return value(); } 
00329 };
00330 
00331 } // namespace service_traits
00332 } // namespace ros
00333 
00334 #endif // COROBOT_SRVS_SERVICE_MOVE_H
00335 


corobot_srvs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:11