DGPSSourceControl.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/DGPSSourceControl.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_DGPSSOURCECONTROL_H
00003 #define APPLANIX_MSGS_MESSAGE_DGPSSOURCECONTROL_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 DGPSSourceControl_ {
00022   typedef DGPSSourceControl_<ContainerAllocator> Type;
00023 
00024   DGPSSourceControl_()
00025   : transaction(0)
00026   , dgps_source_mode(0)
00027   , beacon_acquisition_mode(0)
00028   , beacon_channel_0_frequency(0)
00029   , beacon_channel_1_frequency(0)
00030   , satellite_id(0)
00031   , satellite_bitrate(0)
00032   , satellite_frequency(0.0)
00033   , request_database_source(0)
00034   , landstar_correction_source(0)
00035   , omnistar_activation_code()
00036   {
00037     omnistar_activation_code.assign(0);
00038   }
00039 
00040   DGPSSourceControl_(const ContainerAllocator& _alloc)
00041   : transaction(0)
00042   , dgps_source_mode(0)
00043   , beacon_acquisition_mode(0)
00044   , beacon_channel_0_frequency(0)
00045   , beacon_channel_1_frequency(0)
00046   , satellite_id(0)
00047   , satellite_bitrate(0)
00048   , satellite_frequency(0.0)
00049   , request_database_source(0)
00050   , landstar_correction_source(0)
00051   , omnistar_activation_code()
00052   {
00053     omnistar_activation_code.assign(0);
00054   }
00055 
00056   typedef uint16_t _transaction_type;
00057   uint16_t transaction;
00058 
00059   typedef uint8_t _dgps_source_mode_type;
00060   uint8_t dgps_source_mode;
00061 
00062   typedef uint8_t _beacon_acquisition_mode_type;
00063   uint8_t beacon_acquisition_mode;
00064 
00065   typedef uint16_t _beacon_channel_0_frequency_type;
00066   uint16_t beacon_channel_0_frequency;
00067 
00068   typedef uint16_t _beacon_channel_1_frequency_type;
00069   uint16_t beacon_channel_1_frequency;
00070 
00071   typedef uint8_t _satellite_id_type;
00072   uint8_t satellite_id;
00073 
00074   typedef uint16_t _satellite_bitrate_type;
00075   uint16_t satellite_bitrate;
00076 
00077   typedef double _satellite_frequency_type;
00078   double satellite_frequency;
00079 
00080   typedef uint8_t _request_database_source_type;
00081   uint8_t request_database_source;
00082 
00083   typedef uint8_t _landstar_correction_source_type;
00084   uint8_t landstar_correction_source;
00085 
00086   typedef boost::array<uint8_t, 26>  _omnistar_activation_code_type;
00087   boost::array<uint8_t, 26>  omnistar_activation_code;
00088 
00089 
00090   typedef boost::shared_ptr< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > Ptr;
00091   typedef boost::shared_ptr< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator>  const> ConstPtr;
00092   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 }; // struct DGPSSourceControl
00094 typedef  ::applanix_msgs::DGPSSourceControl_<std::allocator<void> > DGPSSourceControl;
00095 
00096 typedef boost::shared_ptr< ::applanix_msgs::DGPSSourceControl> DGPSSourceControlPtr;
00097 typedef boost::shared_ptr< ::applanix_msgs::DGPSSourceControl const> DGPSSourceControlConstPtr;
00098 
00099 
00100 template<typename ContainerAllocator>
00101 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> & v)
00102 {
00103   ros::message_operations::Printer< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> >::stream(s, "", v);
00104   return s;}
00105 
00106 } // namespace applanix_msgs
00107 
00108 namespace ros
00109 {
00110 namespace message_traits
00111 {
00112 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > : public TrueType {};
00113 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator>  const> : public TrueType {};
00114 template<class ContainerAllocator>
00115 struct MD5Sum< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "647a618f1252a3c18cb54ba603253af8";
00119   }
00120 
00121   static const char* value(const  ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> &) { return value(); } 
00122   static const uint64_t static_value1 = 0x647a618f1252a3c1ULL;
00123   static const uint64_t static_value2 = 0x8cb54ba603253af8ULL;
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct DataType< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "applanix_msgs/DGPSSourceControl";
00131   }
00132 
00133   static const char* value(const  ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct Definition< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "# Msg 41\n\
00141 uint16 transaction\n\
00142 \n\
00143 # TODO: enums\n\
00144 uint8 dgps_source_mode\n\
00145 uint8 beacon_acquisition_mode\n\
00146 uint16 beacon_channel_0_frequency\n\
00147 uint16 beacon_channel_1_frequency\n\
00148 \n\
00149 uint8 satellite_id\n\
00150 \n\
00151 uint16 satellite_bitrate\n\
00152 float64 satellite_frequency\n\
00153 \n\
00154 uint8 request_database_source\n\
00155 uint8 landstar_correction_source\n\
00156 uint8[26] omnistar_activation_code\n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> > : public TrueType {};
00165 } // namespace message_traits
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace serialization
00171 {
00172 
00173 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> >
00174 {
00175   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00176   {
00177     stream.next(m.transaction);
00178     stream.next(m.dgps_source_mode);
00179     stream.next(m.beacon_acquisition_mode);
00180     stream.next(m.beacon_channel_0_frequency);
00181     stream.next(m.beacon_channel_1_frequency);
00182     stream.next(m.satellite_id);
00183     stream.next(m.satellite_bitrate);
00184     stream.next(m.satellite_frequency);
00185     stream.next(m.request_database_source);
00186     stream.next(m.landstar_correction_source);
00187     stream.next(m.omnistar_activation_code);
00188   }
00189 
00190   ROS_DECLARE_ALLINONE_SERIALIZER;
00191 }; // struct DGPSSourceControl_
00192 } // namespace serialization
00193 } // namespace ros
00194 
00195 namespace ros
00196 {
00197 namespace message_operations
00198 {
00199 
00200 template<class ContainerAllocator>
00201 struct Printer< ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> >
00202 {
00203   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::DGPSSourceControl_<ContainerAllocator> & v) 
00204   {
00205     s << indent << "transaction: ";
00206     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00207     s << indent << "dgps_source_mode: ";
00208     Printer<uint8_t>::stream(s, indent + "  ", v.dgps_source_mode);
00209     s << indent << "beacon_acquisition_mode: ";
00210     Printer<uint8_t>::stream(s, indent + "  ", v.beacon_acquisition_mode);
00211     s << indent << "beacon_channel_0_frequency: ";
00212     Printer<uint16_t>::stream(s, indent + "  ", v.beacon_channel_0_frequency);
00213     s << indent << "beacon_channel_1_frequency: ";
00214     Printer<uint16_t>::stream(s, indent + "  ", v.beacon_channel_1_frequency);
00215     s << indent << "satellite_id: ";
00216     Printer<uint8_t>::stream(s, indent + "  ", v.satellite_id);
00217     s << indent << "satellite_bitrate: ";
00218     Printer<uint16_t>::stream(s, indent + "  ", v.satellite_bitrate);
00219     s << indent << "satellite_frequency: ";
00220     Printer<double>::stream(s, indent + "  ", v.satellite_frequency);
00221     s << indent << "request_database_source: ";
00222     Printer<uint8_t>::stream(s, indent + "  ", v.request_database_source);
00223     s << indent << "landstar_correction_source: ";
00224     Printer<uint8_t>::stream(s, indent + "  ", v.landstar_correction_source);
00225     s << indent << "omnistar_activation_code[]" << std::endl;
00226     for (size_t i = 0; i < v.omnistar_activation_code.size(); ++i)
00227     {
00228       s << indent << "  omnistar_activation_code[" << i << "]: ";
00229       Printer<uint8_t>::stream(s, indent + "  ", v.omnistar_activation_code[i]);
00230     }
00231   }
00232 };
00233 
00234 
00235 } // namespace message_operations
00236 } // namespace ros
00237 
00238 #endif // APPLANIX_MSGS_MESSAGE_DGPSSOURCECONTROL_H
00239 


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