GNSSControl.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/GNSSControl.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSCONTROL_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSCONTROL_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 GNSSControl_ {
00022   typedef GNSSControl_<ContainerAllocator> Type;
00023 
00024   GNSSControl_()
00025   : transaction(0)
00026   , control(0)
00027   {
00028   }
00029 
00030   GNSSControl_(const ContainerAllocator& _alloc)
00031   : transaction(0)
00032   , control(0)
00033   {
00034   }
00035 
00036   typedef uint16_t _transaction_type;
00037   uint16_t transaction;
00038 
00039   typedef uint8_t _control_type;
00040   uint8_t control;
00041 
00042   enum { CONTROL_PRIMARY_GNSS_CONFIG = 0 };
00043   enum { CONTROL_PRIMARY_GNSS_RESET = 1 };
00044   enum { CONTROL_SECONDARY_GNSS_CONFIG = 2 };
00045   enum { CONTROL_SECONDARY_GNSS_RESET = 3 };
00046 
00047   typedef boost::shared_ptr< ::applanix_msgs::GNSSControl_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::applanix_msgs::GNSSControl_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct GNSSControl
00051 typedef  ::applanix_msgs::GNSSControl_<std::allocator<void> > GNSSControl;
00052 
00053 typedef boost::shared_ptr< ::applanix_msgs::GNSSControl> GNSSControlPtr;
00054 typedef boost::shared_ptr< ::applanix_msgs::GNSSControl const> GNSSControlConstPtr;
00055 
00056 
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::GNSSControl_<ContainerAllocator> & v)
00059 {
00060   ros::message_operations::Printer< ::applanix_msgs::GNSSControl_<ContainerAllocator> >::stream(s, "", v);
00061   return s;}
00062 
00063 } // namespace applanix_msgs
00064 
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSControl_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSControl_<ContainerAllocator>  const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::applanix_msgs::GNSSControl_<ContainerAllocator> > {
00073   static const char* value() 
00074   {
00075     return "1afc77ae104c2a173006233b6540798b";
00076   }
00077 
00078   static const char* value(const  ::applanix_msgs::GNSSControl_<ContainerAllocator> &) { return value(); } 
00079   static const uint64_t static_value1 = 0x1afc77ae104c2a17ULL;
00080   static const uint64_t static_value2 = 0x3006233b6540798bULL;
00081 };
00082 
00083 template<class ContainerAllocator>
00084 struct DataType< ::applanix_msgs::GNSSControl_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "applanix_msgs/GNSSControl";
00088   }
00089 
00090   static const char* value(const  ::applanix_msgs::GNSSControl_<ContainerAllocator> &) { return value(); } 
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct Definition< ::applanix_msgs::GNSSControl_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "# Msg 91\n\
00098 uint16 transaction\n\
00099 \n\
00100 uint8 CONTROL_PRIMARY_GNSS_CONFIG=0\n\
00101 uint8 CONTROL_PRIMARY_GNSS_RESET=1\n\
00102 uint8 CONTROL_SECONDARY_GNSS_CONFIG=2\n\
00103 uint8 CONTROL_SECONDARY_GNSS_RESET=3\n\
00104 uint8 control\n\
00105 \n\
00106 ";
00107   }
00108 
00109   static const char* value(const  ::applanix_msgs::GNSSControl_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GNSSControl_<ContainerAllocator> > : public TrueType {};
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSControl_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.transaction);
00126     stream.next(m.control);
00127   }
00128 
00129   ROS_DECLARE_ALLINONE_SERIALIZER;
00130 }; // struct GNSSControl_
00131 } // namespace serialization
00132 } // namespace ros
00133 
00134 namespace ros
00135 {
00136 namespace message_operations
00137 {
00138 
00139 template<class ContainerAllocator>
00140 struct Printer< ::applanix_msgs::GNSSControl_<ContainerAllocator> >
00141 {
00142   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::GNSSControl_<ContainerAllocator> & v) 
00143   {
00144     s << indent << "transaction: ";
00145     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00146     s << indent << "control: ";
00147     Printer<uint8_t>::stream(s, indent + "  ", v.control);
00148   }
00149 };
00150 
00151 
00152 } // namespace message_operations
00153 } // namespace ros
00154 
00155 #endif // APPLANIX_MSGS_MESSAGE_GNSSCONTROL_H
00156 


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