13#include <spdlog/spdlog.h>
27 template <
typename Messages>
49 std::function<void(
int)>
f;
Enums for observer messages.
Implementation of the observer design pattern.
Definition: simpleassemblers.hh:21
GenericObserver class for observing specific messages.
Definition: genericobserver.hh:28
GenericObserver(Messages p_message, F &&p_f)
Constructor for GenericObserver.
Definition: genericobserver.hh:40
Messages message
Definition: genericobserver.hh:48
std::function< void(int)> f
Definition: genericobserver.hh:49
int step
Definition: genericobserver.hh:50
void updateImpl(Messages p_message) override
Definition: genericobserver.hh:41
Generic observer interface for the Observer design pattern. See for a description of the design patt...
Definition: observer.hh:25