Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CEventSource< Event > Class Template Reference

#include <EventStream.h>

Inheritance diagram for CEventSource< Event >:
CEventStream< Event >

Public Member Functions

 CEventSource ()
 
template<typename A >
void Publish (A event)
 
- Public Member Functions inherited from CEventStream< Event >
template<typename A >
void Subscribe (A *owner, void(A::*fn)(const Event &))
 
template<typename A >
void Unsubscribe (A *obj)
 

Additional Inherited Members

- Protected Attributes inherited from CEventStream< Event >
std::vector< std::shared_ptr< detail::ISubscription< Event > > > m_subscriptions
 
CCriticalSection m_criticalSection
 

Constructor & Destructor Documentation

◆ CEventSource()

template<typename Event >
CEventSource< Event >::CEventSource ( )
inlineexplicit

Member Function Documentation

◆ Publish()

template<typename Event >
template<typename A >
void CEventSource< Event >::Publish ( A event)
inline

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