SimApi Timer getTimerMode

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic int SimApi::Timer::getTimerMode()

    Description

    Gets the current timer mode

    Return

    Type: int   Description: Current timer mode. Possible value: TIMER_SIMULATION=0 , TIMER_SLAVE=1

    Remarks
    

Get current timer mode. Possible values: 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

     setTimerMode

    Related Links

     Recommended: Simulation Time Overview