RxmALM.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/RxmALM.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_RXMALM_H
00003 #define UBLOX_MSGS_MESSAGE_RXMALM_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 RxmALM_ {
00022   typedef RxmALM_<ContainerAllocator> Type;
00023 
00024   RxmALM_()
00025   : svid(0)
00026   , week(0)
00027   , dwrd()
00028   {
00029   }
00030 
00031   RxmALM_(const ContainerAllocator& _alloc)
00032   : svid(0)
00033   , week(0)
00034   , dwrd(_alloc)
00035   {
00036   }
00037 
00038   typedef uint32_t _svid_type;
00039   uint32_t svid;
00040 
00041   typedef uint32_t _week_type;
00042   uint32_t week;
00043 
00044   typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  _dwrd_type;
00045   std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  dwrd;
00046 
00047   enum { CLASS_ID = 2 };
00048   enum { MESSAGE_ID = 48 };
00049 
00050   typedef boost::shared_ptr< ::ublox_msgs::RxmALM_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::ublox_msgs::RxmALM_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct RxmALM
00054 typedef  ::ublox_msgs::RxmALM_<std::allocator<void> > RxmALM;
00055 
00056 typedef boost::shared_ptr< ::ublox_msgs::RxmALM> RxmALMPtr;
00057 typedef boost::shared_ptr< ::ublox_msgs::RxmALM const> RxmALMConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::RxmALM_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::ublox_msgs::RxmALM_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace ublox_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmALM_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmALM_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::ublox_msgs::RxmALM_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "97a9e7864105ab31fc93f2e4bef9de26";
00079   }
00080 
00081   static const char* value(const  ::ublox_msgs::RxmALM_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x97a9e7864105ab31ULL;
00083   static const uint64_t static_value2 = 0xfc93f2e4bef9de26ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::ublox_msgs::RxmALM_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "ublox_msgs/RxmALM";
00091   }
00092 
00093   static const char* value(const  ::ublox_msgs::RxmALM_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::ublox_msgs::RxmALM_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# RXM-ALM (0x02 0x30)\n\
00101 # GPS Aiding Almanach Input/Output Message\n\
00102 #\n\
00103 # This message is provided considered obsolete, please use AID-ALM instead!\n\
00104 # - If the WEEK Value is 0, DWRD0 to DWRD7 are not sent as the almanach is not available\n\
00105 #   for the given SV.\n\
00106 # - DWORD0 to DWORD7 contain the 8 words following the Hand-Over Word ( HOW )\n\
00107 #   from the GPS navigation message, either pages 1 to 24 of sub-frame 5 or pages 2 to 10\n\
00108 #   of subframe 4. See IS-GPS-200 for a full description of the contents of the Almanac\n\
00109 #   pages.\n\
00110 # - In DWORD0 to DWORD7, the parity bits have been removed, and the 24 bits of data are\n\
00111 #   located in Bits 0 to 23. Bits 24 to 31 shall be ignored.\n\
00112 # - Example: Parameter e (Eccentricity) from Almanach Subframe 4/5, Word 3, Bits 69-84\n\
00113 #   within the subframe can be found in DWRD0, Bits 15-0 whereas Bit 0 is the LSB.\n\
00114 #\n\
00115 \n\
00116 uint8 CLASS_ID = 2\n\
00117 uint8 MESSAGE_ID = 48\n\
00118 \n\
00119 uint32 svid             # SV ID for which this Almanach Data is (Valid Range: 1 .. 32 or 51, 56, 63).\n\
00120 uint32 week             # Issue Date of Almanach (GPS week number)\n\
00121 \n\
00122 # Start of optional block\n\
00123 uint32[] dwrd           # Almanach Words\n\
00124 # End of optional block\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::ublox_msgs::RxmALM_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace serialization
00138 {
00139 
00140 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmALM_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.svid);
00145     stream.next(m.week);
00146     stream.next(m.dwrd);
00147   }
00148 
00149   ROS_DECLARE_ALLINONE_SERIALIZER;
00150 }; // struct RxmALM_
00151 } // namespace serialization
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158 
00159 template<class ContainerAllocator>
00160 struct Printer< ::ublox_msgs::RxmALM_<ContainerAllocator> >
00161 {
00162   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::RxmALM_<ContainerAllocator> & v) 
00163   {
00164     s << indent << "svid: ";
00165     Printer<uint32_t>::stream(s, indent + "  ", v.svid);
00166     s << indent << "week: ";
00167     Printer<uint32_t>::stream(s, indent + "  ", v.week);
00168     s << indent << "dwrd[]" << std::endl;
00169     for (size_t i = 0; i < v.dwrd.size(); ++i)
00170     {
00171       s << indent << "  dwrd[" << i << "]: ";
00172       Printer<uint32_t>::stream(s, indent + "  ", v.dwrd[i]);
00173     }
00174   }
00175 };
00176 
00177 
00178 } // namespace message_operations
00179 } // namespace ros
00180 
00181 #endif // UBLOX_MSGS_MESSAGE_RXMALM_H
00182 
 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