apm_gps.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/yam/ros_workspace/robonoa/apm/msg/apm_gps.msg */
00002 #ifndef APM_MESSAGE_APM_GPS_H
00003 #define APM_MESSAGE_APM_GPS_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 apm
00019 {
00020 template <class ContainerAllocator>
00021 struct apm_gps_ {
00022   typedef apm_gps_<ContainerAllocator> Type;
00023 
00024   apm_gps_()
00025   : lat(0)
00026   , lon(0)
00027   , alt(0)
00028   , sats(0)
00029   , hdop(0)
00030   , status(0)
00031   {
00032   }
00033 
00034   apm_gps_(const ContainerAllocator& _alloc)
00035   : lat(0)
00036   , lon(0)
00037   , alt(0)
00038   , sats(0)
00039   , hdop(0)
00040   , status(0)
00041   {
00042   }
00043 
00044   typedef int32_t _lat_type;
00045   int32_t lat;
00046 
00047   typedef int32_t _lon_type;
00048   int32_t lon;
00049 
00050   typedef int16_t _alt_type;
00051   int16_t alt;
00052 
00053   typedef int16_t _sats_type;
00054   int16_t sats;
00055 
00056   typedef int16_t _hdop_type;
00057   int16_t hdop;
00058 
00059   typedef int16_t _status_type;
00060   int16_t status;
00061 
00062 
00063   typedef boost::shared_ptr< ::apm::apm_gps_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::apm::apm_gps_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct apm_gps
00067 typedef  ::apm::apm_gps_<std::allocator<void> > apm_gps;
00068 
00069 typedef boost::shared_ptr< ::apm::apm_gps> apm_gpsPtr;
00070 typedef boost::shared_ptr< ::apm::apm_gps const> apm_gpsConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::apm::apm_gps_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::apm::apm_gps_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace apm
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::apm::apm_gps_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::apm::apm_gps_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::apm::apm_gps_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "c993a66a6584fc0d2871154e12be7053";
00092   }
00093 
00094   static const char* value(const  ::apm::apm_gps_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0xc993a66a6584fc0dULL;
00096   static const uint64_t static_value2 = 0x2871154e12be7053ULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::apm::apm_gps_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "apm/apm_gps";
00104   }
00105 
00106   static const char* value(const  ::apm::apm_gps_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::apm::apm_gps_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "int32 lat\n\
00114 int32 lon\n\
00115 int16 alt\n\
00116 int16 sats\n\
00117 int16 hdop\n\
00118 int16 status\n\
00119 \n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::apm::apm_gps_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator> struct IsFixedSize< ::apm::apm_gps_<ContainerAllocator> > : public TrueType {};
00128 } // namespace message_traits
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace serialization
00134 {
00135 
00136 template<class ContainerAllocator> struct Serializer< ::apm::apm_gps_<ContainerAllocator> >
00137 {
00138   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00139   {
00140     stream.next(m.lat);
00141     stream.next(m.lon);
00142     stream.next(m.alt);
00143     stream.next(m.sats);
00144     stream.next(m.hdop);
00145     stream.next(m.status);
00146   }
00147 
00148   ROS_DECLARE_ALLINONE_SERIALIZER;
00149 }; // struct apm_gps_
00150 } // namespace serialization
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157 
00158 template<class ContainerAllocator>
00159 struct Printer< ::apm::apm_gps_<ContainerAllocator> >
00160 {
00161   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::apm::apm_gps_<ContainerAllocator> & v) 
00162   {
00163     s << indent << "lat: ";
00164     Printer<int32_t>::stream(s, indent + "  ", v.lat);
00165     s << indent << "lon: ";
00166     Printer<int32_t>::stream(s, indent + "  ", v.lon);
00167     s << indent << "alt: ";
00168     Printer<int16_t>::stream(s, indent + "  ", v.alt);
00169     s << indent << "sats: ";
00170     Printer<int16_t>::stream(s, indent + "  ", v.sats);
00171     s << indent << "hdop: ";
00172     Printer<int16_t>::stream(s, indent + "  ", v.hdop);
00173     s << indent << "status: ";
00174     Printer<int16_t>::stream(s, indent + "  ", v.status);
00175   }
00176 };
00177 
00178 
00179 } // namespace message_operations
00180 } // namespace ros
00181 
00182 #endif // APM_MESSAGE_APM_GPS_H
00183 


komodo_sensors
Author(s): RoboTiCan
autogenerated on Tue Jan 7 2014 11:20:00