#include <SerialPortManager.h>
Public Member Functions | |
| bool | settled (const QString &port, quint64 nowUs) |
| Records port as listed at nowUs; true once it has been listed for the settle delay. | |
| bool | contains (const QString &port) const |
| bool | isEmpty () const |
| void | remove (const QString &port) |
| template<typename Predicate> | |
| void | removeIf (Predicate forget) |
| Forgets the ports forget returns true for. | |
| void | clear () |
Friends | |
| class | LinkManagerTest |
| class | SerialAutoConnectTest |
Ports a scan lists for the first time wait SerialPortManager::NEW_PORT_SETTLE_DELAY before automatic connection opens them. Times are microseconds of one monotonic clock.
Definition at line 165 of file SerialPortManager.h.
|
inline |
Definition at line 197 of file SerialPortManager.h.
|
inline |
Definition at line 184 of file SerialPortManager.h.
|
inline |
Definition at line 186 of file SerialPortManager.h.
|
inline |
Definition at line 188 of file SerialPortManager.h.
|
inline |
Forgets the ports forget returns true for.
Definition at line 192 of file SerialPortManager.h.
|
inline |
Records port as listed at nowUs; true once it has been listed for the settle delay.
Definition at line 172 of file SerialPortManager.h.
References SerialPortManager::NEW_PORT_SETTLE_DELAY.
|
friend |
Definition at line 167 of file SerialPortManager.h.
References LinkManagerTest.
Referenced by LinkManagerTest.
|
friend |
Definition at line 168 of file SerialPortManager.h.
References SerialAutoConnectTest.
Referenced by SerialAutoConnectTest.