blob: 0a7a92300c21eee1c0a2d2ea0ff5ac97141014e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#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;
}
auto GenerationTracker::get_is_paused() const noexcept -> bool
{
return _is_paused;
}
void GenerationTracker::set_is_paused(bool is_paused) noexcept
{
_is_paused = is_paused;
}
|