1 #ifndef _SerialPortParams2Interface_H
2 #define _SerialPortParams2Interface_H
4 #ifdef THESKYX_FOLDER_TREE
5 #include "../staticlibs/serx/serxinterface.h"
6 #include "components/basicstring/basicstringinterface.h"
8 #include "serxinterface.h"
9 #include "basicstringinterface.h"
11 #include "../../licensedinterfaces/serxinterface.h"
12 #include "../../licensedinterfaces/basicstringinterface.h"
15 #define SerialPortParams2Interface_Name "com.bisque.TheSkyX.SerialPortParams2Interface/1.0"
The SerialPortParams2Interface is a cross-platform interface to common serial port parameters.
Definition: serialportparams2interface.h:37
virtual bool isBaudRateFixed() const =0
virtual void setParity(const SerXInterface::Parity &parity)=0
virtual void setDataBits(const int &nValue)
Definition: serialportparams2interface.h:65
virtual void portName(BasicStringInterface &str) const =0
virtual void setBaudRate(unsigned int)=0
virtual void setStopBits(const int &nValue)
Definition: serialportparams2interface.h:72
virtual bool isFlowControlFixed()
Definition: serialportparams2interface.h:81
virtual bool isParityFixed() const =0
virtual unsigned int baudRate() const =0
virtual void setFlowControl(const int &nValue)
Definition: serialportparams2interface.h:79
virtual int flowControl() const
Definition: serialportparams2interface.h:77
virtual SerXInterface::Parity parity() const =0
virtual void setPortName(const char *szPort)=0
virtual int stopBits() const
Definition: serialportparams2interface.h:70
virtual int dataBits() const
Definition: serialportparams2interface.h:63
Parity
Definition: serxinterface.h:25
virtual bool isDataBitsFixed()
Definition: serialportparams2interface.h:67
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
virtual bool isStopBitsFixed()
Definition: serialportparams2interface.h:74
X2 Examples
(C) Software Bisque, Inc. All rights reserved.