CfgRATE.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/ublox/ublox_msgs/msg/CfgRATE.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_CFGRATE_H
00003 #define UBLOX_MSGS_MESSAGE_CFGRATE_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 ublox_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct CfgRATE_ {
00022   typedef CfgRATE_<ContainerAllocator> Type;
00023 
00024   CfgRATE_()
00025   : measRate(0)
00026   , navRate(0)
00027   , timeRef(0)
00028   {
00029   }
00030 
00031   CfgRATE_(const ContainerAllocator& _alloc)
00032   : measRate(0)
00033   , navRate(0)
00034   , timeRef(0)
00035   {
00036   }
00037 
00038   typedef uint16_t _measRate_type;
00039   uint16_t measRate;
00040 
00041   typedef uint16_t _navRate_type;
00042   uint16_t navRate;
00043 
00044   typedef uint16_t _timeRef_type;
00045   uint16_t timeRef;
00046 
00047   enum { CLASS_ID = 6 };
00048   enum { MESSAGE_ID = 8 };
00049   enum { TIME_REF_UTC = 0 };
00050   enum { TIME_REF_GPS = 1 };
00051 
00052   typedef boost::shared_ptr< ::ublox_msgs::CfgRATE_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::ublox_msgs::CfgRATE_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct CfgRATE
00056 typedef  ::ublox_msgs::CfgRATE_<std::allocator<void> > CfgRATE;
00057 
00058 typedef boost::shared_ptr< ::ublox_msgs::CfgRATE> CfgRATEPtr;
00059 typedef boost::shared_ptr< ::ublox_msgs::CfgRATE const> CfgRATEConstPtr;
00060 
00061 
00062 template<typename ContainerAllocator>
00063 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::CfgRATE_<ContainerAllocator> & v)
00064 {
00065   ros::message_operations::Printer< ::ublox_msgs::CfgRATE_<ContainerAllocator> >::stream(s, "", v);
00066   return s;}
00067 
00068 } // namespace ublox_msgs
00069 
00070 namespace ros
00071 {
00072 namespace message_traits
00073 {
00074 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgRATE_<ContainerAllocator> > : public TrueType {};
00075 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgRATE_<ContainerAllocator>  const> : public TrueType {};
00076 template<class ContainerAllocator>
00077 struct MD5Sum< ::ublox_msgs::CfgRATE_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "da095554bde2600fd2a774def27fb48e";
00081   }
00082 
00083   static const char* value(const  ::ublox_msgs::CfgRATE_<ContainerAllocator> &) { return value(); } 
00084   static const uint64_t static_value1 = 0xda095554bde2600fULL;
00085   static const uint64_t static_value2 = 0xd2a774def27fb48eULL;
00086 };
00087 
00088 template<class ContainerAllocator>
00089 struct DataType< ::ublox_msgs::CfgRATE_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "ublox_msgs/CfgRATE";
00093   }
00094 
00095   static const char* value(const  ::ublox_msgs::CfgRATE_<ContainerAllocator> &) { return value(); } 
00096 };
00097 
00098 template<class ContainerAllocator>
00099 struct Definition< ::ublox_msgs::CfgRATE_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "# CFG-RATE (0x06 0x08)\n\
00103 # Navigation/Measurement Rate Settings\n\
00104 #\n\
00105 \n\
00106 uint8 CLASS_ID = 6\n\
00107 uint8 MESSAGE_ID = 8\n\
00108 \n\
00109 uint16 measRate           # Measurement Rate, GPS measurements are\n\
00110                           # taken every measRate milliseconds [ms]\n\
00111 uint16 navRate            # Navigation Rate, in number of measurement\n\
00112                           # cycles. On u-blox 5 and u-blox 6, this parameter\n\
00113                           # cannot be changed, and is always equals 1.\n\
00114 uint16 timeRef            # Alignment to reference time: 0 = UTC time, 1 = GPS time\n\
00115 uint16 TIME_REF_UTC = 0\n\
00116 uint16 TIME_REF_GPS = 1\n\
00117 \n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::ublox_msgs::CfgRATE_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::CfgRATE_<ContainerAllocator> > : public TrueType {};
00125 } // namespace message_traits
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132 
00133 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::CfgRATE_<ContainerAllocator> >
00134 {
00135   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136   {
00137     stream.next(m.measRate);
00138     stream.next(m.navRate);
00139     stream.next(m.timeRef);
00140   }
00141 
00142   ROS_DECLARE_ALLINONE_SERIALIZER;
00143 }; // struct CfgRATE_
00144 } // namespace serialization
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151 
00152 template<class ContainerAllocator>
00153 struct Printer< ::ublox_msgs::CfgRATE_<ContainerAllocator> >
00154 {
00155   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::CfgRATE_<ContainerAllocator> & v) 
00156   {
00157     s << indent << "measRate: ";
00158     Printer<uint16_t>::stream(s, indent + "  ", v.measRate);
00159     s << indent << "navRate: ";
00160     Printer<uint16_t>::stream(s, indent + "  ", v.navRate);
00161     s << indent << "timeRef: ";
00162     Printer<uint16_t>::stream(s, indent + "  ", v.timeRef);
00163   }
00164 };
00165 
00166 
00167 } // namespace message_operations
00168 } // namespace ros
00169 
00170 #endif // UBLOX_MSGS_MESSAGE_CFGRATE_H
00171 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


ublox_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:55:23