COMPortMessages.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/COMPortMessages.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_COMPORTMESSAGES_H
00003 #define APPLANIX_MSGS_MESSAGE_COMPORTMESSAGES_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 COMPortMessages_ {
00022   typedef COMPortMessages_<ContainerAllocator> Type;
00023 
00024   COMPortMessages_()
00025   : port_num(0)
00026   , messages(0)
00027   , update_rate(0)
00028   {
00029   }
00030 
00031   COMPortMessages_(const ContainerAllocator& _alloc)
00032   : port_num(0)
00033   , messages(0)
00034   , update_rate(0)
00035   {
00036   }
00037 
00038   typedef uint8_t _port_num_type;
00039   uint8_t port_num;
00040 
00041   typedef uint32_t _messages_type;
00042   uint32_t messages;
00043 
00044   typedef uint8_t _update_rate_type;
00045   uint8_t update_rate;
00046 
00047   enum { MESSAGES_NMEA_GST = 1 };
00048   enum { MESSAGES_NMEA_GGA = 2 };
00049   enum { MESSAGES_NMEA_HDT = 4 };
00050   enum { MESSAGES_NMEA_ZDA = 8 };
00051   enum { MESSAGES_NMEA_EVT1 = 16 };
00052   enum { MESSAGES_NMEA_EVT2 = 32 };
00053   enum { MESSAGES_NMEA_VTG = 64 };
00054   enum { MESSAGES_NMEA_PASHR = 128 };
00055   enum { MESSAGES_NMEA_GGA2 = 8192 };
00056   enum { MESSAGES_NMEA_PPS = 16384 };
00057   enum { MESSAGES_NMEA_GGK = 32768 };
00058   enum { MESSAGES_NMEA_RMC = 65536 };
00059   enum { MESSAGES_BIN_GIMBAL_LOOP = 1 };
00060   enum { MESSAGES_BIN_RDR1 = 2 };
00061   enum { MESSAGES_BIN_PAST2 = 4 };
00062   enum { MESSAGES_BIN_PPS = 65536 };
00063   enum { MESSAGES_BIN_TM1B = 131072 };
00064 
00065   typedef boost::shared_ptr< ::applanix_msgs::COMPortMessages_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::applanix_msgs::COMPortMessages_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct COMPortMessages
00069 typedef  ::applanix_msgs::COMPortMessages_<std::allocator<void> > COMPortMessages;
00070 
00071 typedef boost::shared_ptr< ::applanix_msgs::COMPortMessages> COMPortMessagesPtr;
00072 typedef boost::shared_ptr< ::applanix_msgs::COMPortMessages const> COMPortMessagesConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::COMPortMessages_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::applanix_msgs::COMPortMessages_<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::COMPortMessages_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::COMPortMessages_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::applanix_msgs::COMPortMessages_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "88218ad4124322a799282c496fb3a33f";
00094   }
00095 
00096   static const char* value(const  ::applanix_msgs::COMPortMessages_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0x88218ad4124322a7ULL;
00098   static const uint64_t static_value2 = 0x99282c496fb3a33fULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::applanix_msgs::COMPortMessages_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "applanix_msgs/COMPortMessages";
00106   }
00107 
00108   static const char* value(const  ::applanix_msgs::COMPortMessages_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::applanix_msgs::COMPortMessages_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "uint8 port_num\n\
00116 \n\
00117 uint32 MESSAGES_NMEA_GST=1\n\
00118 uint32 MESSAGES_NMEA_GGA=2\n\
00119 uint32 MESSAGES_NMEA_HDT=4\n\
00120 uint32 MESSAGES_NMEA_ZDA=8\n\
00121 uint32 MESSAGES_NMEA_EVT1=16\n\
00122 uint32 MESSAGES_NMEA_EVT2=32\n\
00123 uint32 MESSAGES_NMEA_VTG=64\n\
00124 uint32 MESSAGES_NMEA_PASHR=128\n\
00125 uint32 MESSAGES_NMEA_GGA2=8192\n\
00126 uint32 MESSAGES_NMEA_PPS=16384\n\
00127 uint32 MESSAGES_NMEA_GGK=32768\n\
00128 uint32 MESSAGES_NMEA_RMC=65536\n\
00129 uint32 MESSAGES_BIN_GIMBAL_LOOP=1\n\
00130 uint32 MESSAGES_BIN_RDR1=2\n\
00131 uint32 MESSAGES_BIN_PAST2=4\n\
00132 uint32 MESSAGES_BIN_PPS=65536\n\
00133 uint32 MESSAGES_BIN_TM1B=131072\n\
00134 uint32 messages\n\
00135 \n\
00136 uint8 update_rate\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::applanix_msgs::COMPortMessages_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::COMPortMessages_<ContainerAllocator> > : public TrueType {};
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace serialization
00151 {
00152 
00153 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::COMPortMessages_<ContainerAllocator> >
00154 {
00155   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00156   {
00157     stream.next(m.port_num);
00158     stream.next(m.messages);
00159     stream.next(m.update_rate);
00160   }
00161 
00162   ROS_DECLARE_ALLINONE_SERIALIZER;
00163 }; // struct COMPortMessages_
00164 } // namespace serialization
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace message_operations
00170 {
00171 
00172 template<class ContainerAllocator>
00173 struct Printer< ::applanix_msgs::COMPortMessages_<ContainerAllocator> >
00174 {
00175   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::COMPortMessages_<ContainerAllocator> & v) 
00176   {
00177     s << indent << "port_num: ";
00178     Printer<uint8_t>::stream(s, indent + "  ", v.port_num);
00179     s << indent << "messages: ";
00180     Printer<uint32_t>::stream(s, indent + "  ", v.messages);
00181     s << indent << "update_rate: ";
00182     Printer<uint8_t>::stream(s, indent + "  ", v.update_rate);
00183   }
00184 };
00185 
00186 
00187 } // namespace message_operations
00188 } // namespace ros
00189 
00190 #endif // APPLANIX_MSGS_MESSAGE_COMPORTMESSAGES_H
00191 


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