An observer interface of the observers/observable design pattern. More...
#include <observer.hpp>
Public Member Functions | |
virtual void | handle (const anch::events::Event< T > &event) noexcept=0 |
An observer interface of the observers/observable design pattern.
It has to be implemented to handle events correctly.
|
pure virtualnoexcept |
Receive event notification
event | The event to receive |
Implemented in anch::events::EventHandler< T, Derived >, and anch::ut::SocketServerRunner.