xbmc
|
This class is primarily for Python support (hence the "Retarded" prefix). More...
#include <CallbackHandler.h>
Public Member Functions | |
void | invokeCallback (Callback *cb) override |
virtual bool | isStateOk (AddonClass *obj)=0 |
virtual bool | shouldRemoveCallback (AddonClass *obj, void *userData)=0 |
![]() | |
const char * | GetClassname () const |
LanguageHook * | GetLanguageHook () |
bool | isDeallocating () |
This method should be called while holding a Synchronize on the object. More... | |
void | Release () const |
void | Acquire () const |
Static Public Member Functions | |
static void | makePendingCalls () |
static void | clearPendingCalls (void *userData) |
![]() | |
static short | getNumAddonClasses () |
Additional Inherited Members | |
![]() | |
virtual void | deallocating () |
This method is meant to be called from the destructor of the lowest level class. More... | |
![]() | |
static short | getNextClassIndex () |
This is meant to be called during static initialization and so isn't synchronized. | |
![]() | |
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.