Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CWinIdleTimer Class Reference

#include <WinIdleTimer.h>

Inheritance diagram for CWinIdleTimer:
CStopWatch

Public Member Functions

void StartZero ()
 
- Public Member Functions inherited from CStopWatch
 CStopWatch ()=default
 
 ~CStopWatch ()=default
 
bool IsRunning () const
 Retrieve the running state of the stopwatch.
 
void StartZero ()
 Record start time and change state to running.
 
void Start ()
 Record start time and change state to running, only if the stopwatch is stopped.
 
void Stop ()
 Record stop time and change state to not running.
 
void Reset ()
 Set the start time such that time elapsed is now zero.
 
float GetElapsedSeconds () const
 Retrieve time elapsed between the last call to Start(), StartZero() or Reset() and; if running, now; if stopped, the last call to Stop().
 
float GetElapsedMilliseconds () const
 Retrieve time elapsed between the last call to Start(), StartZero() or Reset() and; if running, now; if stopped, the last call to Stop().
 

Member Function Documentation

◆ StartZero()

void CWinIdleTimer::StartZero ( )

The documentation for this class was generated from the following files: