Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type > Class Template Reference

#include <CallbackFunction.h>

Inheritance diagram for XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >:
XBMCAddon::Callback XBMCAddon::AddonClass

Public Types

typedef void(M::*) MemberFunction()
 

Public Member Functions

 CallbackFunction (M *object, MemberFunction method)
 
 ~CallbackFunction () override
 
void executeCallback () override
 
- Public Member Functions inherited from XBMCAddon::Callback
 ~Callback () override
 
AddonClassgetObject ()
 
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
 
virtual ~AddonClass ()
 
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 
void Release () const
 
void Acquire () const
 

Protected Attributes

MemberFunction meth
 
M * obj
 
- Protected Attributes inherited from XBMCAddon::Callback
AddonClassaddonClassObject
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
 
- Protected Member Functions inherited from XBMCAddon::Callback
 Callback (AddonClass *_object)
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
 

Detailed Description

template<class M>
class XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >

This is the template to carry a callback to a member function that returns 'void' (has no return) and takes no parameters.

Member Typedef Documentation

◆ MemberFunction

template<class M >
void(M::*) XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >::MemberFunction()

Constructor & Destructor Documentation

◆ CallbackFunction()

template<class M >
XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >::CallbackFunction ( M * object,
MemberFunction method )
inline

◆ ~CallbackFunction()

Member Function Documentation

◆ executeCallback()

template<class M >
void XBMCAddon::CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >::executeCallback ( )
inlineoverridevirtual

Implements XBMCAddon::Callback.

Member Data Documentation

◆ meth

◆ obj


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