Kodi Documentation
Kodi is an open source media player and entertainment hub.
XBMCAddon::CallbackHandler Class Referenceabstract

#include <CallbackHandler.h>

Inheritance diagram for XBMCAddon::CallbackHandler:
Collaboration diagram for XBMCAddon::CallbackHandler:

Public Member Functions

virtual void invokeCallback (Callback *cb)=0
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
virtual ~AddonClass ()
const char * GetClassname () const
LanguageHookGetLanguageHook ()
bool isDeallocating ()
void Release () const
void Acquire () const
- Public Member Functions inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
 CountingLockable ()=default
void lock ()
bool try_lock ()
void unlock ()
unsigned int exit (unsigned int leave=0)
void restore (unsigned int restoreCount)
XbmcThreads::CRecursiveMutex & get_underlying ()

Protected Member Functions

 CallbackHandler ()=default
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
- Protected Attributes inherited from XBMCAddon::AddonClass
- Protected Attributes inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
XbmcThreads::CRecursiveMutex mutex
unsigned int count

Detailed Description

This is the abstraction representing different ways to handle the execution of callbacks. Different language bindings may have different requirements.

Constructor & Destructor Documentation

◆ CallbackHandler()

XBMCAddon::CallbackHandler::CallbackHandler ( )

Member Function Documentation

◆ invokeCallback()

virtual void XBMCAddon::CallbackHandler::invokeCallback ( Callback cb)
pure virtual

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