LightMode.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_driver/doc_stacks/2013-01-17_12-03-58.462905/cob_driver/cob_lightmode/srv/LightMode.srv */
00002 #ifndef COB_LIGHTMODE_SERVICE_LIGHTMODE_H
00003 #define COB_LIGHTMODE_SERVICE_LIGHTMODE_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 #include "std_msgs/ColorRGBA.h"
00020 
00021 
00022 
00023 namespace cob_lightmode
00024 {
00025 template <class ContainerAllocator>
00026 struct LightModeRequest_ {
00027   typedef LightModeRequest_<ContainerAllocator> Type;
00028 
00029   LightModeRequest_()
00030   : mode(0)
00031   , color()
00032   {
00033   }
00034 
00035   LightModeRequest_(const ContainerAllocator& _alloc)
00036   : mode(0)
00037   , color(_alloc)
00038   {
00039   }
00040 
00041   typedef int32_t _mode_type;
00042   int32_t mode;
00043 
00044   typedef  ::std_msgs::ColorRGBA_<ContainerAllocator>  _color_type;
00045    ::std_msgs::ColorRGBA_<ContainerAllocator>  color;
00046 
00047 
00048   typedef boost::shared_ptr< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::cob_lightmode::LightModeRequest_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct LightModeRequest
00052 typedef  ::cob_lightmode::LightModeRequest_<std::allocator<void> > LightModeRequest;
00053 
00054 typedef boost::shared_ptr< ::cob_lightmode::LightModeRequest> LightModeRequestPtr;
00055 typedef boost::shared_ptr< ::cob_lightmode::LightModeRequest const> LightModeRequestConstPtr;
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct LightModeResponse_ {
00060   typedef LightModeResponse_<ContainerAllocator> Type;
00061 
00062   LightModeResponse_()
00063   : error_type(0)
00064   , error_msg()
00065   {
00066   }
00067 
00068   LightModeResponse_(const ContainerAllocator& _alloc)
00069   : error_type(0)
00070   , error_msg(_alloc)
00071   {
00072   }
00073 
00074   typedef int32_t _error_type_type;
00075   int32_t error_type;
00076 
00077   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_msg_type;
00078   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_msg;
00079 
00080 
00081   typedef boost::shared_ptr< ::cob_lightmode::LightModeResponse_<ContainerAllocator> > Ptr;
00082   typedef boost::shared_ptr< ::cob_lightmode::LightModeResponse_<ContainerAllocator>  const> ConstPtr;
00083   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 }; // struct LightModeResponse
00085 typedef  ::cob_lightmode::LightModeResponse_<std::allocator<void> > LightModeResponse;
00086 
00087 typedef boost::shared_ptr< ::cob_lightmode::LightModeResponse> LightModeResponsePtr;
00088 typedef boost::shared_ptr< ::cob_lightmode::LightModeResponse const> LightModeResponseConstPtr;
00089 
00090 struct LightMode
00091 {
00092 
00093 typedef LightModeRequest Request;
00094 typedef LightModeResponse Response;
00095 Request request;
00096 Response response;
00097 
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 }; // struct LightMode
00101 } // namespace cob_lightmode
00102 
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::cob_lightmode::LightModeRequest_<ContainerAllocator>  const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "368658e7feae72d08c2715eeb4c7b2d9";
00114   }
00115 
00116   static const char* value(const  ::cob_lightmode::LightModeRequest_<ContainerAllocator> &) { return value(); } 
00117   static const uint64_t static_value1 = 0x368658e7feae72d0ULL;
00118   static const uint64_t static_value2 = 0x8c2715eeb4c7b2d9ULL;
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct DataType< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "cob_lightmode/LightModeRequest";
00126   }
00127 
00128   static const char* value(const  ::cob_lightmode::LightModeRequest_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct Definition< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "int32 mode\n\
00136 std_msgs/ColorRGBA color\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: std_msgs/ColorRGBA\n\
00140 float32 r\n\
00141 float32 g\n\
00142 float32 b\n\
00143 float32 a\n\
00144 \n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::cob_lightmode::LightModeRequest_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator> struct IsFixedSize< ::cob_lightmode::LightModeRequest_<ContainerAllocator> > : public TrueType {};
00152 } // namespace message_traits
00153 } // namespace ros
00154 
00155 
00156 namespace ros
00157 {
00158 namespace message_traits
00159 {
00160 template<class ContainerAllocator> struct IsMessage< ::cob_lightmode::LightModeResponse_<ContainerAllocator> > : public TrueType {};
00161 template<class ContainerAllocator> struct IsMessage< ::cob_lightmode::LightModeResponse_<ContainerAllocator>  const> : public TrueType {};
00162 template<class ContainerAllocator>
00163 struct MD5Sum< ::cob_lightmode::LightModeResponse_<ContainerAllocator> > {
00164   static const char* value() 
00165   {
00166     return "70fb6e48e8cdd4279997f73b5e61a8d3";
00167   }
00168 
00169   static const char* value(const  ::cob_lightmode::LightModeResponse_<ContainerAllocator> &) { return value(); } 
00170   static const uint64_t static_value1 = 0x70fb6e48e8cdd427ULL;
00171   static const uint64_t static_value2 = 0x9997f73b5e61a8d3ULL;
00172 };
00173 
00174 template<class ContainerAllocator>
00175 struct DataType< ::cob_lightmode::LightModeResponse_<ContainerAllocator> > {
00176   static const char* value() 
00177   {
00178     return "cob_lightmode/LightModeResponse";
00179   }
00180 
00181   static const char* value(const  ::cob_lightmode::LightModeResponse_<ContainerAllocator> &) { return value(); } 
00182 };
00183 
00184 template<class ContainerAllocator>
00185 struct Definition< ::cob_lightmode::LightModeResponse_<ContainerAllocator> > {
00186   static const char* value() 
00187   {
00188     return "int32 error_type\n\
00189 string error_msg\n\
00190 \n\
00191 \n\
00192 ";
00193   }
00194 
00195   static const char* value(const  ::cob_lightmode::LightModeResponse_<ContainerAllocator> &) { return value(); } 
00196 };
00197 
00198 } // namespace message_traits
00199 } // namespace ros
00200 
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205 
00206 template<class ContainerAllocator> struct Serializer< ::cob_lightmode::LightModeRequest_<ContainerAllocator> >
00207 {
00208   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209   {
00210     stream.next(m.mode);
00211     stream.next(m.color);
00212   }
00213 
00214   ROS_DECLARE_ALLINONE_SERIALIZER;
00215 }; // struct LightModeRequest_
00216 } // namespace serialization
00217 } // namespace ros
00218 
00219 
00220 namespace ros
00221 {
00222 namespace serialization
00223 {
00224 
00225 template<class ContainerAllocator> struct Serializer< ::cob_lightmode::LightModeResponse_<ContainerAllocator> >
00226 {
00227   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00228   {
00229     stream.next(m.error_type);
00230     stream.next(m.error_msg);
00231   }
00232 
00233   ROS_DECLARE_ALLINONE_SERIALIZER;
00234 }; // struct LightModeResponse_
00235 } // namespace serialization
00236 } // namespace ros
00237 
00238 namespace ros
00239 {
00240 namespace service_traits
00241 {
00242 template<>
00243 struct MD5Sum<cob_lightmode::LightMode> {
00244   static const char* value() 
00245   {
00246     return "6116a3e4964d803aabbed484e797d809";
00247   }
00248 
00249   static const char* value(const cob_lightmode::LightMode&) { return value(); } 
00250 };
00251 
00252 template<>
00253 struct DataType<cob_lightmode::LightMode> {
00254   static const char* value() 
00255   {
00256     return "cob_lightmode/LightMode";
00257   }
00258 
00259   static const char* value(const cob_lightmode::LightMode&) { return value(); } 
00260 };
00261 
00262 template<class ContainerAllocator>
00263 struct MD5Sum<cob_lightmode::LightModeRequest_<ContainerAllocator> > {
00264   static const char* value() 
00265   {
00266     return "6116a3e4964d803aabbed484e797d809";
00267   }
00268 
00269   static const char* value(const cob_lightmode::LightModeRequest_<ContainerAllocator> &) { return value(); } 
00270 };
00271 
00272 template<class ContainerAllocator>
00273 struct DataType<cob_lightmode::LightModeRequest_<ContainerAllocator> > {
00274   static const char* value() 
00275   {
00276     return "cob_lightmode/LightMode";
00277   }
00278 
00279   static const char* value(const cob_lightmode::LightModeRequest_<ContainerAllocator> &) { return value(); } 
00280 };
00281 
00282 template<class ContainerAllocator>
00283 struct MD5Sum<cob_lightmode::LightModeResponse_<ContainerAllocator> > {
00284   static const char* value() 
00285   {
00286     return "6116a3e4964d803aabbed484e797d809";
00287   }
00288 
00289   static const char* value(const cob_lightmode::LightModeResponse_<ContainerAllocator> &) { return value(); } 
00290 };
00291 
00292 template<class ContainerAllocator>
00293 struct DataType<cob_lightmode::LightModeResponse_<ContainerAllocator> > {
00294   static const char* value() 
00295   {
00296     return "cob_lightmode/LightMode";
00297   }
00298 
00299   static const char* value(const cob_lightmode::LightModeResponse_<ContainerAllocator> &) { return value(); } 
00300 };
00301 
00302 } // namespace service_traits
00303 } // namespace ros
00304 
00305 #endif // COB_LIGHTMODE_SERVICE_LIGHTMODE_H
00306 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 12:16:04