|
QGroundControl
Ground Control Station for MAVLink Drones
|
#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 102 of file SerialPortManager.h.
|
inline |
Definition at line 134 of file SerialPortManager.h.
|
inline |
Definition at line 121 of file SerialPortManager.h.
|
inline |
Definition at line 123 of file SerialPortManager.h.
|
inline |
Definition at line 125 of file SerialPortManager.h.
Referenced by SerialAutoConnect::update().
|
inline |
Forgets the ports forget returns true for.
Definition at line 129 of file SerialPortManager.h.
Referenced by SerialAutoConnect::update().
|
inline |
Records port as listed at nowUs; true once it has been listed for the settle delay.
Definition at line 109 of file SerialPortManager.h.
References SerialPortManager::NEW_PORT_SETTLE_DELAY.
Referenced by SerialAutoConnect::update().
|
friend |
Definition at line 104 of file SerialPortManager.h.
|
friend |
Definition at line 105 of file SerialPortManager.h.