xbmc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XBMCAddon::Callback Class Referenceabstract

#include <CallbackFunction.h>

Inheritance diagram for XBMCAddon::Callback:
Inheritance graph
[legend]
Collaboration diagram for XBMCAddon::Callback:
Collaboration graph
[legend]

Public Member Functions

virtual void executeCallback ()=0
 
AddonClassgetObject ()
 
- Public Member Functions inherited from XBMCAddon::AddonClass
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 This method should be called while holding a Synchronize on the object. More...
 
void Release () const
 
void Acquire () const
 

Protected Member Functions

 Callback (AddonClass *_object)
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 This method is meant to be called from the destructor of the lowest level class. More...
 

Protected Attributes

AddonClassaddonClassObject
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 

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 ()
 This is meant to be called during static initialization and so isn't synchronized.
 

Detailed Description

This is the parent class for the class templates that hold a callback. A callback is essentially a templatized functor (functoid?) for a call to a member function.

This class combined with the attending CallbackHandlers should make sure that the AddonClass isn't in the midst of deallocating when the callback executes. In this way the Callback class acts as a weak reference.


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