Leds.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-isr-uc-ros-pkg/doc_stacks/2014-01-06_11-21-59.047934/roomba_robot/roomba_500_series/msg/Leds.msg */
00002 #ifndef ROOMBA_500_SERIES_MESSAGE_LEDS_H
00003 #define ROOMBA_500_SERIES_MESSAGE_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 "std_msgs/Header.h"
00018 
00019 namespace roomba_500_series
00020 {
00021 template <class ContainerAllocator>
00022 struct Leds_ {
00023   typedef Leds_<ContainerAllocator> Type;
00024 
00025   Leds_()
00026   : header()
00027   , warning(false)
00028   , dock(false)
00029   , spot(false)
00030   , dirt_detect(false)
00031   , clean_color(0)
00032   , clean_intensity(0)
00033   {
00034   }
00035 
00036   Leds_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , warning(false)
00039   , dock(false)
00040   , spot(false)
00041   , dirt_detect(false)
00042   , clean_color(0)
00043   , clean_intensity(0)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef uint8_t _warning_type;
00051   uint8_t warning;
00052 
00053   typedef uint8_t _dock_type;
00054   uint8_t dock;
00055 
00056   typedef uint8_t _spot_type;
00057   uint8_t spot;
00058 
00059   typedef uint8_t _dirt_detect_type;
00060   uint8_t dirt_detect;
00061 
00062   typedef uint8_t _clean_color_type;
00063   uint8_t clean_color;
00064 
00065   typedef uint8_t _clean_intensity_type;
00066   uint8_t clean_intensity;
00067 
00068 
00069   typedef boost::shared_ptr< ::roomba_500_series::Leds_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::roomba_500_series::Leds_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct Leds
00073 typedef  ::roomba_500_series::Leds_<std::allocator<void> > Leds;
00074 
00075 typedef boost::shared_ptr< ::roomba_500_series::Leds> LedsPtr;
00076 typedef boost::shared_ptr< ::roomba_500_series::Leds const> LedsConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::roomba_500_series::Leds_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::roomba_500_series::Leds_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace roomba_500_series
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::Leds_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::Leds_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::roomba_500_series::Leds_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "d69ee7dfd55b5e80fe8d68fdc28e3612";
00098   }
00099 
00100   static const char* value(const  ::roomba_500_series::Leds_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0xd69ee7dfd55b5e80ULL;
00102   static const uint64_t static_value2 = 0xfe8d68fdc28e3612ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::roomba_500_series::Leds_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "roomba_500_series/Leds";
00110   }
00111 
00112   static const char* value(const  ::roomba_500_series::Leds_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::roomba_500_series::Leds_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "Header header\n\
00120 bool warning\n\
00121 bool dock\n\
00122 bool spot\n\
00123 bool dirt_detect\n\
00124 uint8 clean_color\n\
00125 uint8 clean_intensity\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: std_msgs/Header\n\
00129 # Standard metadata for higher-level stamped data types.\n\
00130 # This is generally used to communicate timestamped data \n\
00131 # in a particular coordinate frame.\n\
00132 # \n\
00133 # sequence ID: consecutively increasing ID \n\
00134 uint32 seq\n\
00135 #Two-integer timestamp that is expressed as:\n\
00136 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00137 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00138 # time-handling sugar is provided by the client library\n\
00139 time stamp\n\
00140 #Frame this data is associated with\n\
00141 # 0: no frame\n\
00142 # 1: global frame\n\
00143 string frame_id\n\
00144 \n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::roomba_500_series::Leds_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator> struct HasHeader< ::roomba_500_series::Leds_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct HasHeader< const ::roomba_500_series::Leds_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace serialization
00159 {
00160 
00161 template<class ContainerAllocator> struct Serializer< ::roomba_500_series::Leds_<ContainerAllocator> >
00162 {
00163   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00164   {
00165     stream.next(m.header);
00166     stream.next(m.warning);
00167     stream.next(m.dock);
00168     stream.next(m.spot);
00169     stream.next(m.dirt_detect);
00170     stream.next(m.clean_color);
00171     stream.next(m.clean_intensity);
00172   }
00173 
00174   ROS_DECLARE_ALLINONE_SERIALIZER;
00175 }; // struct Leds_
00176 } // namespace serialization
00177 } // namespace ros
00178 
00179 namespace ros
00180 {
00181 namespace message_operations
00182 {
00183 
00184 template<class ContainerAllocator>
00185 struct Printer< ::roomba_500_series::Leds_<ContainerAllocator> >
00186 {
00187   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roomba_500_series::Leds_<ContainerAllocator> & v) 
00188   {
00189     s << indent << "header: ";
00190 s << std::endl;
00191     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00192     s << indent << "warning: ";
00193     Printer<uint8_t>::stream(s, indent + "  ", v.warning);
00194     s << indent << "dock: ";
00195     Printer<uint8_t>::stream(s, indent + "  ", v.dock);
00196     s << indent << "spot: ";
00197     Printer<uint8_t>::stream(s, indent + "  ", v.spot);
00198     s << indent << "dirt_detect: ";
00199     Printer<uint8_t>::stream(s, indent + "  ", v.dirt_detect);
00200     s << indent << "clean_color: ";
00201     Printer<uint8_t>::stream(s, indent + "  ", v.clean_color);
00202     s << indent << "clean_intensity: ";
00203     Printer<uint8_t>::stream(s, indent + "  ", v.clean_intensity);
00204   }
00205 };
00206 
00207 
00208 } // namespace message_operations
00209 } // namespace ros
00210 
00211 #endif // ROOMBA_500_SERIES_MESSAGE_LEDS_H
00212 


roomba_500_series
Author(s): Gonçalo Cabrita
autogenerated on Mon Jan 6 2014 11:26:40