RxmEPH.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/RxmEPH.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_RXMEPH_H
00003 #define UBLOX_MSGS_MESSAGE_RXMEPH_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 RxmEPH_ {
00022   typedef RxmEPH_<ContainerAllocator> Type;
00023 
00024   RxmEPH_()
00025   : svid(0)
00026   , how(0)
00027   , sf1d()
00028   , sf2d()
00029   , sf3d()
00030   {
00031   }
00032 
00033   RxmEPH_(const ContainerAllocator& _alloc)
00034   : svid(0)
00035   , how(0)
00036   , sf1d(_alloc)
00037   , sf2d(_alloc)
00038   , sf3d(_alloc)
00039   {
00040   }
00041 
00042   typedef uint32_t _svid_type;
00043   uint32_t svid;
00044 
00045   typedef uint32_t _how_type;
00046   uint32_t how;
00047 
00048   typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  _sf1d_type;
00049   std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  sf1d;
00050 
00051   typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  _sf2d_type;
00052   std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  sf2d;
00053 
00054   typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  _sf3d_type;
00055   std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  sf3d;
00056 
00057   enum { CLASS_ID = 2 };
00058   enum { MESSAGE_ID = 49 };
00059 
00060   typedef boost::shared_ptr< ::ublox_msgs::RxmEPH_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::ublox_msgs::RxmEPH_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct RxmEPH
00064 typedef  ::ublox_msgs::RxmEPH_<std::allocator<void> > RxmEPH;
00065 
00066 typedef boost::shared_ptr< ::ublox_msgs::RxmEPH> RxmEPHPtr;
00067 typedef boost::shared_ptr< ::ublox_msgs::RxmEPH const> RxmEPHConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::RxmEPH_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::ublox_msgs::RxmEPH_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace ublox_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmEPH_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmEPH_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::ublox_msgs::RxmEPH_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "378ed135397be8e1e42a9e0e5eb180f5";
00089   }
00090 
00091   static const char* value(const  ::ublox_msgs::RxmEPH_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x378ed135397be8e1ULL;
00093   static const uint64_t static_value2 = 0xe42a9e0e5eb180f5ULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::ublox_msgs::RxmEPH_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "ublox_msgs/RxmEPH";
00101   }
00102 
00103   static const char* value(const  ::ublox_msgs::RxmEPH_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::ublox_msgs::RxmEPH_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "# RXM-EPH (0x02 0x31)\n\
00111 # GPS Aiding Ephemeris Input/Output Message\n\
00112 #\n\
00113 # This message is provided considered obsolete, please use AID-EPH instead!\n\
00114 # - SF1D0 to SF3D7 is only sent if ephemeris is available for this SV. If not, the payload may\n\
00115 #   be reduced to 8 Bytes, or all bytes are set to zero, indicating that this SV Number does\n\
00116 #   not have valid ephemeris for the moment.\n\
00117 # - SF1D0 to SF3D7 contain the 24 words following the Hand-Over Word ( HOW ) from the\n\
00118 #   GPS navigation message, subframes 1 to 3. See IS-GPS-200 for a full description of the\n\
00119 #   contents of the Subframes.\n\
00120 # - In SF1D0 to SF3D7, the parity bits have been removed, and the 24 bits of data are\n\
00121 #   located in Bits 0 to 23. Bits 24 to 31 shall be ignored.\n\
00122 #\n\
00123 \n\
00124 uint8 CLASS_ID = 2\n\
00125 uint8 MESSAGE_ID = 49\n\
00126 \n\
00127 uint32 svid             # SV ID for which this ephemeris data is (Valid Range: 1 .. 32).\n\
00128 uint32 how              # Hand-Over Word of first Subframe. This is\n\
00129                         # required if data is sent to the receiver.\n\
00130                         # 0 indicates that no Ephemeris Data is following.\n\
00131 \n\
00132 # Start of optional block\n\
00133 uint32[] sf1d          # Subframe 1 Words 3..10 (SF1D0..SF1D7)\n\
00134 uint32[] sf2d          # Subframe 2 Words 3..10 (SF2D0..SF2D7)\n\
00135 uint32[] sf3d          # Subframe 3 Words 3..10 (SF3D0..SF3D7)\n\
00136 # End of optional block\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::ublox_msgs::RxmEPH_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmEPH_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.svid);
00157     stream.next(m.how);
00158     stream.next(m.sf1d);
00159     stream.next(m.sf2d);
00160     stream.next(m.sf3d);
00161   }
00162 
00163   ROS_DECLARE_ALLINONE_SERIALIZER;
00164 }; // struct RxmEPH_
00165 } // namespace serialization
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172 
00173 template<class ContainerAllocator>
00174 struct Printer< ::ublox_msgs::RxmEPH_<ContainerAllocator> >
00175 {
00176   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::RxmEPH_<ContainerAllocator> & v) 
00177   {
00178     s << indent << "svid: ";
00179     Printer<uint32_t>::stream(s, indent + "  ", v.svid);
00180     s << indent << "how: ";
00181     Printer<uint32_t>::stream(s, indent + "  ", v.how);
00182     s << indent << "sf1d[]" << std::endl;
00183     for (size_t i = 0; i < v.sf1d.size(); ++i)
00184     {
00185       s << indent << "  sf1d[" << i << "]: ";
00186       Printer<uint32_t>::stream(s, indent + "  ", v.sf1d[i]);
00187     }
00188     s << indent << "sf2d[]" << std::endl;
00189     for (size_t i = 0; i < v.sf2d.size(); ++i)
00190     {
00191       s << indent << "  sf2d[" << i << "]: ";
00192       Printer<uint32_t>::stream(s, indent + "  ", v.sf2d[i]);
00193     }
00194     s << indent << "sf3d[]" << std::endl;
00195     for (size_t i = 0; i < v.sf3d.size(); ++i)
00196     {
00197       s << indent << "  sf3d[" << i << "]: ";
00198       Printer<uint32_t>::stream(s, indent + "  ", v.sf3d[i]);
00199     }
00200   }
00201 };
00202 
00203 
00204 } // namespace message_operations
00205 } // namespace ros
00206 
00207 #endif // UBLOX_MSGS_MESSAGE_RXMEPH_H
00208 
 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