#include <SerialLink.h>
Public Slots | |
| void | setupPort () |
| void | connectToPort () |
| void | disconnectFromPort () |
| void | writeData (const QByteArray &data) |
| void | checkPortAvailability (const QStringList &availablePorts) |
Signals | |
| void | connected () |
| void | disconnected () |
| void | dataReceived (const QByteArray &data) |
| void | dataSent (const QByteArray &data) |
| void | errorOccurred (const QString &errorString) |
Public Member Functions | |
| SerialWorker (SerialConnectionSettings settings, SerialPortManager::ReservationPtr reservation={}, QObject *parent=nullptr) | |
| ~SerialWorker () | |
| bool | isConnected () const |
| const QSerialPort * | port () const |
Definition at line 117 of file SerialLink.h.
|
explicit |
Definition at line 132 of file SerialLink.cc.
| SerialWorker::~SerialWorker | ( | ) |
Definition at line 141 of file SerialLink.cc.
References disconnectFromPort().
|
slot |
Definition at line 328 of file SerialLink.cc.
References isConnected().
Referenced by SerialLink::SerialLink().
|
signal |
Referenced by SerialLink::SerialLink().
|
slot |
Definition at line 170 of file SerialLink.cc.
References QSerialPort::DeviceNotFoundError, errorOccurred(), isConnected(), QSerialPort::PermissionError, and setupPort().
|
signal |
Referenced by SerialLink::SerialLink().
|
signal |
Referenced by SerialLink::SerialLink(), and writeData().
|
signal |
Referenced by SerialLink::SerialLink().
|
slot |
Definition at line 221 of file SerialLink.cc.
Referenced by ~SerialWorker().
|
signal |
Referenced by connectToPort(), SerialLink::SerialLink(), and writeData().
| bool SerialWorker::isConnected | ( | ) | const |
Definition at line 148 of file SerialLink.cc.
Referenced by checkPortAvailability(), connectToPort(), and writeData().
|
inline |
Definition at line 127 of file SerialLink.h.
|
slot |
Definition at line 154 of file SerialLink.cc.
References QSerialPort::errorOccurred().
Referenced by connectToPort(), and SerialLink::SerialLink().
|
slot |
Definition at line 232 of file SerialLink.cc.
References dataSent(), errorOccurred(), and isConnected().