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-06 01:02:43 +01:00
|
|
|
#ifndef FORTUNA_EVENT_ADDER_H
|
|
|
|
#define FORTUNA_EVENT_ADDER_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace fortuna {
|
|
|
|
namespace accumulator {
|
|
|
|
|
|
|
|
class EventAdder {
|
|
|
|
public:
|
2022-01-17 08:27:24 +01:00
|
|
|
virtual void add(const std::vector<char>& e) = 0;
|
2022-02-03 01:11:39 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual ~EventAdder() noexcept = default;
|
2021-12-06 01:02:43 +01:00
|
|
|
};
|
|
|
|
|
2022-01-10 04:25:03 +01:00
|
|
|
} // namespace accumulator
|
|
|
|
} // namespace fortuna
|
|
|
|
#endif // FORTUNA_EVENT_ADDER_H
|