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

#include <UBX_cfg.hh>

+ Inheritance diagram for UBX::Cfg::Prt:

Public Member Functions

 Prt (PortID p)
 Constructor for making a new input message. More...
 
 Prt (unsigned char *payload, Length len)
 Constructor from a binary buffer. More...
 
const Mode_Charlen mode_charlen (void) const
 
const Mode_Parity mode_parity (void) const
 
const Mode_Stopbits mode_stopbits (void) const
 
void step_mode (Mode_Charlen cl, Mode_Parity p, Mode_Stopbits sb)
 
const uint32_t baudrate (void) const
 
void set_baudrate (uint32_t val)
 
const bool inproto_ubx (void) const
 
void set_inproto_ubx (bool val)
 
const bool inproto_nmea (void) const
 
void set_inproto_nmea (bool val)
 
const bool inproto_rtcm (void) const
 
void set_inproto_rtcm (bool val)
 
const bool outproto_ubx (void) const
 
void set_outproto_ubx (bool val)
 
const bool outproto_nmea (void) const
 
void set_outproto_nmea (bool val)
 
- 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 113 of file UBX_cfg.hh.

Constructor & Destructor Documentation

UBX::Cfg::Prt::Prt ( PortID  p)
inline

Constructor for making a new input message.

Definition at line 132 of file UBX_cfg.hh.

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

Constructor from a binary buffer.

Definition at line 36 of file UBX_cfg.cc.

Member Function Documentation

const uint32_t UBX::Cfg::Prt::baudrate ( void  ) const
inline

Definition at line 156 of file UBX_cfg.hh.

const bool UBX::Cfg::Prt::inproto_nmea ( void  ) const
inline

Definition at line 158 of file UBX_cfg.hh.

const bool UBX::Cfg::Prt::inproto_rtcm ( void  ) const
inline

Definition at line 159 of file UBX_cfg.hh.

const bool UBX::Cfg::Prt::inproto_ubx ( void  ) const
inline

Definition at line 157 of file UBX_cfg.hh.

const Mode_Charlen UBX::Cfg::Prt::mode_charlen ( void  ) const
inline

Definition at line 146 of file UBX_cfg.hh.

const Mode_Parity UBX::Cfg::Prt::mode_parity ( void  ) const
inline

Definition at line 147 of file UBX_cfg.hh.

const Mode_Stopbits UBX::Cfg::Prt::mode_stopbits ( void  ) const
inline

Definition at line 148 of file UBX_cfg.hh.

const bool UBX::Cfg::Prt::outproto_nmea ( void  ) const
inline

Definition at line 161 of file UBX_cfg.hh.

const bool UBX::Cfg::Prt::outproto_ubx ( void  ) const
inline

Definition at line 160 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_baudrate ( uint32_t  val)
inline

Definition at line 156 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_inproto_nmea ( bool  val)
inline

Definition at line 158 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_inproto_rtcm ( bool  val)
inline

Definition at line 159 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_inproto_ubx ( bool  val)
inline

Definition at line 157 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_outproto_nmea ( bool  val)
inline

Definition at line 161 of file UBX_cfg.hh.

void UBX::Cfg::Prt::set_outproto_ubx ( bool  val)
inline

Definition at line 160 of file UBX_cfg.hh.

void UBX::Cfg::Prt::step_mode ( Mode_Charlen  cl,
Mode_Parity  p,
Mode_Stopbits  sb 
)
inline

Definition at line 150 of file UBX_cfg.hh.


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