SetSpeed.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/SetSpeed.srv */
00002 #ifndef COROBOT_SRVS_SERVICE_SETSPEED_H
00003 #define COROBOT_SRVS_SERVICE_SETSPEED_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 SetSpeedRequest_ {
00026   typedef SetSpeedRequest_<ContainerAllocator> Type;
00027 
00028   SetSpeedRequest_()
00029   : left_speed(0)
00030   , right_speed(0)
00031   , speed(0)
00032   {
00033   }
00034 
00035   SetSpeedRequest_(const ContainerAllocator& _alloc)
00036   : left_speed(0)
00037   , right_speed(0)
00038   , speed(0)
00039   {
00040   }
00041 
00042   typedef int32_t _left_speed_type;
00043   int32_t left_speed;
00044 
00045   typedef int32_t _right_speed_type;
00046   int32_t right_speed;
00047 
00048   typedef int32_t _speed_type;
00049   int32_t speed;
00050 
00051 
00052   typedef boost::shared_ptr< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct SetSpeedRequest
00056 typedef  ::corobot_srvs::SetSpeedRequest_<std::allocator<void> > SetSpeedRequest;
00057 
00058 typedef boost::shared_ptr< ::corobot_srvs::SetSpeedRequest> SetSpeedRequestPtr;
00059 typedef boost::shared_ptr< ::corobot_srvs::SetSpeedRequest const> SetSpeedRequestConstPtr;
00060 
00061 
00062 template <class ContainerAllocator>
00063 struct SetSpeedResponse_ {
00064   typedef SetSpeedResponse_<ContainerAllocator> Type;
00065 
00066   SetSpeedResponse_()
00067   : err(0)
00068   {
00069   }
00070 
00071   SetSpeedResponse_(const ContainerAllocator& _alloc)
00072   : err(0)
00073   {
00074   }
00075 
00076   typedef int8_t _err_type;
00077   int8_t err;
00078 
00079 
00080   typedef boost::shared_ptr< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct SetSpeedResponse
00084 typedef  ::corobot_srvs::SetSpeedResponse_<std::allocator<void> > SetSpeedResponse;
00085 
00086 typedef boost::shared_ptr< ::corobot_srvs::SetSpeedResponse> SetSpeedResponsePtr;
00087 typedef boost::shared_ptr< ::corobot_srvs::SetSpeedResponse const> SetSpeedResponseConstPtr;
00088 
00089 struct SetSpeed
00090 {
00091 
00092 typedef SetSpeedRequest Request;
00093 typedef SetSpeedResponse Response;
00094 Request request;
00095 Response response;
00096 
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 }; // struct SetSpeed
00100 } // namespace corobot_srvs
00101 
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator>  const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "3d4471636f3bce3a963b0d137b991728";
00113   }
00114 
00115   static const char* value(const  ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> &) { return value(); } 
00116   static const uint64_t static_value1 = 0x3d4471636f3bce3aULL;
00117   static const uint64_t static_value2 = 0x963b0d137b991728ULL;
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct DataType< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "corobot_srvs/SetSpeedRequest";
00125   }
00126 
00127   static const char* value(const  ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct Definition< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "int32 left_speed\n\
00135 int32 right_speed\n\
00136 int32 speed\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> > : public TrueType {};
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator>  const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "3cd2452a26f7d8a04682f2fead8013cf";
00160   }
00161 
00162   static const char* value(const  ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> &) { return value(); } 
00163   static const uint64_t static_value1 = 0x3cd2452a26f7d8a0ULL;
00164   static const uint64_t static_value2 = 0x4682f2fead8013cfULL;
00165 };
00166 
00167 template<class ContainerAllocator>
00168 struct DataType< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "corobot_srvs/SetSpeedResponse";
00172   }
00173 
00174   static const char* value(const  ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 template<class ContainerAllocator>
00178 struct Definition< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "int8 err\n\
00182 \n\
00183 \n\
00184 ";
00185   }
00186 
00187   static const char* value(const  ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> &) { return value(); } 
00188 };
00189 
00190 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> > : public TrueType {};
00191 } // namespace message_traits
00192 } // namespace ros
00193 
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198 
00199 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::SetSpeedRequest_<ContainerAllocator> >
00200 {
00201   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202   {
00203     stream.next(m.left_speed);
00204     stream.next(m.right_speed);
00205     stream.next(m.speed);
00206   }
00207 
00208   ROS_DECLARE_ALLINONE_SERIALIZER;
00209 }; // struct SetSpeedRequest_
00210 } // namespace serialization
00211 } // namespace ros
00212 
00213 
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218 
00219 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::SetSpeedResponse_<ContainerAllocator> >
00220 {
00221   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222   {
00223     stream.next(m.err);
00224   }
00225 
00226   ROS_DECLARE_ALLINONE_SERIALIZER;
00227 }; // struct SetSpeedResponse_
00228 } // namespace serialization
00229 } // namespace ros
00230 
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<corobot_srvs::SetSpeed> {
00237   static const char* value() 
00238   {
00239     return "2fe63a67ce67826c10f43b07d0dba9cb";
00240   }
00241 
00242   static const char* value(const corobot_srvs::SetSpeed&) { return value(); } 
00243 };
00244 
00245 template<>
00246 struct DataType<corobot_srvs::SetSpeed> {
00247   static const char* value() 
00248   {
00249     return "corobot_srvs/SetSpeed";
00250   }
00251 
00252   static const char* value(const corobot_srvs::SetSpeed&) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator>
00256 struct MD5Sum<corobot_srvs::SetSpeedRequest_<ContainerAllocator> > {
00257   static const char* value() 
00258   {
00259     return "2fe63a67ce67826c10f43b07d0dba9cb";
00260   }
00261 
00262   static const char* value(const corobot_srvs::SetSpeedRequest_<ContainerAllocator> &) { return value(); } 
00263 };
00264 
00265 template<class ContainerAllocator>
00266 struct DataType<corobot_srvs::SetSpeedRequest_<ContainerAllocator> > {
00267   static const char* value() 
00268   {
00269     return "corobot_srvs/SetSpeed";
00270   }
00271 
00272   static const char* value(const corobot_srvs::SetSpeedRequest_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 template<class ContainerAllocator>
00276 struct MD5Sum<corobot_srvs::SetSpeedResponse_<ContainerAllocator> > {
00277   static const char* value() 
00278   {
00279     return "2fe63a67ce67826c10f43b07d0dba9cb";
00280   }
00281 
00282   static const char* value(const corobot_srvs::SetSpeedResponse_<ContainerAllocator> &) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct DataType<corobot_srvs::SetSpeedResponse_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "corobot_srvs/SetSpeed";
00290   }
00291 
00292   static const char* value(const corobot_srvs::SetSpeedResponse_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 } // namespace service_traits
00296 } // namespace ros
00297 
00298 #endif // COROBOT_SRVS_SERVICE_SETSPEED_H
00299 


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