StampedEncoders.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/yam/ros_workspace/robonoa/roboteq/msg/StampedEncoders.msg */
00002 #ifndef ROBOTEQ_MESSAGE_STAMPEDENCODERS_H
00003 #define ROBOTEQ_MESSAGE_STAMPEDENCODERS_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 "roboteq/Encoders.h"
00019 
00020 namespace roboteq
00021 {
00022 template <class ContainerAllocator>
00023 struct StampedEncoders_ {
00024   typedef StampedEncoders_<ContainerAllocator> Type;
00025 
00026   StampedEncoders_()
00027   : header()
00028   , encoders()
00029   {
00030   }
00031 
00032   StampedEncoders_(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  ::roboteq::Encoders_<ContainerAllocator>  _encoders_type;
00042    ::roboteq::Encoders_<ContainerAllocator>  encoders;
00043 
00044 
00045   typedef boost::shared_ptr< ::roboteq::StampedEncoders_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::roboteq::StampedEncoders_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct StampedEncoders
00049 typedef  ::roboteq::StampedEncoders_<std::allocator<void> > StampedEncoders;
00050 
00051 typedef boost::shared_ptr< ::roboteq::StampedEncoders> StampedEncodersPtr;
00052 typedef boost::shared_ptr< ::roboteq::StampedEncoders const> StampedEncodersConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::roboteq::StampedEncoders_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::roboteq::StampedEncoders_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace roboteq
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::roboteq::StampedEncoders_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::roboteq::StampedEncoders_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::roboteq::StampedEncoders_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "7c217717e3bf9ebebdee0e043bc42e56";
00074   }
00075 
00076   static const char* value(const  ::roboteq::StampedEncoders_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x7c217717e3bf9ebeULL;
00078   static const uint64_t static_value2 = 0xbdee0e043bc42e56ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::roboteq::StampedEncoders_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "roboteq/StampedEncoders";
00086   }
00087 
00088   static const char* value(const  ::roboteq::StampedEncoders_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::roboteq::StampedEncoders_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 Encoders 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: roboteq/Encoders\n\
00118 float32 time_delta # Time since last encoder update.\n\
00119 int32 left_wheel # Encoder counts (absolute or relative)\n\
00120 int32 right_wheel # Encoder counts (absolute or relative)\n\
00121 \n\
00122 ";
00123   }
00124 
00125   static const char* value(const  ::roboteq::StampedEncoders_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator> struct HasHeader< ::roboteq::StampedEncoders_<ContainerAllocator> > : public TrueType {};
00129 template<class ContainerAllocator> struct HasHeader< const ::roboteq::StampedEncoders_<ContainerAllocator> > : public TrueType {};
00130 } // namespace message_traits
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137 
00138 template<class ContainerAllocator> struct Serializer< ::roboteq::StampedEncoders_<ContainerAllocator> >
00139 {
00140   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141   {
00142     stream.next(m.header);
00143     stream.next(m.encoders);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct StampedEncoders_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::roboteq::StampedEncoders_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roboteq::StampedEncoders_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "header: ";
00162 s << std::endl;
00163     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00164     s << indent << "encoders: ";
00165 s << std::endl;
00166     Printer< ::roboteq::Encoders_<ContainerAllocator> >::stream(s, indent + "  ", v.encoders);
00167   }
00168 };
00169 
00170 
00171 } // namespace message_operations
00172 } // namespace ros
00173 
00174 #endif // ROBOTEQ_MESSAGE_STAMPEDENCODERS_H
00175 


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