|
Kodi Documentation
18.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 |
Public Member Functions inherited from XBMCAddon::AddonClass | |
| AddonClass () | |
| virtual | ~AddonClass () |
| const char * | GetClassname () const |
| LanguageHook * | GetLanguageHook () |
| 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 () |
Static Public Member Functions | |
| static void | makePendingCalls () |
| static void | clearPendingCalls (void *userData) |
Static Public Member Functions inherited from XBMCAddon::AddonClass | |
| static short | getNumAddonClasses () |
Protected Member Functions | |
| RetardedAsyncCallbackHandler ()=default | |
Protected Member Functions inherited from XBMCAddon::CallbackHandler | |
| CallbackHandler ()=default | |
Protected Member Functions inherited from XBMCAddon::AddonClass | |
| virtual void | deallocating () |
Additional Inherited Members | |
Static Protected Member Functions inherited from XBMCAddon::AddonClass | |
| static short | getNextClassIndex () |
Protected Attributes inherited from XBMCAddon::AddonClass | |
| LanguageHook * | languageHook |
Protected Attributes inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex > | |
| XbmcThreads::CRecursiveMutex | mutex |
| unsigned int | count |
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.