This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
2021-12-04 00:19:22 +01:00
|
|
|
#ifndef FORTUNA_ACCUMULATOR_CPP
|
|
|
|
#define FORTUNA_ACCUMULATOR_CPP
|
|
|
|
|
|
|
|
#include "accumulator.h"
|
2022-01-01 09:23:42 +01:00
|
|
|
#include <chrono>
|
|
|
|
#include <thread>
|
2021-12-04 00:19:22 +01:00
|
|
|
|
|
|
|
namespace fortuna {
|
|
|
|
namespace accumulator {
|
|
|
|
|
2022-01-01 09:23:42 +01:00
|
|
|
auto wait_for(uint milliseconds) -> void {
|
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds{milliseconds});
|
|
|
|
}
|
|
|
|
|
2022-01-02 07:19:10 +01:00
|
|
|
Accumulator::Accumulator() noexcept {
|
2021-12-28 06:13:03 +01:00
|
|
|
this->Gen = nullptr;
|
|
|
|
}
|
|
|
|
Accumulator::~Accumulator() noexcept {};
|
|
|
|
|
2021-12-04 00:19:22 +01:00
|
|
|
} //namespace accumulator
|
|
|
|
} //namespace fortuna
|
|
|
|
|
|
|
|
#endif//FORTUNA_ACCUMULATOR_CPP
|