HDLC-Daemon
BaudRate Class Reference

Class BaudRate. More...

#include <BaudRate.h>

Public Member Functions

 BaudRate ()
 The constructor of BaudRate objects. More...
 
unsigned int GetBaudRate () const
 Deliver the currently used baud rate setting. More...
 
void ToggleBaudRate ()
 Iterate to another baud rate setting. More...
 

Detailed Description

Class BaudRate.

This class is responsible for selecting and iterating through multiple pre-defined baud rate settings

Definition at line 32 of file BaudRate.h.

Constructor & Destructor Documentation

BaudRate::BaudRate ( )
inline

The constructor of BaudRate objects.

On creation, a rate of 9600 baud is selected

Definition at line 38 of file BaudRate.h.

Member Function Documentation

unsigned int BaudRate::GetBaudRate ( ) const
inline

Deliver the currently used baud rate setting.

Deliver the currently used baud rate setting

Definition at line 44 of file BaudRate.h.

Here is the caller graph for this function:

void BaudRate::ToggleBaudRate ( )
inline

Iterate to another baud rate setting.

All available baud rates are used, then it starts over with the first setting

Definition at line 58 of file BaudRate.h.

Here is the caller graph for this function:


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