callback body instance for INode pointers More...
#include <NodeCallback.h>
Public Member Functions | |
CNodeCallback (INode *pNode, ECallbackType CallbackType) | |
virtual void | Destroy ()=0 |
destroys the object | |
INode * | GetNode () |
returns the node the callback is registered to | |
virtual void | operator() (ECallbackType CallbackType) const =0 |
fires the callback if the type is right | |
virtual | ~CNodeCallback () |
virtual destructor | |
Protected Attributes | |
ECallbackType | m_CallbackType |
the type of the callback | |
INode * | m_pNode |
the node were the callback is installed |
callback body instance for INode pointers
Definition at line 55 of file NodeCallback.h.
GENAPI_NAMESPACE::CNodeCallback::CNodeCallback | ( | INode * | pNode, |
ECallbackType | CallbackType | ||
) | [inline] |
Definition at line 58 of file NodeCallback.h.
virtual GENAPI_NAMESPACE::CNodeCallback::~CNodeCallback | ( | ) | [inline, virtual] |
virtual destructor
Definition at line 64 of file NodeCallback.h.
virtual void GENAPI_NAMESPACE::CNodeCallback::Destroy | ( | ) | [pure virtual] |
destroys the object
Implemented in GENAPI_NAMESPACE::Member_NodeCallback< Client, Member >, and GENAPI_NAMESPACE::Function_NodeCallback< Function >.
INode* GENAPI_NAMESPACE::CNodeCallback::GetNode | ( | ) | [inline] |
returns the node the callback is registered to
Definition at line 74 of file NodeCallback.h.
virtual void GENAPI_NAMESPACE::CNodeCallback::operator() | ( | ECallbackType | CallbackType | ) | const [pure virtual] |
fires the callback if the type is right
Implemented in GENAPI_NAMESPACE::Member_NodeCallback< Client, Member >, and GENAPI_NAMESPACE::Function_NodeCallback< Function >.
the type of the callback
Definition at line 84 of file NodeCallback.h.
INode* GENAPI_NAMESPACE::CNodeCallback::m_pNode [protected] |
the node were the callback is installed
Definition at line 81 of file NodeCallback.h.