Otclient  14/8/2020
Timer Class Reference

#include <timer.h>

Public Member Functions

 Timer ()
 
void restart ()
 
void stop ()
 
ticks_t startTicks ()
 
ticks_t ticksElapsed ()
 
float timeElapsed ()
 
bool running ()
 

Detailed Description

Definition at line 28 of file timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )
inline

Definition at line 31 of file timer.h.

Here is the call graph for this function:

Member Function Documentation

◆ restart()

void Timer::restart ( )

Definition at line 27 of file timer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ running()

bool Timer::running ( )
inline

Definition at line 40 of file timer.h.

Here is the caller graph for this function:

◆ startTicks()

ticks_t Timer::startTicks ( )
inline

Definition at line 36 of file timer.h.

◆ stop()

void Timer::stop ( )
inline

Definition at line 34 of file timer.h.

Here is the caller graph for this function:

◆ ticksElapsed()

ticks_t Timer::ticksElapsed ( )

Definition at line 33 of file timer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeElapsed()

float Timer::timeElapsed ( )
inline

Definition at line 38 of file timer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

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