Dualie
Loading...
Searching...
No Matches
dl::Clock Class Reference

A class that handles the passing of time within the program. More...

#include <Clock.hpp>

Public Member Functions

dl::Time restart ()
 Restarts the clock and returns its elapsed time value.
 
dl::Time getElapsedTime ()
 

Detailed Description

A class that handles the passing of time within the program.

Member Function Documentation

◆ getElapsedTime()

dl::Time dl::Clock::getElapsedTime ( )
Returns
The elapsed time of the clock since its last restart or creation

◆ restart()

dl::Time dl::Clock::restart ( )

Restarts the clock and returns its elapsed time value.

Returns
The clock's last time value

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