Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::model::comms::serial::PortSettings Struct Reference

#include <SerialPortSettings.hpp>

Classes

struct  DefaultValues
 
struct  Keys
 

Public Member Functions

 PortSettings ()
 
 PortSettings (std::string portName, iv::model::comms::serial::eBaudRate baudRate, iv::model::comms::serial::eDataBits dataBits, iv::model::comms::serial::eParity parity, iv::model::comms::serial::eStopBits stopBits, iv::model::comms::serial::eFlowControl flowControl, iv::types::pollTime pollTime)
 
 PortSettings (const PortSettings &other)
 
 PortSettings (PortSettings &&other) noexcept
 
 ~PortSettings ()
 
PortSettingsoperator= (const PortSettings &other)
 
PortSettingsoperator= (PortSettings &&other) noexcept
 
bool load (const iv::file::xml::node &node)
 
bool save (iv::file::xml::node &node) const
 

Public Attributes

std::string _portName
 
iv::model::comms::serial::eBaudRate _baudRate
 
iv::model::comms::serial::eDataBits _dataBits
 
iv::model::comms::serial::eParity _parity
 
iv::model::comms::serial::eStopBits _stopBits
 
iv::model::comms::serial::eFlowControl _flowControl
 
iv::types::pollTime _pollTime
 

Constructor & Destructor Documentation

◆ PortSettings() [1/4]

iv::model::comms::serial::PortSettings::PortSettings ( )

◆ PortSettings() [2/4]

iv::model::comms::serial::PortSettings::PortSettings ( std::string portName,
iv::model::comms::serial::eBaudRate baudRate,
iv::model::comms::serial::eDataBits dataBits,
iv::model::comms::serial::eParity parity,
iv::model::comms::serial::eStopBits stopBits,
iv::model::comms::serial::eFlowControl flowControl,
iv::types::pollTime pollTime )

◆ PortSettings() [3/4]

iv::model::comms::serial::PortSettings::PortSettings ( const PortSettings & other)
default

◆ PortSettings() [4/4]

iv::model::comms::serial::PortSettings::PortSettings ( PortSettings && other)
noexcept

◆ ~PortSettings()

iv::model::comms::serial::PortSettings::~PortSettings ( )
default

Member Function Documentation

◆ load()

bool iv::model::comms::serial::PortSettings::load ( const iv::file::xml::node & node)

◆ operator=() [1/2]

PortSettings & iv::model::comms::serial::PortSettings::operator= ( const PortSettings & other)

◆ operator=() [2/2]

PortSettings & iv::model::comms::serial::PortSettings::operator= ( PortSettings && other)
noexcept

◆ save()

bool iv::model::comms::serial::PortSettings::save ( iv::file::xml::node & node) const

Member Data Documentation

◆ _baudRate

iv::model::comms::serial::eBaudRate iv::model::comms::serial::PortSettings::_baudRate

◆ _dataBits

iv::model::comms::serial::eDataBits iv::model::comms::serial::PortSettings::_dataBits

◆ _flowControl

iv::model::comms::serial::eFlowControl iv::model::comms::serial::PortSettings::_flowControl

◆ _parity

iv::model::comms::serial::eParity iv::model::comms::serial::PortSettings::_parity

◆ _pollTime

iv::types::pollTime iv::model::comms::serial::PortSettings::_pollTime

◆ _portName

std::string iv::model::comms::serial::PortSettings::_portName

◆ _stopBits

iv::model::comms::serial::eStopBits iv::model::comms::serial::PortSettings::_stopBits

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