Table of Contents

 
TimeUntil
 

Purpose

Finds the amount of time until the alarm is reached

 

Protoype

int CTimerMngr::TimeUntil (string str_timer)
 

Parameters

timer the ID of the timer to query
 

Description

This function polls the given timer and determines how many milliseconds remain until the timer expires.

 

Use

CTimerMngr timer;
int i_time_left = timer.TimeUntil("my_timer");
 

Prev: TimerOn
Next: TimeUp