GNSSChannelStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-applanix_driver/doc_stacks/2014-01-02_11-02-36.446834/applanix_driver/applanix_msgs/msg/GNSSChannelStatus.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSCHANNELSTATUS_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSCHANNELSTATUS_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 applanix_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct GNSSChannelStatus_ {
00022   typedef GNSSChannelStatus_<ContainerAllocator> Type;
00023 
00024   GNSSChannelStatus_()
00025   : sv_prn(0)
00026   , status(0)
00027   , sv_azimuth(0.0)
00028   , sv_elevation(0.0)
00029   , sv_l1_snr(0.0)
00030   , sv_l2_snr(0.0)
00031   {
00032   }
00033 
00034   GNSSChannelStatus_(const ContainerAllocator& _alloc)
00035   : sv_prn(0)
00036   , status(0)
00037   , sv_azimuth(0.0)
00038   , sv_elevation(0.0)
00039   , sv_l1_snr(0.0)
00040   , sv_l2_snr(0.0)
00041   {
00042   }
00043 
00044   typedef uint16_t _sv_prn_type;
00045   uint16_t sv_prn;
00046 
00047   typedef uint16_t _status_type;
00048   uint16_t status;
00049 
00050   typedef float _sv_azimuth_type;
00051   float sv_azimuth;
00052 
00053   typedef float _sv_elevation_type;
00054   float sv_elevation;
00055 
00056   typedef float _sv_l1_snr_type;
00057   float sv_l1_snr;
00058 
00059   typedef float _sv_l2_snr_type;
00060   float sv_l2_snr;
00061 
00062   enum { STATUS_L1_IDLE = 0 };
00063   enum { STATUS_L1_ACQUISITION = 1 };
00064   enum { STATUS_L1_CODE_LOCK = 3 };
00065   enum { STATUS_L1_PHASE_LOCK = 5 };
00066   enum { STATUS_L2_IDLE = 6 };
00067   enum { STATUS_L2_ACQUISITION = 8 };
00068   enum { STATUS_L2_CODE_LOCK = 9 };
00069   enum { STATUS_L2_PHASE_LOCK = 11 };
00070 
00071   typedef boost::shared_ptr< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct GNSSChannelStatus
00075 typedef  ::applanix_msgs::GNSSChannelStatus_<std::allocator<void> > GNSSChannelStatus;
00076 
00077 typedef boost::shared_ptr< ::applanix_msgs::GNSSChannelStatus> GNSSChannelStatusPtr;
00078 typedef boost::shared_ptr< ::applanix_msgs::GNSSChannelStatus const> GNSSChannelStatusConstPtr;
00079 
00080 
00081 template<typename ContainerAllocator>
00082 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> & v)
00083 {
00084   ros::message_operations::Printer< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> >::stream(s, "", v);
00085   return s;}
00086 
00087 } // namespace applanix_msgs
00088 
00089 namespace ros
00090 {
00091 namespace message_traits
00092 {
00093 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > : public TrueType {};
00094 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator>  const> : public TrueType {};
00095 template<class ContainerAllocator>
00096 struct MD5Sum< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "e704e6e58bbc7d5b1e03c4dc44b6ebbf";
00100   }
00101 
00102   static const char* value(const  ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> &) { return value(); } 
00103   static const uint64_t static_value1 = 0xe704e6e58bbc7d5bULL;
00104   static const uint64_t static_value2 = 0x1e03c4dc44b6ebbfULL;
00105 };
00106 
00107 template<class ContainerAllocator>
00108 struct DataType< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "applanix_msgs/GNSSChannelStatus";
00112   }
00113 
00114   static const char* value(const  ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct Definition< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "uint16 sv_prn\n\
00122 \n\
00123 uint16 STATUS_L1_IDLE=0\n\
00124 uint16 STATUS_L1_ACQUISITION=1\n\
00125 uint16 STATUS_L1_CODE_LOCK=3\n\
00126 uint16 STATUS_L1_PHASE_LOCK=5\n\
00127 uint16 STATUS_L2_IDLE=6\n\
00128 uint16 STATUS_L2_ACQUISITION=8\n\
00129 uint16 STATUS_L2_CODE_LOCK=9\n\
00130 uint16 STATUS_L2_PHASE_LOCK=11\n\
00131 uint16 status\n\
00132 \n\
00133 float32 sv_azimuth\n\
00134 float32 sv_elevation\n\
00135 float32 sv_l1_snr\n\
00136 float32 sv_l2_snr\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> > : public TrueType {};
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace serialization
00151 {
00152 
00153 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> >
00154 {
00155   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00156   {
00157     stream.next(m.sv_prn);
00158     stream.next(m.status);
00159     stream.next(m.sv_azimuth);
00160     stream.next(m.sv_elevation);
00161     stream.next(m.sv_l1_snr);
00162     stream.next(m.sv_l2_snr);
00163   }
00164 
00165   ROS_DECLARE_ALLINONE_SERIALIZER;
00166 }; // struct GNSSChannelStatus_
00167 } // namespace serialization
00168 } // namespace ros
00169 
00170 namespace ros
00171 {
00172 namespace message_operations
00173 {
00174 
00175 template<class ContainerAllocator>
00176 struct Printer< ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> >
00177 {
00178   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::GNSSChannelStatus_<ContainerAllocator> & v) 
00179   {
00180     s << indent << "sv_prn: ";
00181     Printer<uint16_t>::stream(s, indent + "  ", v.sv_prn);
00182     s << indent << "status: ";
00183     Printer<uint16_t>::stream(s, indent + "  ", v.status);
00184     s << indent << "sv_azimuth: ";
00185     Printer<float>::stream(s, indent + "  ", v.sv_azimuth);
00186     s << indent << "sv_elevation: ";
00187     Printer<float>::stream(s, indent + "  ", v.sv_elevation);
00188     s << indent << "sv_l1_snr: ";
00189     Printer<float>::stream(s, indent + "  ", v.sv_l1_snr);
00190     s << indent << "sv_l2_snr: ";
00191     Printer<float>::stream(s, indent + "  ", v.sv_l2_snr);
00192   }
00193 };
00194 
00195 
00196 } // namespace message_operations
00197 } // namespace ros
00198 
00199 #endif // APPLANIX_MSGS_MESSAGE_GNSSCHANNELSTATUS_H
00200 


applanix_msgs
Author(s): Mike Purvis
autogenerated on Thu Jan 2 2014 11:04:51