mxm
applications.
More...
#include <mxmApplication.h>
Inheritance diagram for mxmApplication:
Public Member Functions | |
mxmApplication (int argc, char **argv, mxmSynchronizationFactoryInterface *sync_factory=0) | |
The application object assumes ownership over the synchronization factory. | |
Static Public Member Functions | |
static mxm::smart< mxmSynchronizationFactoryInterface > | synchronizationFactory () |
Returns the application's synchronization factory. | |
static mxmString | basePath () |
Returns the base path, where the application is installed. | |
Private Attributes | |
mxm::smart< mxmSynchronizationFactoryInterface > | SynchronizationFactory |
void * | StableABIDataExtension |
Static Private Attributes | |
static mxmApplication * | SingleInstance = 0 |
mxm
applications.
First thing to be created by an application, in the main()
scope, by the main thread and without any other threads already started. Will then be the last thing to be automatically deleted when the appication quits - make sure no threads other than the main thread are left around running when this happens. Same semantics apply for any potential subclass implementation.
Cleanup done upon object destruction:
[khe]
Kai Hergenroether
|
Returns the application's synchronization factory. Note that the synchronization factory is threadsafe, and that the returned smart handle is protected by a lock of the kind matching the synchronization mechanisms that the factory provides. |