Container for a member function pointer. More...
#include <NodeCallback.h>
Public Types | |
typedef void(Client::* | PMEMBERFUNC) (INode *) |
Member function type. | |
Public Member Functions | |
Member_NodeCallback (INode *pNode, Client &client, Member member, ECallbackType CallbackType) | |
Constructor. | |
virtual void | operator() (ECallbackType CallbackType) const |
execute operation | |
virtual void | Destroy () |
destroys the 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 member function pointer.
typedef void(Client::* PMEMBERFUNC) (INode *) |
Member function type.
|
inline |
Constructor.
|
inlinevirtual |
destroys the object
Implements CNodeCallback.
|
inlinevirtual |
execute operation
Implements CNodeCallback.