AidALM.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/AidALM.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_AIDALM_H
00003 #define UBLOX_MSGS_MESSAGE_AIDALM_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 AidALM_ {
00022   typedef AidALM_<ContainerAllocator> Type;
00023 
00024   AidALM_()
00025   : svid(0)
00026   , week(0)
00027   , dwrd()
00028   {
00029   }
00030 
00031   AidALM_(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 = 11 };
00048   enum { MESSAGE_ID = 48 };
00049 
00050   typedef boost::shared_ptr< ::ublox_msgs::AidALM_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::ublox_msgs::AidALM_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct AidALM
00054 typedef  ::ublox_msgs::AidALM_<std::allocator<void> > AidALM;
00055 
00056 typedef boost::shared_ptr< ::ublox_msgs::AidALM> AidALMPtr;
00057 typedef boost::shared_ptr< ::ublox_msgs::AidALM const> AidALMConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::AidALM_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::ublox_msgs::AidALM_<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::AidALM_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::AidALM_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::ublox_msgs::AidALM_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "de5ab2550e698fc8acfb7263c7c55fa2";
00079   }
00080 
00081   static const char* value(const  ::ublox_msgs::AidALM_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xde5ab2550e698fc8ULL;
00083   static const uint64_t static_value2 = 0xacfb7263c7c55fa2ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::ublox_msgs::AidALM_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "ublox_msgs/AidALM";
00091   }
00092 
00093   static const char* value(const  ::ublox_msgs::AidALM_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::ublox_msgs::AidALM_<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. This may happen even if NAV-SVINFO and RXM-SVSI are indicating\n\
00106 #   almanac availability as the internal data may not represent the content of an original\n\
00107 #   broadcast almanac (or only parts thereof).\n\
00108 # - DWORD0 to DWORD7 contain the 8 words following the Hand-Over Word ( HOW )\n\
00109 #   from the GPS navigation message, either pages 1 to 24 of sub-frame 5 or pages 2 to 10\n\
00110 #   of subframe 4. See IS-GPS-200 for a full description of the contents of the Almanac\n\
00111 #   pages.\n\
00112 # - In DWORD0 to DWORD7, the parity bits have been removed, and the 24 bits of data are\n\
00113 #   located in Bits 0 to 23. Bits 24 to 31 shall be ignored.\n\
00114 # - Example: Parameter e (Eccentricity) from Almanach Subframe 4/5, Word 3, Bits 69-84\n\
00115 #   within the subframe can be found in DWRD0, Bits 15-0 whereas Bit 0 is the LSB.\n\
00116 \n\
00117 uint8 CLASS_ID = 11\n\
00118 uint8 MESSAGE_ID = 48\n\
00119 \n\
00120 uint32 svid             # SV ID for which this Almanach Data is (Valid Range: 1 .. 32 or 51, 56, 63).\n\
00121 uint32 week             # Issue Date of Almanach (GPS week number)\n\
00122 \n\
00123 # Start of optional block\n\
00124 uint32[] dwrd           # Almanach Words\n\
00125 # End of optional block\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::ublox_msgs::AidALM_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::AidALM_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.svid);
00146     stream.next(m.week);
00147     stream.next(m.dwrd);
00148   }
00149 
00150   ROS_DECLARE_ALLINONE_SERIALIZER;
00151 }; // struct AidALM_
00152 } // namespace serialization
00153 } // namespace ros
00154 
00155 namespace ros
00156 {
00157 namespace message_operations
00158 {
00159 
00160 template<class ContainerAllocator>
00161 struct Printer< ::ublox_msgs::AidALM_<ContainerAllocator> >
00162 {
00163   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::AidALM_<ContainerAllocator> & v) 
00164   {
00165     s << indent << "svid: ";
00166     Printer<uint32_t>::stream(s, indent + "  ", v.svid);
00167     s << indent << "week: ";
00168     Printer<uint32_t>::stream(s, indent + "  ", v.week);
00169     s << indent << "dwrd[]" << std::endl;
00170     for (size_t i = 0; i < v.dwrd.size(); ++i)
00171     {
00172       s << indent << "  dwrd[" << i << "]: ";
00173       Printer<uint32_t>::stream(s, indent + "  ", v.dwrd[i]);
00174     }
00175   }
00176 };
00177 
00178 
00179 } // namespace message_operations
00180 } // namespace ros
00181 
00182 #endif // UBLOX_MSGS_MESSAGE_AIDALM_H
00183 
 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