MIRA
Public Member Functions | List of all members
SerialPort::Baudrate Class Reference

An internal class for handling the baudrate. More...

#include <communication/SerialPort.h>

Public Member Functions

 Baudrate (boost::asio::serial_port::native_type handle, uint32 rate=0)
 
uint32 rate () const
 
boost::system::error_code store (MIRA_ASIO_OPTION_STORAGE &storage, boost::system::error_code &ec) const
 
boost::system::error_code load (const MIRA_ASIO_OPTION_STORAGE &storage, boost::system::error_code &ec)
 

Detailed Description

An internal class for handling the baudrate.

Constructor & Destructor Documentation

◆ Baudrate()

Baudrate ( boost::asio::serial_port::native_type  handle,
uint32  rate = 0 
)
inlineexplicit

Member Function Documentation

◆ rate()

uint32 rate ( ) const
inline

◆ store()

boost::system::error_code store ( MIRA_ASIO_OPTION_STORAGE storage,
boost::system::error_code &  ec 
) const

◆ load()

boost::system::error_code load ( const MIRA_ASIO_OPTION_STORAGE storage,
boost::system::error_code &  ec 
)
inline

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