Go to the documentation of this file.00001
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVSBAS_SV_H
00003 #define UBLOX_MSGS_MESSAGE_NAVSBAS_SV_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 NavSBAS_SV_ {
00022 typedef NavSBAS_SV_<ContainerAllocator> Type;
00023
00024 NavSBAS_SV_()
00025 : svid(0)
00026 , flags(0)
00027 , udre(0)
00028 , svSys(0)
00029 , svService(0)
00030 , reserved1(0)
00031 , prc(0)
00032 , reserved2(0)
00033 , ic(0)
00034 {
00035 }
00036
00037 NavSBAS_SV_(const ContainerAllocator& _alloc)
00038 : svid(0)
00039 , flags(0)
00040 , udre(0)
00041 , svSys(0)
00042 , svService(0)
00043 , reserved1(0)
00044 , prc(0)
00045 , reserved2(0)
00046 , ic(0)
00047 {
00048 }
00049
00050 typedef uint8_t _svid_type;
00051 uint8_t svid;
00052
00053 typedef uint8_t _flags_type;
00054 uint8_t flags;
00055
00056 typedef uint8_t _udre_type;
00057 uint8_t udre;
00058
00059 typedef uint8_t _svSys_type;
00060 uint8_t svSys;
00061
00062 typedef uint8_t _svService_type;
00063 uint8_t svService;
00064
00065 typedef uint8_t _reserved1_type;
00066 uint8_t reserved1;
00067
00068 typedef int16_t _prc_type;
00069 int16_t prc;
00070
00071 typedef uint16_t _reserved2_type;
00072 uint16_t reserved2;
00073
00074 typedef int16_t _ic_type;
00075 int16_t ic;
00076
00077
00078 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > Ptr;
00079 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> const> ConstPtr;
00080 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 };
00082 typedef ::ublox_msgs::NavSBAS_SV_<std::allocator<void> > NavSBAS_SV;
00083
00084 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV> NavSBAS_SVPtr;
00085 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV const> NavSBAS_SVConstPtr;
00086
00087
00088 template<typename ContainerAllocator>
00089 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> & v)
00090 {
00091 ros::message_operations::Printer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> >::stream(s, "", v);
00092 return s;}
00093
00094 }
00095
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "45259031fe19a4df2f5a4a667356a0bc";
00107 }
00108
00109 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0x45259031fe19a4dfULL;
00111 static const uint64_t static_value2 = 0x2f5a4a667356a0bcULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "ublox_msgs/NavSBAS_SV";
00119 }
00120
00121 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "# see message NavSBAS\n\
00129 #\n\
00130 \n\
00131 uint8 svid # SV Id\n\
00132 uint8 flags # Flags for this SV\n\
00133 uint8 udre # Monitoring status\n\
00134 uint8 svSys # System (WAAS/EGNOS/...), same as SYS\n\
00135 uint8 svService # Services available, same as SERVICE\n\
00136 uint8 reserved1 # Reserved\n\
00137 int16 prc # Pseudo Range correction in [cm]\n\
00138 uint16 reserved2 # Reserved\n\
00139 int16 ic # Ionosphere correction in [cm]\n\
00140 \n\
00141 ";
00142 }
00143
00144 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > : public TrueType {};
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.svid);
00161 stream.next(m.flags);
00162 stream.next(m.udre);
00163 stream.next(m.svSys);
00164 stream.next(m.svService);
00165 stream.next(m.reserved1);
00166 stream.next(m.prc);
00167 stream.next(m.reserved2);
00168 stream.next(m.ic);
00169 }
00170
00171 ROS_DECLARE_ALLINONE_SERIALIZER;
00172 };
00173 }
00174 }
00175
00176 namespace ros
00177 {
00178 namespace message_operations
00179 {
00180
00181 template<class ContainerAllocator>
00182 struct Printer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> >
00183 {
00184 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> & v)
00185 {
00186 s << indent << "svid: ";
00187 Printer<uint8_t>::stream(s, indent + " ", v.svid);
00188 s << indent << "flags: ";
00189 Printer<uint8_t>::stream(s, indent + " ", v.flags);
00190 s << indent << "udre: ";
00191 Printer<uint8_t>::stream(s, indent + " ", v.udre);
00192 s << indent << "svSys: ";
00193 Printer<uint8_t>::stream(s, indent + " ", v.svSys);
00194 s << indent << "svService: ";
00195 Printer<uint8_t>::stream(s, indent + " ", v.svService);
00196 s << indent << "reserved1: ";
00197 Printer<uint8_t>::stream(s, indent + " ", v.reserved1);
00198 s << indent << "prc: ";
00199 Printer<int16_t>::stream(s, indent + " ", v.prc);
00200 s << indent << "reserved2: ";
00201 Printer<uint16_t>::stream(s, indent + " ", v.reserved2);
00202 s << indent << "ic: ";
00203 Printer<int16_t>::stream(s, indent + " ", v.ic);
00204 }
00205 };
00206
00207
00208 }
00209 }
00210
00211 #endif // UBLOX_MSGS_MESSAGE_NAVSBAS_SV_H
00212