libkazv
Kazv::LagerStoreEventEmitter Class Reference

#include <lagerstoreeventemitter.hpp>

Inheritance diagram for Kazv::LagerStoreEventEmitter:
Collaboration diagram for Kazv::LagerStoreEventEmitter:

Classes

class  Watchable
 

Public Member Functions

template<class EventLoop >
 LagerStoreEventEmitter (EventLoop loop)
 
 ~LagerStoreEventEmitter () override=default
 
void emit (KazvEvent e) override
 
Watchable watchable ()
 An object you can watch for events. More...
 
- Public Member Functions inherited from Kazv::EventInterface
virtual ~EventInterface ()=default
 

Constructor & Destructor Documentation

◆ LagerStoreEventEmitter()

template<class EventLoop >
Kazv::LagerStoreEventEmitter::LagerStoreEventEmitter ( EventLoop  loop)
inline

◆ ~LagerStoreEventEmitter()

Kazv::LagerStoreEventEmitter::~LagerStoreEventEmitter ( )
overridedefault

Member Function Documentation

◆ emit()

void Kazv::LagerStoreEventEmitter::emit ( KazvEvent  e)
inlineoverridevirtual

Implements Kazv::EventInterface.

◆ watchable()

Watchable Kazv::LagerStoreEventEmitter::watchable ( )
inline

An object you can watch for events.

auto watchable = eventEmitter.watchable();
watchable.after<ReceivingRoomTimelineEvent>(
[](auto &&e) { ... });
void after(Func &&func)
Definition: lagerstoreeventemitter.hpp:119
Watchable watchable()
An object you can watch for events.
Definition: lagerstoreeventemitter.hpp:148

The documentation for this class was generated from the following file: