CfgSBAS.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/ublox/ublox_msgs/msg/CfgSBAS.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_CFGSBAS_H
00003 #define UBLOX_MSGS_MESSAGE_CFGSBAS_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 ublox_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct CfgSBAS_ {
00022   typedef CfgSBAS_<ContainerAllocator> Type;
00023 
00024   CfgSBAS_()
00025   : mode(0)
00026   , usage(0)
00027   , maxSBAS(0)
00028   , scanmode2(0)
00029   , scanmode1(0)
00030   {
00031   }
00032 
00033   CfgSBAS_(const ContainerAllocator& _alloc)
00034   : mode(0)
00035   , usage(0)
00036   , maxSBAS(0)
00037   , scanmode2(0)
00038   , scanmode1(0)
00039   {
00040   }
00041 
00042   typedef uint8_t _mode_type;
00043   uint8_t mode;
00044 
00045   typedef uint8_t _usage_type;
00046   uint8_t usage;
00047 
00048   typedef uint8_t _maxSBAS_type;
00049   uint8_t maxSBAS;
00050 
00051   typedef uint8_t _scanmode2_type;
00052   uint8_t scanmode2;
00053 
00054   typedef uint32_t _scanmode1_type;
00055   uint32_t scanmode1;
00056 
00057   enum { CLASS_ID = 6 };
00058   enum { MESSAGE_ID = 22 };
00059   enum { MODE_ENABLED = 1 };
00060   enum { MODE_TEST = 2 };
00061   enum { USAGE_RANGE = 1 };
00062   enum { USAGE_DIFFCORR = 2 };
00063   enum { USAGE_INTEGRITY = 4 };
00064 
00065   typedef boost::shared_ptr< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::ublox_msgs::CfgSBAS_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct CfgSBAS
00069 typedef  ::ublox_msgs::CfgSBAS_<std::allocator<void> > CfgSBAS;
00070 
00071 typedef boost::shared_ptr< ::ublox_msgs::CfgSBAS> CfgSBASPtr;
00072 typedef boost::shared_ptr< ::ublox_msgs::CfgSBAS const> CfgSBASConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::CfgSBAS_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::ublox_msgs::CfgSBAS_<ContainerAllocator> >::stream(s, "", v);
00079   return s;}
00080 
00081 } // namespace ublox_msgs
00082 
00083 namespace ros
00084 {
00085 namespace message_traits
00086 {
00087 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgSBAS_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "39af6a94627471fe56e5091b5bd74bf2";
00094   }
00095 
00096   static const char* value(const  ::ublox_msgs::CfgSBAS_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0x39af6a94627471feULL;
00098   static const uint64_t static_value2 = 0x56e5091b5bd74bf2ULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "ublox_msgs/CfgSBAS";
00106   }
00107 
00108   static const char* value(const  ::ublox_msgs::CfgSBAS_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "# CFG-SBAS (0x06 0x24)\n\
00116 # SBAS Configuration\n\
00117 #\n\
00118 \n\
00119 uint8 CLASS_ID = 6\n\
00120 uint8 MESSAGE_ID = 22\n\
00121 \n\
00122 uint8 mode              # SBAS Mode\n\
00123 uint8 MODE_ENABLED = 1    # SBAS Enabled (1) / Disabled (0)\n\
00124 uint8 MODE_TEST = 2       # SBAS Testbed: Use data anyhow (1) / Ignore data when in Test Mode (SBAS Msg 0)\n\
00125 \n\
00126 uint8 usage             # SBAS Usage\n\
00127 uint8 USAGE_RANGE = 1     # Use SBAS GEOs as a ranging source (for navigation)\n\
00128 uint8 USAGE_DIFFCORR = 2  # Use SBAS Differential Corrections\n\
00129 uint8 USAGE_INTEGRITY = 4 # Use SBAS Integrity Information\n\
00130 \n\
00131 uint8 maxSBAS           # Maximum Number of SBAS prioritized tracking\n\
00132                         # channels (valid range: 0 - 3) to use\n\
00133 \n\
00134 \n\
00135 uint8 scanmode2         # Continuation of scanmode bitmask below\n\
00136 uint32 scanmode1        # Which SBAS PRN numbers to search for (Bitmask)\n\
00137                         # If all Bits are set to zero, auto-scan (i.e. all valid\n\
00138                         # PRNs) are searched. Every bit corresponds to a PRN number.\n\
00139 \n\
00140 ";
00141   }
00142 
00143   static const char* value(const  ::ublox_msgs::CfgSBAS_<ContainerAllocator> &) { return value(); } 
00144 };
00145 
00146 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::CfgSBAS_<ContainerAllocator> > : public TrueType {};
00147 } // namespace message_traits
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154 
00155 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::CfgSBAS_<ContainerAllocator> >
00156 {
00157   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158   {
00159     stream.next(m.mode);
00160     stream.next(m.usage);
00161     stream.next(m.maxSBAS);
00162     stream.next(m.scanmode2);
00163     stream.next(m.scanmode1);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct CfgSBAS_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::ublox_msgs::CfgSBAS_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::CfgSBAS_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "mode: ";
00182     Printer<uint8_t>::stream(s, indent + "  ", v.mode);
00183     s << indent << "usage: ";
00184     Printer<uint8_t>::stream(s, indent + "  ", v.usage);
00185     s << indent << "maxSBAS: ";
00186     Printer<uint8_t>::stream(s, indent + "  ", v.maxSBAS);
00187     s << indent << "scanmode2: ";
00188     Printer<uint8_t>::stream(s, indent + "  ", v.scanmode2);
00189     s << indent << "scanmode1: ";
00190     Printer<uint32_t>::stream(s, indent + "  ", v.scanmode1);
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // UBLOX_MSGS_MESSAGE_CFGSBAS_H
00199 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


ublox_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:55:23