![]() |
NDEVR
API Documentation
|
A ConnectionFactory that enables the creation of a SerialPortConnection for interfacing with a QSerialPort. More...
Public Member Functions | |
| virtual Buffer< ConnectionCategory > | availableConnectionCategories () override |
| Returns the connection categories supported by this factory. | |
| virtual Buffer< ConnectionInfo > | availableConnections (const ConnectionSearchParameters ¶ms) override |
| Returns connection information for all available serial port connections. | |
| virtual Buffer< QSerialPortInfo > | availablePortInfo () |
| Returns information about all available serial ports on the system. | |
| virtual ConnectionBackend * | createConnection (const ConnectionInfo &request) override |
| Creates a new SerialPortConnection backend for the given connection information. | |
| virtual bool | handlesType (const StringView &request) const override |
| Checks whether this factory handles the given connection type string. | |
| Public Member Functions inherited from ConnectionFactory | |
| virtual bool | canConnectTo (const ConnectionInfo &request) const |
| Checks whether this factory can establish a connection with the given info. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from ConnectionFactory | |
| static Buffer< ConnectionCategory > | AvailableConnectionCategories () |
| Returns all connection categories from all registered factories. | |
| static Buffer< ConnectionInfo > | AvailableConnections (const ConnectionSearchParameters ¶ms) |
| Discovers available connections across all registered factories. | |
| static ConnectionBackend * | CreateConnection (const ConnectionInfo &request) |
| Creates a ConnectionBackend by searching all registered factories for one that handles the request. | |
| static void | RegisterConnectionFactory (ConnectionFactory *factory) |
| Registers a ConnectionFactory so it can be used to create connections. | |
| Static Protected Attributes inherited from ConnectionFactory | |
| static Buffer< ConnectionFactory * > | s_registered_factories |
| All registered connection factories. | |
A ConnectionFactory that enables the creation of a SerialPortConnection for interfacing with a QSerialPort.
Definition at line 141 of file SerialPortConnection.h.
|
overridevirtual |
Returns the connection categories supported by this factory.
Implements ConnectionFactory.
|
overridevirtual |
Returns connection information for all available serial port connections.
| [in] | params | The search parameters to filter available connections. |
Implements ConnectionFactory.
|
virtual |
Returns information about all available serial ports on the system.
|
overridevirtual |
Creates a new SerialPortConnection backend for the given connection information.
| [in] | request | The connection information describing the desired serial port. |
Implements ConnectionFactory.
|
overridevirtual |
Checks whether this factory handles the given connection type string.
| [in] | request | The connection type identifier to check. |
Implements ConnectionFactory.