Lugdunum  0.1.0
Public Member Functions | Private Attributes | List of all members
lug::System::Clock Class Reference

#include <Clock.hpp>

Collaboration diagram for lug::System::Clock:
[legend]

Public Member Functions

 Clock ()
 
 Clock (const Clock &clock)
 
 Clock (Clock &&clock)
 
Clockoperator= (const Clock &clock)
 
Clockoperator= (Clock &&clock)
 
 ~Clock ()=default
 
Time reset ()
 
Time getElapsedTime () const
 

Private Attributes

Time _startTime
 

Detailed Description

Definition at line 9 of file Clock.hpp.

Constructor & Destructor Documentation

◆ Clock() [1/3]

lug::System::Clock::Clock ( )

Definition at line 6 of file Clock.cpp.

◆ Clock() [2/3]

lug::System::Clock::Clock ( const Clock clock)

Definition at line 8 of file Clock.cpp.

◆ Clock() [3/3]

lug::System::Clock::Clock ( Clock &&  clock)

Definition at line 13 of file Clock.cpp.

◆ ~Clock()

lug::System::Clock::~Clock ( )
default

Member Function Documentation

◆ operator=() [1/2]

Clock & lug::System::Clock::operator= ( const Clock clock)

Definition at line 18 of file Clock.cpp.

◆ operator=() [2/2]

Clock & lug::System::Clock::operator= ( Clock &&  clock)

Definition at line 24 of file Clock.cpp.

◆ reset()

Time lug::System::Clock::reset ( )

Definition at line 34 of file Clock.cpp.

◆ getElapsedTime()

Time lug::System::Clock::getElapsedTime ( ) const

Definition at line 30 of file Clock.cpp.

Member Data Documentation

◆ _startTime

Time lug::System::Clock::_startTime
private

Definition at line 25 of file Clock.hpp.


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