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.
fortuna/event_scheduler.h
surtur a5b988ba71
All checks were successful
continuous-integration/drone/push Build is passing
accumulator: add event_scheduler,entropy_src ifces
2021-12-11 02:12:49 +01:00

23 lines
455 B
C++

#ifndef FORTUNA_EVENT_SCHEDULER_H
#define FORTUNA_EVENT_SCHEDULER_H
#include <chrono>
namespace fortuna {
namespace accumulator {
class EventScheduler {
public:
virtual void schedule(std::chrono::milliseconds delay_ms) = 0;
EventScheduler(const EventScheduler&) = delete;
EventScheduler& operator=(const EventScheduler&) = delete;
~EventScheduler() noexcept;
};
} //namespace accumulator
} //namespace fortuna
#endif//FORTUNA_EVENT_SCHEDULER_H