Lugdunum
0.1.0
include
lug
System
Clock.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/System/Export.hpp
>
4
#include <
lug/System/Time.hpp
>
5
6
namespace
lug
{
7
namespace
System {
8
9
class
LUG_SYSTEM_API
Clock
10
{
11
public
:
12
Clock
();
13
Clock
(
const
Clock
& clock);
14
Clock
(
Clock
&& clock);
15
16
Clock
& operator=(
const
Clock
& clock);
17
Clock
& operator=(
Clock
&& clock);
18
19
~
Clock
() =
default
;
20
21
Time
reset();
22
Time
getElapsedTime()
const
;
23
24
private
:
25
Time
_startTime
;
26
};
27
28
}
// System
29
}
// lug
lug::System::Clock
Definition:
Clock.hpp:9
Export.hpp
LUG_SYSTEM_API
#define LUG_SYSTEM_API
Definition:
Export.hpp:11
Time.hpp
lug::System::Clock::_startTime
Time _startTime
Definition:
Clock.hpp:25
lug::System::Time
Definition:
Time.hpp:9
lug
Definition:
Application.hpp:11
Generated by
1.8.13