![]() |
VR-Exchange 2.5 API Documentation
|
The DtPortalApp is the main class for the Portal application. More...
Public Types | |
| typedef DtQueueManager *(* | DtQueueManagerCreator )(DtU32 numberOfBucketsInQueue, DtU32 payloadSizePerBucket, int port, DtU16 theBroker, const DtString &objectQueueName, const DtString &interactionQueueName, const DtString &controlQueueName) |
Public Member Functions | |
| DtPortalApp (DtPortalAppInitializer &init) | |
| Constructor. | |
| virtual | ~DtPortalApp () |
| Destructor. | |
| virtual void | initialize () |
| initializes the App. MUST be called after the constructor | |
| virtual void | initFileLogging (const DtPortalAppInitializer &init) |
| Initializes File Logging by opening a file named fileName. | |
| virtual int | run () |
| Runs the Portal Application. | |
| virtual DtPortalAppGui * | portalAppGui () |
| Returns a pointer to the DtPortalAppGui instance. | |
Static Public Member Functions | |
| static void | setQueueManagerCreator (DtQueueManagerCreator func) |
| Sets function to use to create the queueManager. | |
Protected Attributes | |
| DtQueueManager * | myQueueManager |
| bool | myUseGuiFlag |
| bool | myOkToShutdownFlag |
| int | myArgc |
| QApplication * | myQtApp |
| a fix for qt problem | |
| DtPortalAppGui * | myMainWindow |
| DtPortalAppInitializer & | myInitializer |
Static Protected Attributes | |
| static DtQueueManagerCreator | theQueueManagerCreator |
Private Member Functions | |
| DtPortalApp (const DtPortalApp &orig) | |
| Copy Ctor Not Implemented – Do Not Copy. | |
| DtPortalApp & | operator= (const DtPortalApp &orig) |
| Assignment Operator Not Implemented – Do Not Copy. | |
The DtPortalApp is the main class for the Portal application.
It is responsible for managing all shared memory, keeping track of the brokers and managing a GUI if a GUI was requested by the initializer.
| typedef DtQueueManager*(* MAKVrExchange::DtPortalApp::DtQueueManagerCreator)(DtU32 numberOfBucketsInQueue, DtU32 payloadSizePerBucket, int port, DtU16 theBroker, const DtString &objectQueueName, const DtString &interactionQueueName, const DtString &controlQueueName) |
| MAKVrExchange::DtPortalApp::DtPortalApp | ( | DtPortalAppInitializer & | init | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Ctor Not Implemented – Do Not Copy.
|
virtual |
Initializes File Logging by opening a file named fileName.
|
virtual |
initializes the App. MUST be called after the constructor
|
private |
Assignment Operator Not Implemented – Do Not Copy.
|
virtual |
Returns a pointer to the DtPortalAppGui instance.
This returns null if VR-Exchange is not running with a GUI.
|
virtual |
Runs the Portal Application.
This call does not return until the application exits.
|
static |
Sets function to use to create the queueManager.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
a fix for qt problem
|
protected |
|
protected |
|
staticprotected |