The abstract DtEventLoop class.
| typedef void(* makVrv::DtEventLoop::RunFunction)(DtDe &) |
| virtual makVrv::DtEventLoop::~DtEventLoop |
( |
| ) |
|
|
virtual |
| makVrv::DtEventLoop::DtEventLoop |
( |
DtDe & |
de | ) |
|
|
protected |
The constructor for an abstract class is not public.
| static void makVrv::DtEventLoop::runOnce |
( |
DtDe & |
| ) |
|
|
static |
Helper function for creating a event loop an run once. This function allocates an event loop object and calls run on it, then deallocates it.
Helper function for create, gets DtEventLoopCreator instance from the de and calls it's create method.
- Exceptions
-
| void makVrv::DtEventLoop::setAlternateRunFunction |
( |
RunFunction |
aFunction | ) |
|
Set an alternate run function. Note it is important that the alternate run function provides some mechanism for calling tick() member function on a regular bases. To disable the alternate function simply pass a NULL pointer to use the defaultRun implementation.
| void makVrv::DtEventLoop::run |
( |
| ) |
|
Run the app. This calls the alternate run function if one is set, or it will call the defaultRun() function.
| void makVrv::DtEventLoop::defaultRun |
( |
| ) |
|
|
protected |
Default implementation of Run. Implementation: while(!timeToStop()) { tick(); }.
| DtDe& makVrv::DtEventLoop::myDe |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrvCore/DtEventLoop.h