ScheduleLeds.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/ScheduleLeds.msg */
00002 #ifndef ROOMBA_500_SERIES_MESSAGE_SCHEDULELEDS_H
00003 #define ROOMBA_500_SERIES_MESSAGE_SCHEDULELEDS_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 ScheduleLeds_ {
00023   typedef ScheduleLeds_<ContainerAllocator> Type;
00024 
00025   ScheduleLeds_()
00026   : header()
00027   , sunday(false)
00028   , monday(false)
00029   , tuesday(false)
00030   , wednesday(false)
00031   , thursday(false)
00032   , friday(false)
00033   , saturday(false)
00034   , colon(false)
00035   , pm(false)
00036   , am(false)
00037   , clock(false)
00038   , schedule(false)
00039   {
00040   }
00041 
00042   ScheduleLeds_(const ContainerAllocator& _alloc)
00043   : header(_alloc)
00044   , sunday(false)
00045   , monday(false)
00046   , tuesday(false)
00047   , wednesday(false)
00048   , thursday(false)
00049   , friday(false)
00050   , saturday(false)
00051   , colon(false)
00052   , pm(false)
00053   , am(false)
00054   , clock(false)
00055   , schedule(false)
00056   {
00057   }
00058 
00059   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00060    ::std_msgs::Header_<ContainerAllocator>  header;
00061 
00062   typedef uint8_t _sunday_type;
00063   uint8_t sunday;
00064 
00065   typedef uint8_t _monday_type;
00066   uint8_t monday;
00067 
00068   typedef uint8_t _tuesday_type;
00069   uint8_t tuesday;
00070 
00071   typedef uint8_t _wednesday_type;
00072   uint8_t wednesday;
00073 
00074   typedef uint8_t _thursday_type;
00075   uint8_t thursday;
00076 
00077   typedef uint8_t _friday_type;
00078   uint8_t friday;
00079 
00080   typedef uint8_t _saturday_type;
00081   uint8_t saturday;
00082 
00083   typedef uint8_t _colon_type;
00084   uint8_t colon;
00085 
00086   typedef uint8_t _pm_type;
00087   uint8_t pm;
00088 
00089   typedef uint8_t _am_type;
00090   uint8_t am;
00091 
00092   typedef uint8_t _clock_type;
00093   uint8_t clock;
00094 
00095   typedef uint8_t _schedule_type;
00096   uint8_t schedule;
00097 
00098 
00099   typedef boost::shared_ptr< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::roomba_500_series::ScheduleLeds_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct ScheduleLeds
00103 typedef  ::roomba_500_series::ScheduleLeds_<std::allocator<void> > ScheduleLeds;
00104 
00105 typedef boost::shared_ptr< ::roomba_500_series::ScheduleLeds> ScheduleLedsPtr;
00106 typedef boost::shared_ptr< ::roomba_500_series::ScheduleLeds const> ScheduleLedsConstPtr;
00107 
00108 
00109 template<typename ContainerAllocator>
00110 std::ostream& operator<<(std::ostream& s, const  ::roomba_500_series::ScheduleLeds_<ContainerAllocator> & v)
00111 {
00112   ros::message_operations::Printer< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> >::stream(s, "", v);
00113   return s;}
00114 
00115 } // namespace roomba_500_series
00116 
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::ScheduleLeds_<ContainerAllocator>  const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "4c552ea7c5b68737285d12a0dee0a839";
00128   }
00129 
00130   static const char* value(const  ::roomba_500_series::ScheduleLeds_<ContainerAllocator> &) { return value(); } 
00131   static const uint64_t static_value1 = 0x4c552ea7c5b68737ULL;
00132   static const uint64_t static_value2 = 0x285d12a0dee0a839ULL;
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct DataType< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "roomba_500_series/ScheduleLeds";
00140   }
00141 
00142   static const char* value(const  ::roomba_500_series::ScheduleLeds_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct Definition< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "Header header\n\
00150 bool sunday\n\
00151 bool monday\n\
00152 bool tuesday\n\
00153 bool wednesday\n\
00154 bool thursday\n\
00155 bool friday\n\
00156 bool saturday\n\
00157 bool colon\n\
00158 bool pm\n\
00159 bool am\n\
00160 bool clock\n\
00161 bool schedule\n\
00162 \n\
00163 ================================================================================\n\
00164 MSG: std_msgs/Header\n\
00165 # Standard metadata for higher-level stamped data types.\n\
00166 # This is generally used to communicate timestamped data \n\
00167 # in a particular coordinate frame.\n\
00168 # \n\
00169 # sequence ID: consecutively increasing ID \n\
00170 uint32 seq\n\
00171 #Two-integer timestamp that is expressed as:\n\
00172 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00173 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00174 # time-handling sugar is provided by the client library\n\
00175 time stamp\n\
00176 #Frame this data is associated with\n\
00177 # 0: no frame\n\
00178 # 1: global frame\n\
00179 string frame_id\n\
00180 \n\
00181 ";
00182   }
00183 
00184   static const char* value(const  ::roomba_500_series::ScheduleLeds_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 template<class ContainerAllocator> struct HasHeader< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct HasHeader< const ::roomba_500_series::ScheduleLeds_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.header);
00202     stream.next(m.sunday);
00203     stream.next(m.monday);
00204     stream.next(m.tuesday);
00205     stream.next(m.wednesday);
00206     stream.next(m.thursday);
00207     stream.next(m.friday);
00208     stream.next(m.saturday);
00209     stream.next(m.colon);
00210     stream.next(m.pm);
00211     stream.next(m.am);
00212     stream.next(m.clock);
00213     stream.next(m.schedule);
00214   }
00215 
00216   ROS_DECLARE_ALLINONE_SERIALIZER;
00217 }; // struct ScheduleLeds_
00218 } // namespace serialization
00219 } // namespace ros
00220 
00221 namespace ros
00222 {
00223 namespace message_operations
00224 {
00225 
00226 template<class ContainerAllocator>
00227 struct Printer< ::roomba_500_series::ScheduleLeds_<ContainerAllocator> >
00228 {
00229   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roomba_500_series::ScheduleLeds_<ContainerAllocator> & v) 
00230   {
00231     s << indent << "header: ";
00232 s << std::endl;
00233     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00234     s << indent << "sunday: ";
00235     Printer<uint8_t>::stream(s, indent + "  ", v.sunday);
00236     s << indent << "monday: ";
00237     Printer<uint8_t>::stream(s, indent + "  ", v.monday);
00238     s << indent << "tuesday: ";
00239     Printer<uint8_t>::stream(s, indent + "  ", v.tuesday);
00240     s << indent << "wednesday: ";
00241     Printer<uint8_t>::stream(s, indent + "  ", v.wednesday);
00242     s << indent << "thursday: ";
00243     Printer<uint8_t>::stream(s, indent + "  ", v.thursday);
00244     s << indent << "friday: ";
00245     Printer<uint8_t>::stream(s, indent + "  ", v.friday);
00246     s << indent << "saturday: ";
00247     Printer<uint8_t>::stream(s, indent + "  ", v.saturday);
00248     s << indent << "colon: ";
00249     Printer<uint8_t>::stream(s, indent + "  ", v.colon);
00250     s << indent << "pm: ";
00251     Printer<uint8_t>::stream(s, indent + "  ", v.pm);
00252     s << indent << "am: ";
00253     Printer<uint8_t>::stream(s, indent + "  ", v.am);
00254     s << indent << "clock: ";
00255     Printer<uint8_t>::stream(s, indent + "  ", v.clock);
00256     s << indent << "schedule: ";
00257     Printer<uint8_t>::stream(s, indent + "  ", v.schedule);
00258   }
00259 };
00260 
00261 
00262 } // namespace message_operations
00263 } // namespace ros
00264 
00265 #endif // ROOMBA_500_SERIES_MESSAGE_SCHEDULELEDS_H
00266 


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