11 #include "AddonClass.h" 12 #include "CallbackFunction.h" 13 #include "CallbackHandler.h" 14 #include "LanguageHook.h" 28 bool hasHandler() {
return handler.isNotNull(); }
33 if (languageHook != NULL)
40 inline void setHandler(
CallbackHandler* _handler) { handler = _handler; }
41 void invokeCallback(
Callback* callback);
This class is a smart pointer for a Referenced class.
Definition: AddonClass.h:154
This is the abstraction representing different ways to handle the execution of callbacks.
Definition: CallbackHandler.h:21
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
virtual CallbackHandler * GetCallbackHandler()
For scripting languages that need a global callback handler, this method should be overloaded to supp...
Definition: LanguageHook.h:69
Definition: CallbackFunction.h:25
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57
This class is the superclass for all API classes that are expected to be able to handle cross-languag...
Definition: AddonCallback.h:23