GNSS receiver tools  1
Tools for use with GNSS receivers
SkyTraqBin::Config_serial_port Class Reference

CONFIGURE SERIAL PORT - Set up serial port property. More...

#include <SkyTraqBin_inputs.hh>

+ Inheritance diagram for SkyTraqBin::Config_serial_port:

Public Member Functions

 Config_serial_port (uint8_t cp, BaudRate br, UpdateType ut)
 Constructor. More...
 
const uint8_t com_port (void) const
 
void set_com_port (uint8_t val)
 
const BaudRate baud_rate (void) const
 
void set_baud_rate (BaudRate val)
 
const UpdateType update_type (void) const
 
void set_update_type (UpdateType val)
 
- Public Member Functions inherited from SkyTraqBin::Input_message
const Payload_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 SkyTraqBin::Message
const uint8_t message_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 SkyTraqBin::Input_message
typedef std::shared_ptr< Input_messageptr
 
- Public Types inherited from GNSS::Message
typedef std::shared_ptr< Messageptr
 
- Protected Member Functions inherited from SkyTraqBin::Input_message
 Input_message (uint8_t id)
 Constructor from a message ID. More...
 
- Protected Member Functions inherited from SkyTraqBin::Message
 Message (uint8_t id)
 Constructor. More...
 
- Protected Attributes inherited from SkyTraqBin::Message
uint8_t _msg_id
 

Detailed Description

CONFIGURE SERIAL PORT - Set up serial port property.

Definition at line 192 of file SkyTraqBin_inputs.hh.

Constructor & Destructor Documentation

SkyTraqBin::Config_serial_port::Config_serial_port ( uint8_t  cp,
BaudRate  br,
UpdateType  ut 
)
inline

Constructor.

Parameters
cp"COM" port number
brBaud rate
utUpdate type

Definition at line 208 of file SkyTraqBin_inputs.hh.

Member Function Documentation

const BaudRate SkyTraqBin::Config_serial_port::baud_rate ( void  ) const
inline

Definition at line 214 of file SkyTraqBin_inputs.hh.

const uint8_t SkyTraqBin::Config_serial_port::com_port ( void  ) const
inline

Definition at line 213 of file SkyTraqBin_inputs.hh.

void SkyTraqBin::Config_serial_port::set_baud_rate ( BaudRate  val)
inline

Definition at line 214 of file SkyTraqBin_inputs.hh.

void SkyTraqBin::Config_serial_port::set_com_port ( uint8_t  val)
inline

Definition at line 213 of file SkyTraqBin_inputs.hh.

void SkyTraqBin::Config_serial_port::set_update_type ( UpdateType  val)
inline

Definition at line 215 of file SkyTraqBin_inputs.hh.

const UpdateType SkyTraqBin::Config_serial_port::update_type ( void  ) const
inline

Definition at line 215 of file SkyTraqBin_inputs.hh.


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