setTheTickTimerFactory

The setTheTickTimerFactory registers a timer factory on the framework, causing the framework to use the user-defined timers instead of the predefined timers. You can register a timer factory that does not create any timers, causing the timing mechanisms of the framework to be disabled. For example:

     disable tm()

To have an effect, the user factory must be registered before the framework initialization (OXF::init).

Note: You can set the low-level timer factory only once for the entire lifetime of the application.
Visibility
Public
Signature
static OMBoolean setTheTickTimerFactory(
   const OMAbstractTickTimerFactory* factory);
Parameters
factory

Specifies the new low-level timer factory

Returns

The method returns TRUE if the active object was set successfully. Otherwise, it returns FALSE.


Feedback