A timer class provides periodic timer callbacks on the client's thread of control. Timer is thread safe.  
 More...
#include <Timer.h>
A timer class provides periodic timer callbacks on the client's thread of control. Timer is thread safe. 
◆ Timer()
◆ ~Timer()
◆ Difference()
Computes the time difference between two duration values taking into account rollover. 
- Parameters
- 
  
    | [in] | time1 | - time stamp 1. |  | [in] | time2 | - time stamp 2. |  
 
- Returns
- The time difference. 
 
 
◆ Enabled()
Gets the enabled state of a timer. 
- Returns
- TRUE if the timer is enabled, FALSE otherwise. 
 
 
◆ GetTime()
Get the current time. 
- Returns
- The current time. 
 
 
 
◆ ProcessTimers()
  
  | 
        
          | void Timer::ProcessTimers | ( |  | ) |  |  | static | 
 
Called on a periodic basic to service all timer instances. 
 
 
◆ Start()
Starts a timer for callbacks on the specified timeout interval. 
- Parameters
- 
  
    | [in] | timeout | - the timeout. |  | [in] | once | - true if only one timer expiration |  
 
 
 
◆ Stop()
◆ Expired
Client's register with Expired to get timer callbacks. 
 
 
The documentation for this class was generated from the following files: