Encoders.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-komodo/doc_stacks/2014-01-07_11-18-33.330297/komodo/komodo_rover/msg/Encoders.msg */
00002 #ifndef KOMODO_ROVER_MESSAGE_ENCODERS_H
00003 #define KOMODO_ROVER_MESSAGE_ENCODERS_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 
00018 namespace komodo_rover
00019 {
00020 template <class ContainerAllocator>
00021 struct Encoders_ {
00022   typedef Encoders_<ContainerAllocator> Type;
00023 
00024   Encoders_()
00025   : time_delta(0.0)
00026   , left_wheel(0)
00027   , right_wheel(0)
00028   {
00029   }
00030 
00031   Encoders_(const ContainerAllocator& _alloc)
00032   : time_delta(0.0)
00033   , left_wheel(0)
00034   , right_wheel(0)
00035   {
00036   }
00037 
00038   typedef float _time_delta_type;
00039   float time_delta;
00040 
00041   typedef int32_t _left_wheel_type;
00042   int32_t left_wheel;
00043 
00044   typedef int32_t _right_wheel_type;
00045   int32_t right_wheel;
00046 
00047 
00048   typedef boost::shared_ptr< ::komodo_rover::Encoders_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::komodo_rover::Encoders_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct Encoders
00052 typedef  ::komodo_rover::Encoders_<std::allocator<void> > Encoders;
00053 
00054 typedef boost::shared_ptr< ::komodo_rover::Encoders> EncodersPtr;
00055 typedef boost::shared_ptr< ::komodo_rover::Encoders const> EncodersConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::komodo_rover::Encoders_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::komodo_rover::Encoders_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace komodo_rover
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::komodo_rover::Encoders_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::komodo_rover::Encoders_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::komodo_rover::Encoders_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "265d820a2b35c4bff51c4a1d293ad5c0";
00077   }
00078 
00079   static const char* value(const  ::komodo_rover::Encoders_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x265d820a2b35c4bfULL;
00081   static const uint64_t static_value2 = 0xf51c4a1d293ad5c0ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::komodo_rover::Encoders_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "komodo_rover/Encoders";
00089   }
00090 
00091   static const char* value(const  ::komodo_rover::Encoders_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::komodo_rover::Encoders_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "float32 time_delta # Time since last encoder update.\n\
00099 int32 left_wheel # Encoder counts (absolute or relative)\n\
00100 int32 right_wheel # Encoder counts (absolute or relative)\n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::komodo_rover::Encoders_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator> struct IsFixedSize< ::komodo_rover::Encoders_<ContainerAllocator> > : public TrueType {};
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::komodo_rover::Encoders_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.time_delta);
00122     stream.next(m.left_wheel);
00123     stream.next(m.right_wheel);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct Encoders_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::komodo_rover::Encoders_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::komodo_rover::Encoders_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "time_delta: ";
00142     Printer<float>::stream(s, indent + "  ", v.time_delta);
00143     s << indent << "left_wheel: ";
00144     Printer<int32_t>::stream(s, indent + "  ", v.left_wheel);
00145     s << indent << "right_wheel: ";
00146     Printer<int32_t>::stream(s, indent + "  ", v.right_wheel);
00147   }
00148 };
00149 
00150 
00151 } // namespace message_operations
00152 } // namespace ros
00153 
00154 #endif // KOMODO_ROVER_MESSAGE_ENCODERS_H
00155 


komodo_rover
Author(s): RoboTiCan
autogenerated on Tue Jan 7 2014 11:20:12