GL Studio C++ Runtime API
|
#include <callback_caller_base.h>
Public Member Functions | |
virtual int | Call (DisplayObject *, DisplayEvent *) |
virtual void | CallType2 (DisplayEvent *, void *=NULL) |
virtual void | CallType3 () |
Allows for a very simple callback, with no additional data passed. More... | |
virtual CallbackMethodCallerBase * | Duplicate () const |
virtual void | SetContainer (DisplayObject *container)=0 |
CallbackMethodCallerBase will be derived by any class desiring to use it. It allows for calling bound methods for specific objects
|
inlinevirtual |
This is for mouse and keyboard events.
Reimplemented in CallbackAttributeNotifier< T >, and CallbackMethodCallerTemplate< T, O >.
|
inlinevirtual |
This is used mostly for user events. The callbackData is generally passed in when this object is created.
Reimplemented in CallbackAttributeNotifier< T >, and CallbackMethodCallerTemplate< T, O >.
|
inlinevirtual |
Allows for a very simple callback, with no additional data passed.
Reimplemented in CallbackMethodCallerTemplate< T, O >, and CallbackAttributeNotifier< T >.
|
inlinevirtual |
Reimplemented in CallbackMethodCallerTemplate< T, O >, and CallbackAttributeNotifier< T >.
|
pure virtual |
Assign a new object to be the target of this callback.
container | The new target object. |
Implemented in CallbackMethodCallerTemplate< T, O >, and CallbackAttributeNotifier< T >.