mxmApplication Class Reference
[modularMX Runtime Platform Core]

Required central service object for mxm applications. More...

#include <mxmApplication.h>

Inheritance diagram for mxmApplication:

mxmObject List of all members.

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< mxmSynchronizationFactoryInterfacesynchronizationFactory ()
 Returns the application's synchronization factory.
static mxmString basePath ()
 Returns the base path, where the application is installed.

Private Attributes

mxm::smart< mxmSynchronizationFactoryInterfaceSynchronizationFactory
void * StableABIDataExtension

Static Private Attributes

static mxmApplicationSingleInstance = 0

Detailed Description

Required central service object for 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:

Author:
[khe] Kai Hergenroether


Member Function Documentation

mxm::smart< mxmSynchronizationFactoryInterface > mxmApplication::synchronizationFactory  )  [static]
 

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.


The documentation for this class was generated from the following files:
Generated on Fri Jun 29 17:21:04 2007 for MxPEG SDK by  doxygen 1.4.6