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


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