RxmSFRB.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/RxmSFRB.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_RXMSFRB_H
00003 #define UBLOX_MSGS_MESSAGE_RXMSFRB_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 RxmSFRB_ {
00022   typedef RxmSFRB_<ContainerAllocator> Type;
00023 
00024   RxmSFRB_()
00025   : chn(0)
00026   , svid(0)
00027   , dwrd()
00028   {
00029     dwrd.assign(0);
00030   }
00031 
00032   RxmSFRB_(const ContainerAllocator& _alloc)
00033   : chn(0)
00034   , svid(0)
00035   , dwrd()
00036   {
00037     dwrd.assign(0);
00038   }
00039 
00040   typedef uint8_t _chn_type;
00041   uint8_t chn;
00042 
00043   typedef uint8_t _svid_type;
00044   uint8_t svid;
00045 
00046   typedef boost::array<uint32_t, 10>  _dwrd_type;
00047   boost::array<uint32_t, 10>  dwrd;
00048 
00049   enum { CLASS_ID = 2 };
00050   enum { MESSAGE_ID = 17 };
00051 
00052   typedef boost::shared_ptr< ::ublox_msgs::RxmSFRB_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::ublox_msgs::RxmSFRB_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct RxmSFRB
00056 typedef  ::ublox_msgs::RxmSFRB_<std::allocator<void> > RxmSFRB;
00057 
00058 typedef boost::shared_ptr< ::ublox_msgs::RxmSFRB> RxmSFRBPtr;
00059 typedef boost::shared_ptr< ::ublox_msgs::RxmSFRB const> RxmSFRBConstPtr;
00060 
00061 
00062 template<typename ContainerAllocator>
00063 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::RxmSFRB_<ContainerAllocator> & v)
00064 {
00065   ros::message_operations::Printer< ::ublox_msgs::RxmSFRB_<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::RxmSFRB_<ContainerAllocator> > : public TrueType {};
00075 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmSFRB_<ContainerAllocator>  const> : public TrueType {};
00076 template<class ContainerAllocator>
00077 struct MD5Sum< ::ublox_msgs::RxmSFRB_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "eec72635c768d0528138f40de7442203";
00081   }
00082 
00083   static const char* value(const  ::ublox_msgs::RxmSFRB_<ContainerAllocator> &) { return value(); } 
00084   static const uint64_t static_value1 = 0xeec72635c768d052ULL;
00085   static const uint64_t static_value2 = 0x8138f40de7442203ULL;
00086 };
00087 
00088 template<class ContainerAllocator>
00089 struct DataType< ::ublox_msgs::RxmSFRB_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "ublox_msgs/RxmSFRB";
00093   }
00094 
00095   static const char* value(const  ::ublox_msgs::RxmSFRB_<ContainerAllocator> &) { return value(); } 
00096 };
00097 
00098 template<class ContainerAllocator>
00099 struct Definition< ::ublox_msgs::RxmSFRB_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "# RXM-SFRB (0x02 0x11)\n\
00103 # Subframe Buffer\n\
00104 #\n\
00105 # The content of one single subframe buffer\n\
00106 # For GPS satellites, the 10 dwrd values contain the parity checked subframe data for 10\n\
00107 # Words. Each dwrd has 24 Bits with valid data (Bits 23 to 0). The remaining 8 bits (31 to 24)\n\
00108 # have an undefined value. The direction within the Word is that the higher order bits are\n\
00109 # received from the SV first. Example: The Preamble can be found in dwrd[0], at bit position\n\
00110 # 23 down to 16. For more details on the data format please refer to the ICD-GPS-200C\n\
00111 # Interface document.\n\
00112 # For SBAS satellites, the 250 Bit message block can be found in dwrd[0] to dwrd[6] for the\n\
00113 # first 224 bits. The remaining 26 bits are in dwrd[7], whereas Bits 25 and 24 are the last two\n\
00114 # data bits, and Bits 23 down to 0 are the parity bits. For more information on SBAS data\n\
00115 # format, please refer to RTCA/DO-229C (MOPS), Appendix A.\n\
00116 #\n\
00117 \n\
00118 uint8 CLASS_ID = 2\n\
00119 uint8 MESSAGE_ID = 17\n\
00120 \n\
00121 uint8 chn               # Channel Number\n\
00122 uint8 svid              # ID of Satellite transmitting Subframe\n\
00123 uint32[10] dwrd         # Words of Data\n\
00124 \n\
00125 ";
00126   }
00127 
00128   static const char* value(const  ::ublox_msgs::RxmSFRB_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::RxmSFRB_<ContainerAllocator> > : public TrueType {};
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::RxmSFRB_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.chn);
00145     stream.next(m.svid);
00146     stream.next(m.dwrd);
00147   }
00148 
00149   ROS_DECLARE_ALLINONE_SERIALIZER;
00150 }; // struct RxmSFRB_
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::RxmSFRB_<ContainerAllocator> >
00161 {
00162   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::RxmSFRB_<ContainerAllocator> & v) 
00163   {
00164     s << indent << "chn: ";
00165     Printer<uint8_t>::stream(s, indent + "  ", v.chn);
00166     s << indent << "svid: ";
00167     Printer<uint8_t>::stream(s, indent + "  ", v.svid);
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_RXMSFRB_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