|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <EventStream.h>
Public Member Functions | |
| template<typename A > | |
| void | HandleEvent (const A &event) |
Public Member Functions inherited from CEventStream< Event > | |
| template<typename A > | |
| void | Subscribe (A *owner, const EventHandler &eventHandler) |
| template<typename A > | |
| void | Unsubscribe (A *obj) |
Additional Inherited Members | |
Public Types inherited from CEventStream< Event > | |
| using | EventHandler = std::function< void(const Event &)> |
Protected Attributes inherited from CEventStream< Event > | |
| std::vector< std::shared_ptr< detail::ISubscription< Event > > > | m_subscriptions |
| CCriticalSection | m_criticalSection |
|
inline |