blob: 15b4ce4a58d3d391222e229cdc352bfeb4340831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "generation_tracker.hpp"
GenerationTracker::GenerationTracker(bool is_paused) noexcept : _is_paused(is_paused) {}
auto GenerationTracker::get_current_generation() const noexcept -> uint32_t
{
return _current_generation;
}
void GenerationTracker::set_current_generation(uint32_t current_generation) noexcept
{
_current_generation = current_generation;
}
auto GenerationTracker::get_is_paused() const noexcept -> bool
{
return _is_paused;
}
void GenerationTracker::set_is_paused(bool is_paused) noexcept
{
_is_paused = is_paused;
}
|