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


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