Skip to content

GenApi::CNodeCallback#

Module: GenICam / GenApi Node Reference Classes

callback body instance for INode pointers

#include <GenApi/NodeCallback.h>

Inherited by GenApi::Function_NodeCallback< Function >, GenApi::Member_NodeCallback< Client, Member >

Public Functions#

Name
CNodeCallback(INode * pNode, ECallbackType CallbackType)
virtual ~CNodeCallback()
virtual destructor
virtual void operator()(ECallbackType CallbackType) const
fires the callback if the type is right
virtual void Destroy()
destroys the object
INode * GetNode()
returns the node the callback is registered to

Protected Attributes#

Name
INode * m_pNode
the node were the callback is installed
ECallbackType m_CallbackType
the type of the callback

Public Functions Documentation#

CNodeCallback#

inline CNodeCallback(
    INode * pNode,
    ECallbackType CallbackType
)

~CNodeCallback#

inline virtual ~CNodeCallback()

virtual destructor

operator()#

virtual void operator()(
    ECallbackType CallbackType
) const 

fires the callback if the type is right

Reimplemented by: GenApi::Function_NodeCallback::operator(), GenApi::Member_NodeCallback::operator()

Destroy#

virtual void Destroy() 

destroys the object

Reimplemented by: GenApi::Function_NodeCallback::Destroy, GenApi::Member_NodeCallback::Destroy

GetNode#

inline INode * GetNode()

returns the node the callback is registered to

Protected Attributes Documentation#

m_pNode#

INode * m_pNode;

the node were the callback is installed

m_CallbackType#

ECallbackType m_CallbackType;

the type of the callback


Updated on 5 July 2022 at 15:30:01