GNSSDGPSChannelStatus.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/GNSSDGPSChannelStatus.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSDGPSCHANNELSTATUS_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSDGPSCHANNELSTATUS_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 GNSSDGPSChannelStatus_ {
00022   typedef GNSSDGPSChannelStatus_<ContainerAllocator> Type;
00023 
00024   GNSSDGPSChannelStatus_()
00025   : frequency(0.0)
00026   , acquisition_mode(0)
00027   , status(0)
00028   , rtcm(0)
00029   , snr(0)
00030   , data_rate(0)
00031   , lock(0)
00032   , dgps_source_auto_switching(0)
00033   , provider(0)
00034   {
00035   }
00036 
00037   GNSSDGPSChannelStatus_(const ContainerAllocator& _alloc)
00038   : frequency(0.0)
00039   , acquisition_mode(0)
00040   , status(0)
00041   , rtcm(0)
00042   , snr(0)
00043   , data_rate(0)
00044   , lock(0)
00045   , dgps_source_auto_switching(0)
00046   , provider(0)
00047   {
00048   }
00049 
00050   typedef double _frequency_type;
00051   double frequency;
00052 
00053   typedef uint8_t _acquisition_mode_type;
00054   uint8_t acquisition_mode;
00055 
00056   typedef uint8_t _status_type;
00057   uint8_t status;
00058 
00059   typedef uint8_t _rtcm_type;
00060   uint8_t rtcm;
00061 
00062   typedef uint8_t _snr_type;
00063   uint8_t snr;
00064 
00065   typedef uint8_t _data_rate_type;
00066   uint8_t data_rate;
00067 
00068   typedef uint8_t _lock_type;
00069   uint8_t lock;
00070 
00071   typedef uint8_t _dgps_source_auto_switching_type;
00072   uint8_t dgps_source_auto_switching;
00073 
00074   typedef uint8_t _provider_type;
00075   uint8_t provider;
00076 
00077 
00078   typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct GNSSDGPSChannelStatus
00082 typedef  ::applanix_msgs::GNSSDGPSChannelStatus_<std::allocator<void> > GNSSDGPSChannelStatus;
00083 
00084 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSChannelStatus> GNSSDGPSChannelStatusPtr;
00085 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSChannelStatus const> GNSSDGPSChannelStatusConstPtr;
00086 
00087 
00088 template<typename ContainerAllocator>
00089 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> & v)
00090 {
00091   ros::message_operations::Printer< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> >::stream(s, "", v);
00092   return s;}
00093 
00094 } // namespace applanix_msgs
00095 
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator>  const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "8441bd37d9364590ce86273785774816";
00107   }
00108 
00109   static const char* value(const  ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> &) { return value(); } 
00110   static const uint64_t static_value1 = 0x8441bd37d9364590ULL;
00111   static const uint64_t static_value2 = 0xce86273785774816ULL;
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct DataType< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "applanix_msgs/GNSSDGPSChannelStatus";
00119   }
00120 
00121   static const char* value(const  ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct Definition< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "# Part of Group 25.\n\
00129 # TODO: enums\n\
00130 \n\
00131 float64 frequency\n\
00132 uint8 acquisition_mode\n\
00133 uint8 status\n\
00134 uint8 rtcm\n\
00135 uint8 snr\n\
00136 uint8 data_rate\n\
00137 uint8 lock\n\
00138 uint8 dgps_source_auto_switching\n\
00139 uint8 provider\n\
00140 \n\
00141 \n\
00142 ";
00143   }
00144 
00145   static const char* value(const  ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> > : public TrueType {};
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.frequency);
00162     stream.next(m.acquisition_mode);
00163     stream.next(m.status);
00164     stream.next(m.rtcm);
00165     stream.next(m.snr);
00166     stream.next(m.data_rate);
00167     stream.next(m.lock);
00168     stream.next(m.dgps_source_auto_switching);
00169     stream.next(m.provider);
00170   }
00171 
00172   ROS_DECLARE_ALLINONE_SERIALIZER;
00173 }; // struct GNSSDGPSChannelStatus_
00174 } // namespace serialization
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace message_operations
00180 {
00181 
00182 template<class ContainerAllocator>
00183 struct Printer< ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> >
00184 {
00185   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::GNSSDGPSChannelStatus_<ContainerAllocator> & v) 
00186   {
00187     s << indent << "frequency: ";
00188     Printer<double>::stream(s, indent + "  ", v.frequency);
00189     s << indent << "acquisition_mode: ";
00190     Printer<uint8_t>::stream(s, indent + "  ", v.acquisition_mode);
00191     s << indent << "status: ";
00192     Printer<uint8_t>::stream(s, indent + "  ", v.status);
00193     s << indent << "rtcm: ";
00194     Printer<uint8_t>::stream(s, indent + "  ", v.rtcm);
00195     s << indent << "snr: ";
00196     Printer<uint8_t>::stream(s, indent + "  ", v.snr);
00197     s << indent << "data_rate: ";
00198     Printer<uint8_t>::stream(s, indent + "  ", v.data_rate);
00199     s << indent << "lock: ";
00200     Printer<uint8_t>::stream(s, indent + "  ", v.lock);
00201     s << indent << "dgps_source_auto_switching: ";
00202     Printer<uint8_t>::stream(s, indent + "  ", v.dgps_source_auto_switching);
00203     s << indent << "provider: ";
00204     Printer<uint8_t>::stream(s, indent + "  ", v.provider);
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // APPLANIX_MSGS_MESSAGE_GNSSDGPSCHANNELSTATUS_H
00213 


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