surtur
03578f9016
All checks were successful
continuous-integration/drone/push Build is passing
* add event_scheduler_impl.h and properly override its base class * add urandom_entropy_src.cpp, move there logic from header * add urandom_entropy_src.cpp to CMakeLists.txt * add unique_ptr per impl: one for both EventSchedulerImpl and EventAdderImpl each * wrap a call in reinterpret_cast and reformat code * add missing includes (best effort)
25 lines
465 B
C++
25 lines
465 B
C++
#ifndef FORTUNA_EVENT_SCHEDULER_IMPL_H
|
|
#define FORTUNA_EVENT_SCHEDULER_IMPL_H
|
|
|
|
#include "event_scheduler.h"
|
|
|
|
#include <chrono>
|
|
|
|
namespace fortuna {
|
|
namespace accumulator {
|
|
|
|
class EventSchedulerImpl final : public EventScheduler {
|
|
private:
|
|
std::chrono::milliseconds delay;
|
|
|
|
public:
|
|
EventSchedulerImpl();
|
|
|
|
void schedule(std::chrono::milliseconds delay_ms) override {}
|
|
};
|
|
|
|
} // namespace accumulator
|
|
} // namespace fortuna
|
|
|
|
#endif // FORTUNA_EVENT_SCHEDULER_IMPL_H
|