Table of Contents

 
TimerOn
 

Purpose

Checks to see if the timer is running

 

Protoype

bool CTimerMngr::TimerOn (string str_timer)
 

Parameters

timer the string to insert into the log
 

Description

This function checks the given timer object to see if it is running. If it is, it returns TRUE, otherwise it returns FALSE.

 

Use

CTimerMngr timer;
if (timer.TimerOn("my_timer"))
    // timer is ticking away
 

Prev: TimeElapsed
Next: TimeUntil