![]() |
NDEVR
API Documentation
|
Used to, given a Connection, generate an appropriate ConnectionDialog to allow adjustment of parameters. More...
Public Member Functions | |
| virtual ConnectionDialog * | createConnectionDialog () const =0 |
| Creates a new ConnectionDialog instance for this connection type. | |
| virtual bool | handlesConnection (const ConnectionInfo &connection) const |
| Checks whether this factory can produce a dialog for the given connection. | |
| virtual bool | handlesType (const StringView &type) const =0 |
| Checks whether this factory handles the specified connection type string. | |
| virtual StringView | icon () const =0 |
| Returns the icon name associated with this connection type. | |
| virtual TranslatedString | title () const =0 |
| Returns the display title for this connection type. | |
Static Public Member Functions | |
| static Buffer< ConnectionDialogFactory * > | ConnectionDialogFactories () |
| Returns all registered ConnectionDialogFactory instances. | |
| static void | RegisterConnectionFactory (ConnectionDialogFactory *factory) |
| Registers a connection dialog factory for use by the application. | |
Static Protected Attributes | |
| static Buffer< ConnectionDialogFactory * > | s_registered_factories |
| All registered connection dialog factories. | |
Used to, given a Connection, generate an appropriate ConnectionDialog to allow adjustment of parameters.
Definition at line 53 of file ConnectionDialog.h.
|
static |
Returns all registered ConnectionDialogFactory instances.
|
pure virtual |
Creates a new ConnectionDialog instance for this connection type.
Implemented in BluetoothConnectionDialogFactory, SerialPortConnectionDialogFactory, and WebSocketConnectionDialogFactory.
|
virtual |
Checks whether this factory can produce a dialog for the given connection.
| [in] | connection | The connection info to check. |
|
pure virtual |
Checks whether this factory handles the specified connection type string.
| [in] | type | The connection type identifier. |
Implemented in BluetoothConnectionDialogFactory, SerialPortConnectionDialogFactory, and WebSocketConnectionDialogFactory.
|
pure virtual |
Returns the icon name associated with this connection type.
Implemented in BluetoothConnectionDialogFactory, SerialPortConnectionDialogFactory, and WebSocketConnectionDialogFactory.
|
static |
Registers a connection dialog factory for use by the application.
| [in] | factory | The factory to register. |
|
pure virtual |
Returns the display title for this connection type.
Implemented in BluetoothConnectionDialogFactory, SerialPortConnectionDialogFactory, and WebSocketConnectionDialogFactory.