![]() |
VR-Exchange 2.10 API Documentation
|
An application framework for a Broker instance. More...
Public Types | |
| typedef DtBroker *(* | DtBrokerCreator )(DtBrokerInitializer *) |
| Function prototype for functions that create DtDisBrokers. More... | |
Public Member Functions | |
| void | setDarkModeEnabled (bool flag) |
| DtBrokerApp (DtBrokerInitializer *init) | |
| Takes a DtDisBrokerInitializer which has already been parsed, and then creates a DtDisBroker instance. More... | |
| virtual | ~DtBrokerApp () |
| Destructor frees memory. More... | |
| virtual DtBroker * | broker () |
| Returns a pointer to the DtDisBroker instance. More... | |
| virtual int | run (bool showInfoDialog=false) |
| Runs the application. More... | |
Static Public Member Functions | |
| static void | setBrokerCreator (DtBrokerCreator func) |
| Set function used for creating myBroker. More... | |
| static void | setBrokerDialogCreator (DtBrokerDialogCreator func) |
| Set function used for creating the broker dialog. More... | |
| static void | setBrokerIcon (DtString icon) |
| Set function used for selecting the broker Icon. More... | |
Protected Attributes | |
| DtBrokerThread * | myBrokerThread |
| Controls the backend thread. More... | |
| DtBroker * | myBroker |
| The DtBroker Broker object. More... | |
| QApplication * | myQApp |
| A QApplication instance is needed for each Qt application. More... | |
| DtGenericUserInterface * | myUi |
| The user interface used by the broker. More... | |
| bool | myDarkModeEnabled |
Static Protected Attributes | |
| static DtBrokerCreator | theBrokerCreator |
| The DtDisBroker creation function. More... | |
| static DtBrokerDialogCreator | theBrokerDialogCreator |
| static QString | theBrokerIcon |
Private Member Functions | |
| DtBrokerApp (const DtBrokerApp &other) | |
| Copy constructor not implemented - cannot be copied. More... | |
| DtBrokerApp & | operator= (const DtBrokerApp &other) |
| Assignment operator not implemented – cannot be copied. More... | |
An application framework for a Broker instance.
| typedef DtBroker*(* MAKVrExchange::DtBrokerApp::DtBrokerCreator)(DtBrokerInitializer *) |
Function prototype for functions that create DtDisBrokers.
| MAKVrExchange::DtBrokerApp::DtBrokerApp | ( | DtBrokerInitializer * | init | ) |
Takes a DtDisBrokerInitializer which has already been parsed, and then creates a DtDisBroker instance.
| [in] | init | The broker's initialization parameters. |
|
virtual |
Destructor frees memory.
|
private |
Copy constructor not implemented - cannot be copied.
|
virtual |
Returns a pointer to the DtDisBroker instance.
|
private |
Assignment operator not implemented – cannot be copied.
|
virtual |
Runs the application.
If showInfoDialog is set, the broker starts in an 'inactive' state, not performing any translation, only displaying the configuration dialog. This function will not return until the broker gets a message to shutdown. Any translator replacements to the broker need to go before the call to run. Calls DtBroker::loadTranslators().
|
static |
Set function used for creating myBroker.
| [in] | func | The creator function used by the DtDisBrokerApp. |
|
static |
Set function used for creating the broker dialog.
| [in] | func | The creator function used by the DtDisBrokerApp. |
|
static |
Set function used for selecting the broker Icon.
| void MAKVrExchange::DtBrokerApp::setDarkModeEnabled | ( | bool | flag | ) |
|
protected |
Controls the backend thread.
|
protected |
|
protected |
A QApplication instance is needed for each Qt application.
|
protected |
The user interface used by the broker.
|
staticprotected |
The DtDisBroker creation function.
|
staticprotected |
|
staticprotected |