Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
detail::CSubscription< Event, Owner > Class Template Reference

#include <EventStreamDetail.h>

Inheritance diagram for detail::CSubscription< Event, Owner >:
detail::ISubscription< Event >

Public Types

typedef void(Owner::*) Fn(const Event &)
 

Public Member Functions

 CSubscription (Owner *owner, Fn fn)
 
void HandleEvent (const Event &event) override
 
void Cancel () override
 
bool IsOwnedBy (void *obj) override
 
- Public Member Functions inherited from detail::ISubscription< Event >
virtual ~ISubscription ()=default
 

Member Typedef Documentation

◆ Fn

template<typename Event , typename Owner >
void(Owner::*) detail::CSubscription< Event, Owner >::Fn(const Event &)

Constructor & Destructor Documentation

◆ CSubscription()

template<typename Event , typename Owner >
detail::CSubscription< Event, Owner >::CSubscription ( Owner * owner,
Fn fn )

Member Function Documentation

◆ Cancel()

template<typename Event , typename Owner >
void detail::CSubscription< Event, Owner >::Cancel ( )
overridevirtual

◆ HandleEvent()

template<typename Event , typename Owner >
void detail::CSubscription< Event, Owner >::HandleEvent ( const Event & event)
overridevirtual

◆ IsOwnedBy()

template<typename Event , typename Owner >
bool detail::CSubscription< Event, Owner >::IsOwnedBy ( void * obj)
overridevirtual

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