![]() |
VR-Exchange 2.4 API Documentation
|
An application framework for a Broker instance. More...
Public Types | |
| typedef DtBroker *(* | DtBrokerCreator )(DtBrokerInitializer *) |
| Function prototype for functions that create DtDisBrokers. | |
Public Member Functions | |
| DtBrokerApp (DtBrokerInitializer *init) | |
| Takes a DtDisBrokerInitializer which has already been parsed, and then creates a DtDisBroker instance. | |
| virtual | ~DtBrokerApp () |
| Destructor frees memory. | |
| virtual DtBroker * | broker () |
| Returns a pointer to the DtDisBroker instance. | |
| virtual int | showInfoDialog () |
| Runs the broker application in a limited mode. | |
| virtual int | run () |
| Runs the application. | |
Static Public Member Functions | |
| static void | setBrokerCreator (DtBrokerCreator func) |
| Set function used for creating myBroker. | |
| static void | setBrokerDialogCreator (DtBrokerDialogCreator func) |
| Set function used for creating the broker dialog. | |
| static void | setBrokerIcon (DtString icon) |
| Set function used for selecting the broker Icon. | |
Protected Attributes | |
| DtGenericUserInterface * | myUi |
| The user interface used by the broker. | |
| DtBroker * | myBroker |
| The DtBroker Broker object. | |
| QApplication * | myQApp |
| A QApplication instance is needed for each Qt application. | |
| DtBrokerThread * | myBrokerThread |
| Controls the backend thread. | |
Static Protected Attributes | |
| static DtBrokerCreator | theBrokerCreator |
| The DtDisBroker creation function. | |
| static DtBrokerDialogCreator | theBrokerDialogCreator |
| static QString | theBrokerIcon |
Private Member Functions | |
| DtBrokerApp (const DtBrokerApp &other) | |
| Copy constructor not implemented - cannot be copied. | |
| DtBrokerApp & | operator= (const DtBrokerApp &other) |
| Assignment operator not implemented – cannot be copied. | |
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 |
|
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.
|
virtual |
Runs the broker application in a limited mode.
The broker will start without a portal or exercise connection, and will execute the launchGui() method to display its connection property editor. After the window is closed, the broker shuts down.
|
protected |
Controls the backend thread.
|
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 |