Kodi Documentation
Kodi is an open source media player and entertainment hub.
XBMCAddon::AddonCallback Class Reference

#include <AddonCallback.h>

Inheritance diagram for XBMCAddon::AddonCallback:
Collaboration diagram for XBMCAddon::AddonCallback:

Public Member Functions

 ~AddonCallback () override
 
void setHandler (CallbackHandler *_handler)
 
void invokeCallback (Callback *callback)
 
- 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

bool hasHandler ()
 
 AddonCallback ()
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 

Protected Attributes

AddonClass::Ref< CallbackHandlerhandler
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 
- Protected Attributes inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
XbmcThreads::CRecursiveMutex mutex
 
unsigned int count
 

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 ()
 

Detailed Description

This class is the superclass for all API classes that are expected to be able to handle cross-language polymorphism.

Constructor & Destructor Documentation

◆ AddonCallback()

XBMCAddon::AddonCallback::AddonCallback ( )
inlineprotected

◆ ~AddonCallback()

XBMCAddon::AddonCallback::~AddonCallback ( )
overridedefault

Member Function Documentation

◆ hasHandler()

bool XBMCAddon::AddonCallback::hasHandler ( )
inlineprotected

◆ invokeCallback()

void XBMCAddon::AddonCallback::invokeCallback ( Callback callback)

◆ setHandler()

void XBMCAddon::AddonCallback::setHandler ( CallbackHandler _handler)
inline

Member Data Documentation

◆ handler

AddonClass::Ref<CallbackHandler> XBMCAddon::AddonCallback::handler
protected

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