OMMainThread is
a special case of OMThread that defines the default,
active class of the application. By default, this class takes control
over the application's main thread (see the start method for detailed
information). The OMMainThread class is a singleton
- only one instance is created.
This
class is declared in omthread.h.
Construction summary- ~OMMainThread
- Destroys the OMMainThread object
Method
summary- destroyThread
- Cleans up the singleton instance of OMMainThread
- instance
- Creates and retrieves
the singleton instance of OMMainThread
- start
- Starts the singleton
event loop (OMThread::execute)
of the main thread singleton