API Documentation
|
#include <Connection.h>
Signals | |
void | dataAvailableSignal () |
void | connectionStateChangedSignal (ConnectionState state) |
Public Member Functions | |
ConnectionBackend (ProgressInfo *log) | |
virtual uint04 | peek (char *s, uint04 size=Constant< uint04 >::Max) const =0 |
virtual uint04 | rx (char *s, uint04 max_size=Constant< uint04 >::Max)=0 |
virtual void | tx (const String &command)=0 |
virtual bool | open (const ConnectionInfo &request)=0 |
virtual void | close ()=0 |
virtual bool | isOpen () const =0 |
virtual bool | waitForReadyRead (const TimeSpan &span)=0 |
virtual TranslatedString | lastError () const =0 |
virtual uint04 | bytesAvailable () const =0 |
virtual String | threadID () const |
Protected Attributes | |
ProgressInfo * | m_log |
ConnectionBackend | ( | ProgressInfo * | log | ) |
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
signal |
|
signal |
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
inlinevirtual |
Reimplemented in SerialPortConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
pure virtual |
Implemented in BluetoothConnection, SerialPortConnection, SocketConnection, and WebSocketConnection.
|
protected |