![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <CallbackHandler.h>
Public Member Functions | |
~RetardedAsyncCallbackHandler () override | |
void | invokeCallback (Callback *cb) override |
virtual bool | isStateOk (AddonClass *obj)=0 |
virtual bool | shouldRemoveCallback (AddonClass *obj, void *userData)=0 |
![]() | |
AddonClass () | |
virtual | ~AddonClass () |
const char * | GetClassname () const |
LanguageHook * | GetLanguageHook () |
bool | isDeallocating () |
void | Release () const |
void | Acquire () const |
Static Public Member Functions | |
static void | makePendingCalls () |
static void | clearPendingCalls (void *userData) |
![]() | |
static short | getNumAddonClasses () |
Protected Member Functions | |
RetardedAsyncCallbackHandler ()=default | |
![]() | |
CallbackHandler ()=default | |
![]() | |
virtual void | deallocating () |
Additional Inherited Members | |
![]() | |
static short | getNextClassIndex () |
![]() | |
LanguageHook * | languageHook |
This class is primarily for Python support (hence the "Retarded" prefix). Python (et. al. Retarded languages) require that the context within which a callback executes is under the control of the language. Therefore, this handler is used to queue messages over to a language controlled thread for eventual execution.
|
inlineprotecteddefault |
|
override |
Implements XBMCAddon::CallbackHandler.
|
pure virtual |
Implemented in XBMCAddon::Python::PythonCallbackHandler.
|
static |
|
pure virtual |
Implemented in XBMCAddon::Python::PythonCallbackHandler.