SerialNT Class
Implements the Serial interface on Win32. More...
Header: | #include <OSAPI/Serial/SerialNT.h> |
Inherits: | Serial |
Public Functions
Reimplemented Public Functions
virtual void | ClearDTR() override |
virtual void | ClearRTS() override |
virtual void | Close() override |
virtual bool | GetByte(unsigned char *pByte, unsigned int lTimeout) override |
virtual int | GetBytes(unsigned char *pBuf, int nBytes, unsigned int lTimeout) override |
virtual unsigned int | GetInfinite() override |
virtual unsigned int | GetZeroTimeout() override |
virtual bool | Open() override |
virtual bool | PutByte(const unsigned char *pByte, unsigned int lTimeout) override |
virtual int | PutBytes(const unsigned char *pBuf, int nBytes, unsigned int lTimeout) override |
virtual void | SetDTR() override |
virtual void | SetRTS() override |
virtual void | SetupParams(unsigned int lBaudRate, ParityModes eParity, int nDataBits, int nStopBits, ProtocolModes eProtocol, int nMultiDrop, std::string strPortName) override |
- 21 public functions inherited from Serial
Additional Inherited Members
Detailed Description
Implements the Serial interface on Win32.
See also Serial and SerialLinux.
Member Function Documentation
SerialNT::SerialNT()
Constructor. Don't instansiate this class; Use Serial::MakeSerial() instead.
[virtual]
SerialNT::~SerialNT()
[override virtual]
void SerialNT::ClearDTR()
Reimplemented from Serial::ClearDTR().
[override virtual]
void SerialNT::ClearRTS()
Reimplemented from Serial::ClearRTS().
[override virtual]
void SerialNT::Close()
Reimplemented from Serial::Close().
[override virtual]
bool SerialNT::GetByte(unsigned char *pByte, unsigned int lTimeout)
Reimplemented from Serial::GetByte().
[override virtual]
int SerialNT::GetBytes(unsigned char *pBuf, int nBytes, unsigned int lTimeout)
Reimplemented from Serial::GetBytes().
[override virtual]
unsigned int SerialNT::GetInfinite()
Reimplemented from Serial::GetInfinite().
[override virtual]
unsigned int SerialNT::GetZeroTimeout()
Reimplemented from Serial::GetZeroTimeout().
[override virtual]
bool SerialNT::Open()
Reimplemented from Serial::Open().
[override virtual]
bool SerialNT::PutByte(const unsigned char *pByte, unsigned int lTimeout)
Reimplemented from Serial::PutByte().
[override virtual]
int SerialNT::PutBytes(const unsigned char *pBuf, int nBytes, unsigned int lTimeout)
Reimplemented from Serial::PutBytes().
[override virtual]
void SerialNT::SetDTR()
Reimplemented from Serial::SetDTR().
[override virtual]
void SerialNT::SetRTS()
Reimplemented from Serial::SetRTS().
[override virtual]
void SerialNT::SetupParams(unsigned int lBaudRate, ParityModes eParity, int nDataBits, int nStopBits, ProtocolModes eProtocol, int nMultiDrop, std::string strPortName)
Reimplemented from Serial::SetupParams().
bool SerialNT::TxWait(unsigned int lTimeout)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.