Tank.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-brown_drivers/doc_stacks/2014-01-03_11-09-06.156299/brown_drivers/irobot_create_2_1/srv/Tank.srv */
00002 #ifndef IROBOT_CREATE_2_1_SERVICE_TANK_H
00003 #define IROBOT_CREATE_2_1_SERVICE_TANK_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 irobot_create_2_1
00023 {
00024 template <class ContainerAllocator>
00025 struct TankRequest_ {
00026   typedef TankRequest_<ContainerAllocator> Type;
00027 
00028   TankRequest_()
00029   : clear(false)
00030   , left(0)
00031   , right(0)
00032   {
00033   }
00034 
00035   TankRequest_(const ContainerAllocator& _alloc)
00036   : clear(false)
00037   , left(0)
00038   , right(0)
00039   {
00040   }
00041 
00042   typedef uint8_t _clear_type;
00043   uint8_t clear;
00044 
00045   typedef int16_t _left_type;
00046   int16_t left;
00047 
00048   typedef int16_t _right_type;
00049   int16_t right;
00050 
00051 
00052   typedef boost::shared_ptr< ::irobot_create_2_1::TankRequest_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::irobot_create_2_1::TankRequest_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct TankRequest
00056 typedef  ::irobot_create_2_1::TankRequest_<std::allocator<void> > TankRequest;
00057 
00058 typedef boost::shared_ptr< ::irobot_create_2_1::TankRequest> TankRequestPtr;
00059 typedef boost::shared_ptr< ::irobot_create_2_1::TankRequest const> TankRequestConstPtr;
00060 
00061 
00062 template <class ContainerAllocator>
00063 struct TankResponse_ {
00064   typedef TankResponse_<ContainerAllocator> Type;
00065 
00066   TankResponse_()
00067   : success(false)
00068   {
00069   }
00070 
00071   TankResponse_(const ContainerAllocator& _alloc)
00072   : success(false)
00073   {
00074   }
00075 
00076   typedef uint8_t _success_type;
00077   uint8_t success;
00078 
00079 
00080   typedef boost::shared_ptr< ::irobot_create_2_1::TankResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::irobot_create_2_1::TankResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct TankResponse
00084 typedef  ::irobot_create_2_1::TankResponse_<std::allocator<void> > TankResponse;
00085 
00086 typedef boost::shared_ptr< ::irobot_create_2_1::TankResponse> TankResponsePtr;
00087 typedef boost::shared_ptr< ::irobot_create_2_1::TankResponse const> TankResponseConstPtr;
00088 
00089 struct Tank
00090 {
00091 
00092 typedef TankRequest Request;
00093 typedef TankResponse Response;
00094 Request request;
00095 Response response;
00096 
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 }; // struct Tank
00100 } // namespace irobot_create_2_1
00101 
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::irobot_create_2_1::TankRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::irobot_create_2_1::TankRequest_<ContainerAllocator>  const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::irobot_create_2_1::TankRequest_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "c7893eae2d5c5450b4f137c7c7f29b99";
00113   }
00114 
00115   static const char* value(const  ::irobot_create_2_1::TankRequest_<ContainerAllocator> &) { return value(); } 
00116   static const uint64_t static_value1 = 0xc7893eae2d5c5450ULL;
00117   static const uint64_t static_value2 = 0xb4f137c7c7f29b99ULL;
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct DataType< ::irobot_create_2_1::TankRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "irobot_create_2_1/TankRequest";
00125   }
00126 
00127   static const char* value(const  ::irobot_create_2_1::TankRequest_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct Definition< ::irobot_create_2_1::TankRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "bool clear\n\
00135 int16 left\n\
00136 int16 right\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::irobot_create_2_1::TankRequest_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 template<class ContainerAllocator> struct IsFixedSize< ::irobot_create_2_1::TankRequest_<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< ::irobot_create_2_1::TankResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::irobot_create_2_1::TankResponse_<ContainerAllocator>  const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::irobot_create_2_1::TankResponse_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "358e233cde0c8a8bcfea4ce193f8fc15";
00160   }
00161 
00162   static const char* value(const  ::irobot_create_2_1::TankResponse_<ContainerAllocator> &) { return value(); } 
00163   static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00164   static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00165 };
00166 
00167 template<class ContainerAllocator>
00168 struct DataType< ::irobot_create_2_1::TankResponse_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "irobot_create_2_1/TankResponse";
00172   }
00173 
00174   static const char* value(const  ::irobot_create_2_1::TankResponse_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 template<class ContainerAllocator>
00178 struct Definition< ::irobot_create_2_1::TankResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "bool success\n\
00182 \n\
00183 \n\
00184 ";
00185   }
00186 
00187   static const char* value(const  ::irobot_create_2_1::TankResponse_<ContainerAllocator> &) { return value(); } 
00188 };
00189 
00190 template<class ContainerAllocator> struct IsFixedSize< ::irobot_create_2_1::TankResponse_<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< ::irobot_create_2_1::TankRequest_<ContainerAllocator> >
00200 {
00201   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202   {
00203     stream.next(m.clear);
00204     stream.next(m.left);
00205     stream.next(m.right);
00206   }
00207 
00208   ROS_DECLARE_ALLINONE_SERIALIZER;
00209 }; // struct TankRequest_
00210 } // namespace serialization
00211 } // namespace ros
00212 
00213 
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218 
00219 template<class ContainerAllocator> struct Serializer< ::irobot_create_2_1::TankResponse_<ContainerAllocator> >
00220 {
00221   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222   {
00223     stream.next(m.success);
00224   }
00225 
00226   ROS_DECLARE_ALLINONE_SERIALIZER;
00227 }; // struct TankResponse_
00228 } // namespace serialization
00229 } // namespace ros
00230 
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<irobot_create_2_1::Tank> {
00237   static const char* value() 
00238   {
00239     return "745f1885a9f717c8b4a13cfddf382c30";
00240   }
00241 
00242   static const char* value(const irobot_create_2_1::Tank&) { return value(); } 
00243 };
00244 
00245 template<>
00246 struct DataType<irobot_create_2_1::Tank> {
00247   static const char* value() 
00248   {
00249     return "irobot_create_2_1/Tank";
00250   }
00251 
00252   static const char* value(const irobot_create_2_1::Tank&) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator>
00256 struct MD5Sum<irobot_create_2_1::TankRequest_<ContainerAllocator> > {
00257   static const char* value() 
00258   {
00259     return "745f1885a9f717c8b4a13cfddf382c30";
00260   }
00261 
00262   static const char* value(const irobot_create_2_1::TankRequest_<ContainerAllocator> &) { return value(); } 
00263 };
00264 
00265 template<class ContainerAllocator>
00266 struct DataType<irobot_create_2_1::TankRequest_<ContainerAllocator> > {
00267   static const char* value() 
00268   {
00269     return "irobot_create_2_1/Tank";
00270   }
00271 
00272   static const char* value(const irobot_create_2_1::TankRequest_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 template<class ContainerAllocator>
00276 struct MD5Sum<irobot_create_2_1::TankResponse_<ContainerAllocator> > {
00277   static const char* value() 
00278   {
00279     return "745f1885a9f717c8b4a13cfddf382c30";
00280   }
00281 
00282   static const char* value(const irobot_create_2_1::TankResponse_<ContainerAllocator> &) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct DataType<irobot_create_2_1::TankResponse_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "irobot_create_2_1/Tank";
00290   }
00291 
00292   static const char* value(const irobot_create_2_1::TankResponse_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 } // namespace service_traits
00296 } // namespace ros
00297 
00298 #endif // IROBOT_CREATE_2_1_SERVICE_TANK_H
00299 


irobot_create_2_1
Author(s): Graylin Trevor Jay, Brian Thomas
autogenerated on Fri Jan 3 2014 11:10:15