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