Encoders.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-clearpath_common/doc_stacks/2014-10-05_22-49-25.060876/clearpath_common/clearpath_base/msg/Encoders.msg */
00002 #ifndef CLEARPATH_BASE_MESSAGE_ENCODERS_H
00003 #define CLEARPATH_BASE_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 #include "std_msgs/Header.h"
00018 #include "clearpath_base/Encoder.h"
00019 
00020 namespace clearpath_base
00021 {
00022 template <class ContainerAllocator>
00023 struct Encoders_ {
00024   typedef Encoders_<ContainerAllocator> Type;
00025 
00026   Encoders_()
00027   : header()
00028   , encoders()
00029   {
00030   }
00031 
00032   Encoders_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , encoders(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::clearpath_base::Encoder_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::clearpath_base::Encoder_<ContainerAllocator> >::other >  _encoders_type;
00042   std::vector< ::clearpath_base::Encoder_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::clearpath_base::Encoder_<ContainerAllocator> >::other >  encoders;
00043 
00044 
00045   typedef boost::shared_ptr< ::clearpath_base::Encoders_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::clearpath_base::Encoders_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct Encoders
00049 typedef  ::clearpath_base::Encoders_<std::allocator<void> > Encoders;
00050 
00051 typedef boost::shared_ptr< ::clearpath_base::Encoders> EncodersPtr;
00052 typedef boost::shared_ptr< ::clearpath_base::Encoders const> EncodersConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::clearpath_base::Encoders_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::clearpath_base::Encoders_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace clearpath_base
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::Encoders_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::Encoders_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::clearpath_base::Encoders_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "2ea748832c2014369ffabd316d5aad8c";
00074   }
00075 
00076   static const char* value(const  ::clearpath_base::Encoders_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x2ea748832c201436ULL;
00078   static const uint64_t static_value2 = 0x9ffabd316d5aad8cULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::clearpath_base::Encoders_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "clearpath_base/Encoders";
00086   }
00087 
00088   static const char* value(const  ::clearpath_base::Encoders_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::clearpath_base::Encoders_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 Encoder[] encoders\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: clearpath_base/Encoder\n\
00118 float64 travel\n\
00119 float64 speed\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::clearpath_base::Encoders_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator> struct HasHeader< ::clearpath_base::Encoders_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct HasHeader< const ::clearpath_base::Encoders_<ContainerAllocator> > : public TrueType {};
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136 
00137 template<class ContainerAllocator> struct Serializer< ::clearpath_base::Encoders_<ContainerAllocator> >
00138 {
00139   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140   {
00141     stream.next(m.header);
00142     stream.next(m.encoders);
00143   }
00144 
00145   ROS_DECLARE_ALLINONE_SERIALIZER;
00146 }; // struct Encoders_
00147 } // namespace serialization
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154 
00155 template<class ContainerAllocator>
00156 struct Printer< ::clearpath_base::Encoders_<ContainerAllocator> >
00157 {
00158   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::clearpath_base::Encoders_<ContainerAllocator> & v) 
00159   {
00160     s << indent << "header: ";
00161 s << std::endl;
00162     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00163     s << indent << "encoders[]" << std::endl;
00164     for (size_t i = 0; i < v.encoders.size(); ++i)
00165     {
00166       s << indent << "  encoders[" << i << "]: ";
00167       s << std::endl;
00168       s << indent;
00169       Printer< ::clearpath_base::Encoder_<ContainerAllocator> >::stream(s, indent + "    ", v.encoders[i]);
00170     }
00171   }
00172 };
00173 
00174 
00175 } // namespace message_operations
00176 } // namespace ros
00177 
00178 #endif // CLEARPATH_BASE_MESSAGE_ENCODERS_H
00179 


clearpath_base
Author(s): Mike Purvis
autogenerated on Sun Oct 5 2014 22:52:08