GNSSDGPSStation.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/GNSSDGPSStation.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATION_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATION_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 GNSSDGPSStation_ {
00022   typedef GNSSDGPSStation_<ContainerAllocator> Type;
00023 
00024   GNSSDGPSStation_()
00025   : flags(0)
00026   , id(0)
00027   , frequency(0)
00028   , health(0)
00029   , distance(0.0)
00030   , range(0.0)
00031   , uscg_index(0)
00032   , seconds(0)
00033   , modulation_rate(0)
00034   {
00035   }
00036 
00037   GNSSDGPSStation_(const ContainerAllocator& _alloc)
00038   : flags(0)
00039   , id(0)
00040   , frequency(0)
00041   , health(0)
00042   , distance(0.0)
00043   , range(0.0)
00044   , uscg_index(0)
00045   , seconds(0)
00046   , modulation_rate(0)
00047   {
00048   }
00049 
00050   typedef uint8_t _flags_type;
00051   uint8_t flags;
00052 
00053   typedef uint16_t _id_type;
00054   uint16_t id;
00055 
00056   typedef uint16_t _frequency_type;
00057   uint16_t frequency;
00058 
00059   typedef uint8_t _health_type;
00060   uint8_t health;
00061 
00062   typedef float _distance_type;
00063   float distance;
00064 
00065   typedef float _range_type;
00066   float range;
00067 
00068   typedef uint8_t _uscg_index_type;
00069   uint8_t uscg_index;
00070 
00071   typedef uint32_t _seconds_type;
00072   uint32_t seconds;
00073 
00074   typedef uint8_t _modulation_rate_type;
00075   uint8_t modulation_rate;
00076 
00077   enum { FLAGS_SATELLITE = 1 };
00078   enum { FLAGS_STATION_PROVIDING_CORRECTIONS = 2 };
00079   enum { FLAGS_STATION_USED_AS_RTCM_SOURCE = 4 };
00080   enum { FLAGS_OMNISTAR_STATIONS = 8 };
00081   enum { HEALTH_NORMAL = 0 };
00082   enum { HEALTH_NOT_MONITORED = 1 };
00083   enum { HEALTH_NO_INFO_AVAILABLE = 2 };
00084   enum { HEALTH_DO_NOT_USE = 3 };
00085   enum { RATE_25BPS = 0 };
00086   enum { RATE_50BPS = 1 };
00087   enum { RATE_100BPS = 2 };
00088   enum { RATE_200BPS = 3 };
00089   enum { RATE_600BPS = 4 };
00090   enum { RATE_1200BPS = 5 };
00091   enum { RATE_2400BPS = 6 };
00092   enum { RATE_4800BPS = 7 };
00093 
00094   typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > Ptr;
00095   typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator>  const> ConstPtr;
00096   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 }; // struct GNSSDGPSStation
00098 typedef  ::applanix_msgs::GNSSDGPSStation_<std::allocator<void> > GNSSDGPSStation;
00099 
00100 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStation> GNSSDGPSStationPtr;
00101 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStation const> GNSSDGPSStationConstPtr;
00102 
00103 
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> & v)
00106 {
00107   ros::message_operations::Printer< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >::stream(s, "", v);
00108   return s;}
00109 
00110 } // namespace applanix_msgs
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "1f46e4339250717d9fe1a568f6172d8b";
00123   }
00124 
00125   static const char* value(const  ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0x1f46e4339250717dULL;
00127   static const uint64_t static_value2 = 0x9fe1a568f6172d8bULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "applanix_msgs/GNSSDGPSStation";
00135   }
00136 
00137   static const char* value(const  ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "# Part of Group 26\n\
00145 \n\
00146 uint8 FLAGS_SATELLITE=1\n\
00147 uint8 FLAGS_STATION_PROVIDING_CORRECTIONS=2\n\
00148 uint8 FLAGS_STATION_USED_AS_RTCM_SOURCE=4\n\
00149 uint8 FLAGS_OMNISTAR_STATIONS=8\n\
00150 uint8 flags\n\
00151 \n\
00152 uint16 id\n\
00153 uint16 frequency\n\
00154 \n\
00155 uint8 HEALTH_NORMAL=0\n\
00156 uint8 HEALTH_NOT_MONITORED=1\n\
00157 uint8 HEALTH_NO_INFO_AVAILABLE=2\n\
00158 uint8 HEALTH_DO_NOT_USE=3\n\
00159 uint8 health\n\
00160 \n\
00161 float32 distance\n\
00162 float32 range\n\
00163 uint8 uscg_index\n\
00164 uint32 seconds\n\
00165 \n\
00166 uint8 RATE_25BPS=0\n\
00167 uint8 RATE_50BPS=1\n\
00168 uint8 RATE_100BPS=2\n\
00169 uint8 RATE_200BPS=3\n\
00170 uint8 RATE_600BPS=4\n\
00171 uint8 RATE_1200BPS=5\n\
00172 uint8 RATE_2400BPS=6\n\
00173 uint8 RATE_4800BPS=7\n\
00174 uint8 modulation_rate\n\
00175 \n\
00176 ";
00177   }
00178 
00179   static const char* value(const  ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> &) { return value(); } 
00180 };
00181 
00182 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> > : public TrueType {};
00183 } // namespace message_traits
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace serialization
00189 {
00190 
00191 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >
00192 {
00193   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00194   {
00195     stream.next(m.flags);
00196     stream.next(m.id);
00197     stream.next(m.frequency);
00198     stream.next(m.health);
00199     stream.next(m.distance);
00200     stream.next(m.range);
00201     stream.next(m.uscg_index);
00202     stream.next(m.seconds);
00203     stream.next(m.modulation_rate);
00204   }
00205 
00206   ROS_DECLARE_ALLINONE_SERIALIZER;
00207 }; // struct GNSSDGPSStation_
00208 } // namespace serialization
00209 } // namespace ros
00210 
00211 namespace ros
00212 {
00213 namespace message_operations
00214 {
00215 
00216 template<class ContainerAllocator>
00217 struct Printer< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >
00218 {
00219   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> & v) 
00220   {
00221     s << indent << "flags: ";
00222     Printer<uint8_t>::stream(s, indent + "  ", v.flags);
00223     s << indent << "id: ";
00224     Printer<uint16_t>::stream(s, indent + "  ", v.id);
00225     s << indent << "frequency: ";
00226     Printer<uint16_t>::stream(s, indent + "  ", v.frequency);
00227     s << indent << "health: ";
00228     Printer<uint8_t>::stream(s, indent + "  ", v.health);
00229     s << indent << "distance: ";
00230     Printer<float>::stream(s, indent + "  ", v.distance);
00231     s << indent << "range: ";
00232     Printer<float>::stream(s, indent + "  ", v.range);
00233     s << indent << "uscg_index: ";
00234     Printer<uint8_t>::stream(s, indent + "  ", v.uscg_index);
00235     s << indent << "seconds: ";
00236     Printer<uint32_t>::stream(s, indent + "  ", v.seconds);
00237     s << indent << "modulation_rate: ";
00238     Printer<uint8_t>::stream(s, indent + "  ", v.modulation_rate);
00239   }
00240 };
00241 
00242 
00243 } // namespace message_operations
00244 } // namespace ros
00245 
00246 #endif // APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATION_H
00247 


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