GNSS receiver tools  1
Tools for use with GNSS receivers
UBX::Cfg::GNSS Class Reference

#include <UBX_cfg.hh>

+ Inheritance diagram for UBX::Cfg::GNSS:

Public Member Functions

 GNSS (uint8_t tchw, uint8_t tcu)
 Constructor. More...
 
 GNSS (unsigned char *payload, Length len)
 Constructor from a binary buffer. More...
 
GNSSadd_config (GNSS_ID id, uint8_t mintc, uint8_t maxtc, bool e, uint8_t mask)
 
const uint8_t num_configs (void) const
 
const GNSS_ID gnss_id (uint8_t i) const
 
const uint8_t min_tracking_channels (uint8_t i) const
 
const uint8_t max_tracking_channels (uint8_t i) const
 
const bool enabled (uint8_t i) const
 
const uint8_t signal_config_mask (uint8_t i) const
 
- Public Member Functions inherited from UBX::Input_message
const Length message_length (void) const
 The total length of the message. More...
 
virtual void to_buf (unsigned char *buffer) const
 Write the message into a buffer. More...
 
- Public Member Functions inherited from UBX::Message
const Class_ID cls (void) const
 Getter method for the message class. More...
 
const uint8_t id (void) const
 Getter method for the message ID. More...
 
- Public Member Functions inherited from GNSS::Message
virtual ~Message ()
 Virtual destructor to force polymorphism. More...
 
template<typename T >
bool isa (void) const
 Check the type of an object. More...
 
template<typename T >
T * cast_as (void)
 Recast this object to another type. More...
 

Additional Inherited Members

- Public Types inherited from UBX::Input_message
typedef std::shared_ptr< Input_messageptr
 
- Public Types inherited from GNSS::Message
typedef std::shared_ptr< Messageptr
 
- Public Types inherited from UBX::Output_message
typedef std::shared_ptr< Output_messageptr
 
- Protected Member Functions inherited from UBX::Input_Output_message
 Input_Output_message (Class_ID cls, uint8_t id)
 Constructor from a message class and ID. More...
 
- Protected Member Functions inherited from UBX::Input_message
virtual const Length payload_length (void) const
 The length of the payload (not including message class/ID) More...
 
 Input_message (Class_ID cls, uint8_t id)
 Constructor from a message class and ID. More...
 
- Protected Member Functions inherited from UBX::Message
 Message (Class_ID cls, uint8_t id)
 Constructor. More...
 
- Protected Member Functions inherited from UBX::Output_message
 Output_message (Class_ID cls, uint8_t id)
 Constructor from a message class and ID. More...
 
- Protected Attributes inherited from UBX::Message
Class_ID _cls
 
uint8_t _id
 

Detailed Description

Definition at line 276 of file UBX_cfg.hh.

Constructor & Destructor Documentation

UBX::Cfg::GNSS::GNSS ( uint8_t  tchw,
uint8_t  tcu 
)
inline

Constructor.

Definition at line 286 of file UBX_cfg.hh.

UBX::Cfg::GNSS::GNSS ( unsigned char *  payload,
Length  len 
)

Constructor from a binary buffer.

Definition at line 128 of file UBX_cfg.cc.

Member Function Documentation

GNSS& UBX::Cfg::GNSS::add_config ( GNSS_ID  id,
uint8_t  mintc,
uint8_t  maxtc,
bool  e,
uint8_t  mask 
)
inline

Definition at line 295 of file UBX_cfg.hh.

const bool UBX::Cfg::GNSS::enabled ( uint8_t  i) const
inline

Definition at line 304 of file UBX_cfg.hh.

const GNSS_ID UBX::Cfg::GNSS::gnss_id ( uint8_t  i) const
inline

Definition at line 301 of file UBX_cfg.hh.

const uint8_t UBX::Cfg::GNSS::max_tracking_channels ( uint8_t  i) const
inline

Definition at line 303 of file UBX_cfg.hh.

const uint8_t UBX::Cfg::GNSS::min_tracking_channels ( uint8_t  i) const
inline

Definition at line 302 of file UBX_cfg.hh.

const uint8_t UBX::Cfg::GNSS::num_configs ( void  ) const
inline

Definition at line 300 of file UBX_cfg.hh.

const uint8_t UBX::Cfg::GNSS::signal_config_mask ( uint8_t  i) const
inline

Definition at line 305 of file UBX_cfg.hh.


The documentation for this class was generated from the following files: