GNSSSetup.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/GNSSSetup.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSSETUP_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSSETUP_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 GNSSSetup_ {
00022   typedef GNSSSetup_<ContainerAllocator> Type;
00023 
00024   GNSSSetup_()
00025   : transaction(0)
00026   , autoconfig(0)
00027   , rate(0)
00028   , reserved1(0)
00029   , reserved2(0)
00030   , reserved3(0)
00031   {
00032   }
00033 
00034   GNSSSetup_(const ContainerAllocator& _alloc)
00035   : transaction(0)
00036   , autoconfig(0)
00037   , rate(0)
00038   , reserved1(0)
00039   , reserved2(0)
00040   , reserved3(0)
00041   {
00042   }
00043 
00044   typedef uint16_t _transaction_type;
00045   uint16_t transaction;
00046 
00047   typedef uint8_t _autoconfig_type;
00048   uint8_t autoconfig;
00049 
00050   typedef uint8_t _rate_type;
00051   uint8_t rate;
00052 
00053   typedef uint8_t _reserved1_type;
00054   uint8_t reserved1;
00055 
00056   typedef uint32_t _reserved2_type;
00057   uint32_t reserved2;
00058 
00059   typedef uint8_t _reserved3_type;
00060   uint8_t reserved3;
00061 
00062   enum { AUTOCONFIG_ENABLE = 1 };
00063   enum { AUTOCONFIG_DISABLE = 0 };
00064 
00065   typedef boost::shared_ptr< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::applanix_msgs::GNSSSetup_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct GNSSSetup
00069 typedef  ::applanix_msgs::GNSSSetup_<std::allocator<void> > GNSSSetup;
00070 
00071 typedef boost::shared_ptr< ::applanix_msgs::GNSSSetup> GNSSSetupPtr;
00072 typedef boost::shared_ptr< ::applanix_msgs::GNSSSetup const> GNSSSetupConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::GNSSSetup_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::applanix_msgs::GNSSSetup_<ContainerAllocator> >::stream(s, "", v);
00079   return s;}
00080 
00081 } // namespace applanix_msgs
00082 
00083 namespace ros
00084 {
00085 namespace message_traits
00086 {
00087 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSSetup_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "02ec55e95fd85f13541cf9fc7cb12f4e";
00094   }
00095 
00096   static const char* value(const  ::applanix_msgs::GNSSSetup_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0x02ec55e95fd85f13ULL;
00098   static const uint64_t static_value2 = 0x541cf9fc7cb12f4eULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "applanix_msgs/GNSSSetup";
00106   }
00107 
00108   static const char* value(const  ::applanix_msgs::GNSSSetup_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "# Msg 30, 31\n\
00116 uint16 transaction\n\
00117 \n\
00118 uint8 AUTOCONFIG_ENABLE=1\n\
00119 uint8 AUTOCONFIG_DISABLE=0\n\
00120 uint8 autoconfig\n\
00121 \n\
00122 # Valid values = 1, 5, 10 (Hz)\n\
00123 uint8 rate\n\
00124 \n\
00125 uint8 reserved1\n\
00126 uint32 reserved2\n\
00127 uint8 reserved3\n\
00128 \n\
00129 ";
00130   }
00131 
00132   static const char* value(const  ::applanix_msgs::GNSSSetup_<ContainerAllocator> &) { return value(); } 
00133 };
00134 
00135 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GNSSSetup_<ContainerAllocator> > : public TrueType {};
00136 } // namespace message_traits
00137 } // namespace ros
00138 
00139 namespace ros
00140 {
00141 namespace serialization
00142 {
00143 
00144 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSSetup_<ContainerAllocator> >
00145 {
00146   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00147   {
00148     stream.next(m.transaction);
00149     stream.next(m.autoconfig);
00150     stream.next(m.rate);
00151     stream.next(m.reserved1);
00152     stream.next(m.reserved2);
00153     stream.next(m.reserved3);
00154   }
00155 
00156   ROS_DECLARE_ALLINONE_SERIALIZER;
00157 }; // struct GNSSSetup_
00158 } // namespace serialization
00159 } // namespace ros
00160 
00161 namespace ros
00162 {
00163 namespace message_operations
00164 {
00165 
00166 template<class ContainerAllocator>
00167 struct Printer< ::applanix_msgs::GNSSSetup_<ContainerAllocator> >
00168 {
00169   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::GNSSSetup_<ContainerAllocator> & v) 
00170   {
00171     s << indent << "transaction: ";
00172     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00173     s << indent << "autoconfig: ";
00174     Printer<uint8_t>::stream(s, indent + "  ", v.autoconfig);
00175     s << indent << "rate: ";
00176     Printer<uint8_t>::stream(s, indent + "  ", v.rate);
00177     s << indent << "reserved1: ";
00178     Printer<uint8_t>::stream(s, indent + "  ", v.reserved1);
00179     s << indent << "reserved2: ";
00180     Printer<uint32_t>::stream(s, indent + "  ", v.reserved2);
00181     s << indent << "reserved3: ";
00182     Printer<uint8_t>::stream(s, indent + "  ", v.reserved3);
00183   }
00184 };
00185 
00186 
00187 } // namespace message_operations
00188 } // namespace ros
00189 
00190 #endif // APPLANIX_MSGS_MESSAGE_GNSSSETUP_H
00191 


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