|
R-Type
Distributed multiplayer game engine in C++
|
Minimal interface for the EventBus. More...
#include <IEventBus.hpp>


Public Member Functions | |
| virtual | ~IEventBus ()=default |
| virtual void | clear ()=0 |
| Remove all event subscriptions. | |
Minimal interface for the EventBus.
This interface only exposes the clear() method, as template-based subscribe/publish functions cannot be virtualized. Implementations extending this interface must provide the internal storage and logic for event subscriptions.
Definition at line 21 of file IEventBus.hpp.
|
virtualdefault |
|
pure virtual |
Remove all event subscriptions.
Clears every registered handler for all event types. Called typically during shutdown or reinitialization.
Implemented in server::EventBus.