BaseGNSSSetup.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/BaseGNSSSetup.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_BASEGNSSSETUP_H
00003 #define APPLANIX_MSGS_MESSAGE_BASEGNSSSETUP_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 BaseGNSSSetup_ {
00022   typedef BaseGNSSSetup_<ContainerAllocator> Type;
00023 
00024   BaseGNSSSetup_()
00025   : transaction(0)
00026   , base_gnss_input_type(0)
00027   , line_control(0)
00028   , modem_control(0)
00029   , connection_control(0)
00030   , phone_number()
00031   , num_redials(0)
00032   , modem_command_string()
00033   , modem_init_string()
00034   , data_timeout_length(0)
00035   , datum(0)
00036   {
00037     phone_number.assign(0);
00038     modem_command_string.assign(0);
00039     modem_init_string.assign(0);
00040   }
00041 
00042   BaseGNSSSetup_(const ContainerAllocator& _alloc)
00043   : transaction(0)
00044   , base_gnss_input_type(0)
00045   , line_control(0)
00046   , modem_control(0)
00047   , connection_control(0)
00048   , phone_number()
00049   , num_redials(0)
00050   , modem_command_string()
00051   , modem_init_string()
00052   , data_timeout_length(0)
00053   , datum(0)
00054   {
00055     phone_number.assign(0);
00056     modem_command_string.assign(0);
00057     modem_init_string.assign(0);
00058   }
00059 
00060   typedef uint16_t _transaction_type;
00061   uint16_t transaction;
00062 
00063   typedef uint16_t _base_gnss_input_type_type;
00064   uint16_t base_gnss_input_type;
00065 
00066   typedef uint8_t _line_control_type;
00067   uint8_t line_control;
00068 
00069   typedef uint8_t _modem_control_type;
00070   uint8_t modem_control;
00071 
00072   typedef uint8_t _connection_control_type;
00073   uint8_t connection_control;
00074 
00075   typedef boost::array<uint8_t, 32>  _phone_number_type;
00076   boost::array<uint8_t, 32>  phone_number;
00077 
00078   typedef uint8_t _num_redials_type;
00079   uint8_t num_redials;
00080 
00081   typedef boost::array<uint8_t, 64>  _modem_command_string_type;
00082   boost::array<uint8_t, 64>  modem_command_string;
00083 
00084   typedef boost::array<uint8_t, 128>  _modem_init_string_type;
00085   boost::array<uint8_t, 128>  modem_init_string;
00086 
00087   typedef uint16_t _data_timeout_length_type;
00088   uint16_t data_timeout_length;
00089 
00090   typedef uint16_t _datum_type;
00091   uint16_t datum;
00092 
00093   enum { TYPE_NONE = 0 };
00094   enum { TYPE_RTCM_1 = 1 };
00095   enum { TYPE_RTCM_3 = 2 };
00096   enum { TYPE_CMR = 3 };
00097   enum { DATUM_WGS84 = 0 };
00098   enum { DATUM_NAD83 = 1 };
00099 
00100   typedef boost::shared_ptr< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > Ptr;
00101   typedef boost::shared_ptr< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator>  const> ConstPtr;
00102   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 }; // struct BaseGNSSSetup
00104 typedef  ::applanix_msgs::BaseGNSSSetup_<std::allocator<void> > BaseGNSSSetup;
00105 
00106 typedef boost::shared_ptr< ::applanix_msgs::BaseGNSSSetup> BaseGNSSSetupPtr;
00107 typedef boost::shared_ptr< ::applanix_msgs::BaseGNSSSetup const> BaseGNSSSetupConstPtr;
00108 
00109 
00110 template<typename ContainerAllocator>
00111 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> & v)
00112 {
00113   ros::message_operations::Printer< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> >::stream(s, "", v);
00114   return s;}
00115 
00116 } // namespace applanix_msgs
00117 
00118 namespace ros
00119 {
00120 namespace message_traits
00121 {
00122 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > : public TrueType {};
00123 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator>  const> : public TrueType {};
00124 template<class ContainerAllocator>
00125 struct MD5Sum< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "d1009e68ee977cbe61164b28eb218883";
00129   }
00130 
00131   static const char* value(const  ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> &) { return value(); } 
00132   static const uint64_t static_value1 = 0xd1009e68ee977cbeULL;
00133   static const uint64_t static_value2 = 0x61164b28eb218883ULL;
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct DataType< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "applanix_msgs/BaseGNSSSetup";
00141   }
00142 
00143   static const char* value(const  ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> &) { return value(); } 
00144 };
00145 
00146 template<class ContainerAllocator>
00147 struct Definition< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > {
00148   static const char* value() 
00149   {
00150     return "uint16 transaction\n\
00151 \n\
00152 # TODO: enums\n\
00153 uint16 TYPE_NONE=0\n\
00154 uint16 TYPE_RTCM_1=1\n\
00155 uint16 TYPE_RTCM_3=2\n\
00156 uint16 TYPE_CMR=3\n\
00157 uint16 base_gnss_input_type\n\
00158 \n\
00159 uint8 line_control\n\
00160 \n\
00161 uint8 modem_control\n\
00162 \n\
00163 uint8 connection_control\n\
00164 \n\
00165 uint8[32] phone_number\n\
00166 \n\
00167 uint8 num_redials\n\
00168 \n\
00169 uint8[64] modem_command_string\n\
00170 \n\
00171 uint8[128] modem_init_string\n\
00172 \n\
00173 uint16 data_timeout_length\n\
00174 \n\
00175 uint16 DATUM_WGS84=0\n\
00176 uint16 DATUM_NAD83=1\n\
00177 uint16 datum\n\
00178 \n\
00179 ";
00180   }
00181 
00182   static const char* value(const  ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> &) { return value(); } 
00183 };
00184 
00185 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> > : public TrueType {};
00186 } // namespace message_traits
00187 } // namespace ros
00188 
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193 
00194 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> >
00195 {
00196   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197   {
00198     stream.next(m.transaction);
00199     stream.next(m.base_gnss_input_type);
00200     stream.next(m.line_control);
00201     stream.next(m.modem_control);
00202     stream.next(m.connection_control);
00203     stream.next(m.phone_number);
00204     stream.next(m.num_redials);
00205     stream.next(m.modem_command_string);
00206     stream.next(m.modem_init_string);
00207     stream.next(m.data_timeout_length);
00208     stream.next(m.datum);
00209   }
00210 
00211   ROS_DECLARE_ALLINONE_SERIALIZER;
00212 }; // struct BaseGNSSSetup_
00213 } // namespace serialization
00214 } // namespace ros
00215 
00216 namespace ros
00217 {
00218 namespace message_operations
00219 {
00220 
00221 template<class ContainerAllocator>
00222 struct Printer< ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> >
00223 {
00224   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::BaseGNSSSetup_<ContainerAllocator> & v) 
00225   {
00226     s << indent << "transaction: ";
00227     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00228     s << indent << "base_gnss_input_type: ";
00229     Printer<uint16_t>::stream(s, indent + "  ", v.base_gnss_input_type);
00230     s << indent << "line_control: ";
00231     Printer<uint8_t>::stream(s, indent + "  ", v.line_control);
00232     s << indent << "modem_control: ";
00233     Printer<uint8_t>::stream(s, indent + "  ", v.modem_control);
00234     s << indent << "connection_control: ";
00235     Printer<uint8_t>::stream(s, indent + "  ", v.connection_control);
00236     s << indent << "phone_number[]" << std::endl;
00237     for (size_t i = 0; i < v.phone_number.size(); ++i)
00238     {
00239       s << indent << "  phone_number[" << i << "]: ";
00240       Printer<uint8_t>::stream(s, indent + "  ", v.phone_number[i]);
00241     }
00242     s << indent << "num_redials: ";
00243     Printer<uint8_t>::stream(s, indent + "  ", v.num_redials);
00244     s << indent << "modem_command_string[]" << std::endl;
00245     for (size_t i = 0; i < v.modem_command_string.size(); ++i)
00246     {
00247       s << indent << "  modem_command_string[" << i << "]: ";
00248       Printer<uint8_t>::stream(s, indent + "  ", v.modem_command_string[i]);
00249     }
00250     s << indent << "modem_init_string[]" << std::endl;
00251     for (size_t i = 0; i < v.modem_init_string.size(); ++i)
00252     {
00253       s << indent << "  modem_init_string[" << i << "]: ";
00254       Printer<uint8_t>::stream(s, indent + "  ", v.modem_init_string[i]);
00255     }
00256     s << indent << "data_timeout_length: ";
00257     Printer<uint16_t>::stream(s, indent + "  ", v.data_timeout_length);
00258     s << indent << "datum: ";
00259     Printer<uint16_t>::stream(s, indent + "  ", v.datum);
00260   }
00261 };
00262 
00263 
00264 } // namespace message_operations
00265 } // namespace ros
00266 
00267 #endif // APPLANIX_MSGS_MESSAGE_BASEGNSSSETUP_H
00268 


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