NavTIMEUTC.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/NavTIMEUTC.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVTIMEUTC_H
00003 #define UBLOX_MSGS_MESSAGE_NAVTIMEUTC_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 NavTIMEUTC_ {
00022   typedef NavTIMEUTC_<ContainerAllocator> Type;
00023 
00024   NavTIMEUTC_()
00025   : iTOW(0)
00026   , tAcc(0)
00027   , nano(0)
00028   , year(0)
00029   , month(0)
00030   , day(0)
00031   , hour(0)
00032   , min(0)
00033   , sec(0)
00034   , valid(0)
00035   {
00036   }
00037 
00038   NavTIMEUTC_(const ContainerAllocator& _alloc)
00039   : iTOW(0)
00040   , tAcc(0)
00041   , nano(0)
00042   , year(0)
00043   , month(0)
00044   , day(0)
00045   , hour(0)
00046   , min(0)
00047   , sec(0)
00048   , valid(0)
00049   {
00050   }
00051 
00052   typedef uint32_t _iTOW_type;
00053   uint32_t iTOW;
00054 
00055   typedef uint32_t _tAcc_type;
00056   uint32_t tAcc;
00057 
00058   typedef int32_t _nano_type;
00059   int32_t nano;
00060 
00061   typedef uint16_t _year_type;
00062   uint16_t year;
00063 
00064   typedef uint8_t _month_type;
00065   uint8_t month;
00066 
00067   typedef uint8_t _day_type;
00068   uint8_t day;
00069 
00070   typedef uint8_t _hour_type;
00071   uint8_t hour;
00072 
00073   typedef uint8_t _min_type;
00074   uint8_t min;
00075 
00076   typedef uint8_t _sec_type;
00077   uint8_t sec;
00078 
00079   typedef uint8_t _valid_type;
00080   uint8_t valid;
00081 
00082   enum { CLASS_ID = 1 };
00083   enum { MESSAGE_ID = 33 };
00084   enum { VALID_TOW = 1 };
00085   enum { VALID_WKN = 2 };
00086   enum { VALID_UTC = 4 };
00087 
00088   typedef boost::shared_ptr< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > Ptr;
00089   typedef boost::shared_ptr< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator>  const> ConstPtr;
00090   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00091 }; // struct NavTIMEUTC
00092 typedef  ::ublox_msgs::NavTIMEUTC_<std::allocator<void> > NavTIMEUTC;
00093 
00094 typedef boost::shared_ptr< ::ublox_msgs::NavTIMEUTC> NavTIMEUTCPtr;
00095 typedef boost::shared_ptr< ::ublox_msgs::NavTIMEUTC const> NavTIMEUTCConstPtr;
00096 
00097 
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> & v)
00100 {
00101   ros::message_operations::Printer< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> >::stream(s, "", v);
00102   return s;}
00103 
00104 } // namespace ublox_msgs
00105 
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator>  const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "0ea9fbec0e54f3dbba61f743936c206a";
00117   }
00118 
00119   static const char* value(const  ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> &) { return value(); } 
00120   static const uint64_t static_value1 = 0x0ea9fbec0e54f3dbULL;
00121   static const uint64_t static_value2 = 0xba61f743936c206aULL;
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct DataType< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "ublox_msgs/NavTIMEUTC";
00129   }
00130 
00131   static const char* value(const  ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator>
00135 struct Definition< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > {
00136   static const char* value() 
00137   {
00138     return "# NAV-TIMEUTC (0x01 0x21)\n\
00139 # UTC Time Solution\n\
00140 #\n\
00141 \n\
00142 uint8 CLASS_ID = 1\n\
00143 uint8 MESSAGE_ID = 33\n\
00144 \n\
00145 uint32 iTOW             # GPS Millisecond time of week [ms]\n\
00146 \n\
00147 uint32 tAcc             # Time Accuracy Estimate [ns]\n\
00148 int32 nano              # Nanoseconds of second, range -1e9 .. 1e9 (UTC) [ns]\n\
00149 uint16 year             # Year, range 1999..2099 (UTC) [y]\n\
00150 uint8 month             # Month, range 1..12 (UTC) [month]\n\
00151 uint8 day               # Day of Month, range 1..31 (UTC) [d]\n\
00152 uint8 hour              # Hour of Day, range 0..23 (UTC) [h]\n\
00153 uint8 min               # Minute of Hour, range 0..59 (UTC) [min]\n\
00154 uint8 sec               # Seconds of Minute, range 0..59 (UTC) [s]\n\
00155 \n\
00156 uint8 valid             # Validity Flags\n\
00157 uint8 VALID_TOW = 1         # Valid Time of Week\n\
00158 uint8 VALID_WKN = 2         # Valid Week Number\n\
00159 uint8 VALID_UTC = 4         # Valid Leap Seconds, i.e. Leap Seconds already known\n\
00160 \n\
00161 ";
00162   }
00163 
00164   static const char* value(const  ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> &) { return value(); } 
00165 };
00166 
00167 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> > : public TrueType {};
00168 } // namespace message_traits
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace serialization
00174 {
00175 
00176 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> >
00177 {
00178   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00179   {
00180     stream.next(m.iTOW);
00181     stream.next(m.tAcc);
00182     stream.next(m.nano);
00183     stream.next(m.year);
00184     stream.next(m.month);
00185     stream.next(m.day);
00186     stream.next(m.hour);
00187     stream.next(m.min);
00188     stream.next(m.sec);
00189     stream.next(m.valid);
00190   }
00191 
00192   ROS_DECLARE_ALLINONE_SERIALIZER;
00193 }; // struct NavTIMEUTC_
00194 } // namespace serialization
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace message_operations
00200 {
00201 
00202 template<class ContainerAllocator>
00203 struct Printer< ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> >
00204 {
00205   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::NavTIMEUTC_<ContainerAllocator> & v) 
00206   {
00207     s << indent << "iTOW: ";
00208     Printer<uint32_t>::stream(s, indent + "  ", v.iTOW);
00209     s << indent << "tAcc: ";
00210     Printer<uint32_t>::stream(s, indent + "  ", v.tAcc);
00211     s << indent << "nano: ";
00212     Printer<int32_t>::stream(s, indent + "  ", v.nano);
00213     s << indent << "year: ";
00214     Printer<uint16_t>::stream(s, indent + "  ", v.year);
00215     s << indent << "month: ";
00216     Printer<uint8_t>::stream(s, indent + "  ", v.month);
00217     s << indent << "day: ";
00218     Printer<uint8_t>::stream(s, indent + "  ", v.day);
00219     s << indent << "hour: ";
00220     Printer<uint8_t>::stream(s, indent + "  ", v.hour);
00221     s << indent << "min: ";
00222     Printer<uint8_t>::stream(s, indent + "  ", v.min);
00223     s << indent << "sec: ";
00224     Printer<uint8_t>::stream(s, indent + "  ", v.sec);
00225     s << indent << "valid: ";
00226     Printer<uint8_t>::stream(s, indent + "  ", v.valid);
00227   }
00228 };
00229 
00230 
00231 } // namespace message_operations
00232 } // namespace ros
00233 
00234 #endif // UBLOX_MSGS_MESSAGE_NAVTIMEUTC_H
00235 
 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