Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
CNodeCallback Class Referenceabstract

callback body instance for INode pointers More...

#include <NodeCallback.h>

Inheritance diagram for CNodeCallback:
Function_NodeCallback< Function > Member_NodeCallback< Client, Member >

Public Member Functions

 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
 
INodeGetNode ()
 returns the node the callback is registered to
 
ECallbackType GetCallbackType ()
 

Protected Attributes

INodem_pNode
 the node were the callback is installed
 
ECallbackType m_CallbackType
 the type of the callback
 

Detailed Description

callback body instance for INode pointers

Constructor & Destructor Documentation

◆ CNodeCallback()

CNodeCallback ( INode pNode,
ECallbackType  CallbackType 
)
inline

◆ ~CNodeCallback()

virtual ~CNodeCallback ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ Destroy()

virtual void Destroy ( )
pure virtual

◆ GetCallbackType()

ECallbackType GetCallbackType ( )
inline

◆ GetNode()

INode * GetNode ( )
inline

returns the node the callback is registered to

◆ operator()()

virtual void operator() ( ECallbackType  CallbackType) const
pure virtual

fires the callback if th type is right

Implemented in Function_NodeCallback< Function >, and Member_NodeCallback< Client, Member >.

Member Data Documentation

◆ m_CallbackType

ECallbackType m_CallbackType
protected

the type of the callback

◆ m_pNode

INode* m_pNode
protected

the node were the callback is installed


The documentation for this class was generated from the following file: