Container for a function pointer. More...
#include <NodeCallback.h>
Public Member Functions | |
Function_NodeCallback (INode *pNode, const Function &function, ECallbackType CallbackType) | |
Constructor. | |
virtual void | operator() (ECallbackType CallbackType) const |
execute operation: call the function | |
virtual void | Destroy () |
destroys teh object | |
Public Member Functions inherited from CNodeCallback | |
CNodeCallback (INode *pNode, ECallbackType CallbackType) | |
virtual | ~CNodeCallback () |
virtual destructor | |
virtual void | operator() (ECallbackType CallbackType) const =0 |
fires the callback if th type is right | |
virtual void | Destroy ()=0 |
destroys the object | |
INode * | GetNode () |
returns the node the callback is registered to | |
ECallbackType | GetCallbackType () |
Additional Inherited Members | |
Protected Attributes inherited from CNodeCallback | |
INode * | m_pNode |
the node were the callback is installed | |
ECallbackType | m_CallbackType |
the type of the callback | |
Container for a function pointer.
|
inline |
Constructor.
|
inlinevirtual |
destroys teh object
Implements CNodeCallback.
|
inlinevirtual |
execute operation: call the function
Implements CNodeCallback.