Class SerialFlags

Class Documentation

class SerialFlags

Short description of tSerialFlags.

A more detailed description of tSerialFlags, which Klaus Uhl hasn’t done till now!

Public Types

enum DataBits

Values:

enumerator DB_5
enumerator DB_6
enumerator DB_7
enumerator DB_8
enum StopBits

Values:

enumerator SB_1
enumerator SB_1_P5
enumerator SB_2
enum Parity

Values:

enumerator P_NONE
enumerator P_EVEN
enumerator P_ODD
enumerator P_MARK
enumerator P_SPACE
enum BaudRate

Values:

enumerator BR_0
enumerator BR_50
enumerator BR_75
enumerator BR_110
enumerator BR_134
enumerator BR_150
enumerator BR_200
enumerator BR_300
enumerator BR_600
enumerator BR_1200
enumerator BR_1800
enumerator BR_2400
enumerator BR_4800
enumerator BR_9600
enumerator BR_19200
enumerator BR_38400
enumerator BR_57600
enumerator BR_115200
enumerator BR_230400
enumerator BR_500000
enumerator BR_921600
enum FlowControl

Values:

enumerator FC_FLOW
enumerator FC_HAND_SHAKE
enum ModemControlFlags

Values:

enumerator MCF_NULL
enumerator MCF_DTR
enumerator MCF_RTS
enumerator MCF_UNDEFINED

Public Functions

inline SerialFlags()
inline SerialFlags(DataBits data_bits, Parity parity = P_NONE, bool use_modem_control = false, bool enable_receiver = false, bool enable_stop_on_receive = false, ModemControlFlags modem_control_flags = MCF_UNDEFINED)
inline SerialFlags(BaudRate baud_rate, DataBits data_bits, Parity parity = P_NONE, bool use_modem_control = false, bool enable_receiver = false, bool enable_stop_on_receive = false, ModemControlFlags modem_control_flags = MCF_UNDEFINED)
inline SerialFlags(BaudRate baud_rate, Parity parity, DataBits data_bits, StopBits stop_bits, bool use_modem_control = false, bool enable_receiver = false, bool enable_stop_on_receive = false, ModemControlFlags modem_control_flags = MCF_UNDEFINED)
inline SerialFlags(const SerialFlags &flags)
inline BaudRate getBaudRate() const
inline DataBits getDataBits() const
inline bool enableStopOnReceive() const
inline bool enableReceiver() const
inline FlowControl getFlowControl() const
inline Parity getParity() const
inline StopBits getStopBits() const
inline bool useModemControl() const
inline void setBaudRate(BaudRate baud_rate)
inline ModemControlFlags getModemControlFlags() const