SimApi Timer setTimerMode

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic void SimApi::Timer::setTimerMode(const int mode=TIMER_SIMULATION)

    Description

    Sets the timer mode. Possible values: TIMER_SIMULATION=0 or TIMER_SLAVE=1

    Parameters

    mode - new timer mode

    Remarks
    

Set timer mode. Can be TIMER_SIMULATION=0 or TIMER_SLAVE=1. The default is TIMER_SIMULATION. Timer mode default value is TIMER_SIMULATION which mean this instance of the simulation controls the time. The simulation can also be in a slave mode (DMT mode) where the session is being created and managed on another player machine.


    See Also

     getTimerMode

    Related Links

     Recommended: Simulation Time Overview