NMEAMessageSelect.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/NMEAMessageSelect.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_NMEAMESSAGESELECT_H
00003 #define APPLANIX_MSGS_MESSAGE_NMEAMESSAGESELECT_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 #include "applanix_msgs/COMPortMessages.h"
00018 
00019 namespace applanix_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct NMEAMessageSelect_ {
00023   typedef NMEAMessageSelect_<ContainerAllocator> Type;
00024 
00025   NMEAMessageSelect_()
00026   : transaction(0)
00027   , reserved()
00028   , talker(0)
00029   , ports_count(0)
00030   , ports()
00031   {
00032     reserved.assign(0);
00033   }
00034 
00035   NMEAMessageSelect_(const ContainerAllocator& _alloc)
00036   : transaction(0)
00037   , reserved()
00038   , talker(0)
00039   , ports_count(0)
00040   , ports(_alloc)
00041   {
00042     reserved.assign(0);
00043   }
00044 
00045   typedef uint16_t _transaction_type;
00046   uint16_t transaction;
00047 
00048   typedef boost::array<uint8_t, 9>  _reserved_type;
00049   boost::array<uint8_t, 9>  reserved;
00050 
00051   typedef uint8_t _talker_type;
00052   uint8_t talker;
00053 
00054   typedef uint8_t _ports_count_type;
00055   uint8_t ports_count;
00056 
00057   typedef std::vector< ::applanix_msgs::COMPortMessages_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::applanix_msgs::COMPortMessages_<ContainerAllocator> >::other >  _ports_type;
00058   std::vector< ::applanix_msgs::COMPortMessages_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::applanix_msgs::COMPortMessages_<ContainerAllocator> >::other >  ports;
00059 
00060   enum { TALKER_IN = 0 };
00061   enum { TALKER_GP = 1 };
00062 
00063   typedef boost::shared_ptr< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct NMEAMessageSelect
00067 typedef  ::applanix_msgs::NMEAMessageSelect_<std::allocator<void> > NMEAMessageSelect;
00068 
00069 typedef boost::shared_ptr< ::applanix_msgs::NMEAMessageSelect> NMEAMessageSelectPtr;
00070 typedef boost::shared_ptr< ::applanix_msgs::NMEAMessageSelect const> NMEAMessageSelectConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace applanix_msgs
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "d988d97031c9db73713ce27fde744cff";
00092   }
00093 
00094   static const char* value(const  ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0xd988d97031c9db73ULL;
00096   static const uint64_t static_value2 = 0x713ce27fde744cffULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "applanix_msgs/NMEAMessageSelect";
00104   }
00105 
00106   static const char* value(const  ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "# Msg 35\n\
00114 uint16 transaction\n\
00115 \n\
00116 uint8[9] reserved\n\
00117 \n\
00118 uint8 TALKER_IN=0\n\
00119 uint8 TALKER_GP=1\n\
00120 uint8 talker\n\
00121 \n\
00122 uint8 ports_count\n\
00123 COMPortMessages[] ports\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: applanix_msgs/COMPortMessages\n\
00127 uint8 port_num\n\
00128 \n\
00129 uint32 MESSAGES_NMEA_GST=1\n\
00130 uint32 MESSAGES_NMEA_GGA=2\n\
00131 uint32 MESSAGES_NMEA_HDT=4\n\
00132 uint32 MESSAGES_NMEA_ZDA=8\n\
00133 uint32 MESSAGES_NMEA_EVT1=16\n\
00134 uint32 MESSAGES_NMEA_EVT2=32\n\
00135 uint32 MESSAGES_NMEA_VTG=64\n\
00136 uint32 MESSAGES_NMEA_PASHR=128\n\
00137 uint32 MESSAGES_NMEA_GGA2=8192\n\
00138 uint32 MESSAGES_NMEA_PPS=16384\n\
00139 uint32 MESSAGES_NMEA_GGK=32768\n\
00140 uint32 MESSAGES_NMEA_RMC=65536\n\
00141 uint32 MESSAGES_BIN_GIMBAL_LOOP=1\n\
00142 uint32 MESSAGES_BIN_RDR1=2\n\
00143 uint32 MESSAGES_BIN_PAST2=4\n\
00144 uint32 MESSAGES_BIN_PPS=65536\n\
00145 uint32 MESSAGES_BIN_TM1B=131072\n\
00146 uint32 messages\n\
00147 \n\
00148 uint8 update_rate\n\
00149 \n\
00150 ";
00151   }
00152 
00153   static const char* value(const  ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> &) { return value(); } 
00154 };
00155 
00156 } // namespace message_traits
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace serialization
00162 {
00163 
00164 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> >
00165 {
00166   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00167   {
00168     stream.next(m.transaction);
00169     stream.next(m.reserved);
00170     stream.next(m.talker);
00171     stream.next(m.ports_count);
00172     stream.next(m.ports);
00173   }
00174 
00175   ROS_DECLARE_ALLINONE_SERIALIZER;
00176 }; // struct NMEAMessageSelect_
00177 } // namespace serialization
00178 } // namespace ros
00179 
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184 
00185 template<class ContainerAllocator>
00186 struct Printer< ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> >
00187 {
00188   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::NMEAMessageSelect_<ContainerAllocator> & v) 
00189   {
00190     s << indent << "transaction: ";
00191     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00192     s << indent << "reserved[]" << std::endl;
00193     for (size_t i = 0; i < v.reserved.size(); ++i)
00194     {
00195       s << indent << "  reserved[" << i << "]: ";
00196       Printer<uint8_t>::stream(s, indent + "  ", v.reserved[i]);
00197     }
00198     s << indent << "talker: ";
00199     Printer<uint8_t>::stream(s, indent + "  ", v.talker);
00200     s << indent << "ports_count: ";
00201     Printer<uint8_t>::stream(s, indent + "  ", v.ports_count);
00202     s << indent << "ports[]" << std::endl;
00203     for (size_t i = 0; i < v.ports.size(); ++i)
00204     {
00205       s << indent << "  ports[" << i << "]: ";
00206       s << std::endl;
00207       s << indent;
00208       Printer< ::applanix_msgs::COMPortMessages_<ContainerAllocator> >::stream(s, indent + "    ", v.ports[i]);
00209     }
00210   }
00211 };
00212 
00213 
00214 } // namespace message_operations
00215 } // namespace ros
00216 
00217 #endif // APPLANIX_MSGS_MESSAGE_NMEAMESSAGESELECT_H
00218 


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