WheelDrop.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/WheelDrop.msg */
00002 #ifndef ROOMBA_500_SERIES_MESSAGE_WHEELDROP_H
00003 #define ROOMBA_500_SERIES_MESSAGE_WHEELDROP_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 "roomba_500_series/RoombaSwitch.h"
00018 #include "roomba_500_series/RoombaSwitch.h"
00019 
00020 namespace roomba_500_series
00021 {
00022 template <class ContainerAllocator>
00023 struct WheelDrop_ {
00024   typedef WheelDrop_<ContainerAllocator> Type;
00025 
00026   WheelDrop_()
00027   : left()
00028   , right()
00029   {
00030   }
00031 
00032   WheelDrop_(const ContainerAllocator& _alloc)
00033   : left(_alloc)
00034   , right(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::roomba_500_series::RoombaSwitch_<ContainerAllocator>  _left_type;
00039    ::roomba_500_series::RoombaSwitch_<ContainerAllocator>  left;
00040 
00041   typedef  ::roomba_500_series::RoombaSwitch_<ContainerAllocator>  _right_type;
00042    ::roomba_500_series::RoombaSwitch_<ContainerAllocator>  right;
00043 
00044 
00045   typedef boost::shared_ptr< ::roomba_500_series::WheelDrop_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::roomba_500_series::WheelDrop_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct WheelDrop
00049 typedef  ::roomba_500_series::WheelDrop_<std::allocator<void> > WheelDrop;
00050 
00051 typedef boost::shared_ptr< ::roomba_500_series::WheelDrop> WheelDropPtr;
00052 typedef boost::shared_ptr< ::roomba_500_series::WheelDrop const> WheelDropConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::roomba_500_series::WheelDrop_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::roomba_500_series::WheelDrop_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace roomba_500_series
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::WheelDrop_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::roomba_500_series::WheelDrop_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::roomba_500_series::WheelDrop_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "0ce131cedcae0c89b4efbe13237e4425";
00074   }
00075 
00076   static const char* value(const  ::roomba_500_series::WheelDrop_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x0ce131cedcae0c89ULL;
00078   static const uint64_t static_value2 = 0xb4efbe13237e4425ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::roomba_500_series::WheelDrop_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "roomba_500_series/WheelDrop";
00086   }
00087 
00088   static const char* value(const  ::roomba_500_series::WheelDrop_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::roomba_500_series::WheelDrop_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "RoombaSwitch left\n\
00096 RoombaSwitch right\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: roomba_500_series/RoombaSwitch\n\
00100 Header header\n\
00101 bool state\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: std_msgs/Header\n\
00105 # Standard metadata for higher-level stamped data types.\n\
00106 # This is generally used to communicate timestamped data \n\
00107 # in a particular coordinate frame.\n\
00108 # \n\
00109 # sequence ID: consecutively increasing ID \n\
00110 uint32 seq\n\
00111 #Two-integer timestamp that is expressed as:\n\
00112 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00113 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00114 # time-handling sugar is provided by the client library\n\
00115 time stamp\n\
00116 #Frame this data is associated with\n\
00117 # 0: no frame\n\
00118 # 1: global frame\n\
00119 string frame_id\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::roomba_500_series::WheelDrop_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 } // namespace message_traits
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134 
00135 template<class ContainerAllocator> struct Serializer< ::roomba_500_series::WheelDrop_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.left);
00140     stream.next(m.right);
00141   }
00142 
00143   ROS_DECLARE_ALLINONE_SERIALIZER;
00144 }; // struct WheelDrop_
00145 } // namespace serialization
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace message_operations
00151 {
00152 
00153 template<class ContainerAllocator>
00154 struct Printer< ::roomba_500_series::WheelDrop_<ContainerAllocator> >
00155 {
00156   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roomba_500_series::WheelDrop_<ContainerAllocator> & v) 
00157   {
00158     s << indent << "left: ";
00159 s << std::endl;
00160     Printer< ::roomba_500_series::RoombaSwitch_<ContainerAllocator> >::stream(s, indent + "  ", v.left);
00161     s << indent << "right: ";
00162 s << std::endl;
00163     Printer< ::roomba_500_series::RoombaSwitch_<ContainerAllocator> >::stream(s, indent + "  ", v.right);
00164   }
00165 };
00166 
00167 
00168 } // namespace message_operations
00169 } // namespace ros
00170 
00171 #endif // ROOMBA_500_SERIES_MESSAGE_WHEELDROP_H
00172 


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