Skip to content

GenApi::Function_NodeCallback#

Module: GenICam / GenApi Node Reference Classes

Container for a function pointer. More…

#include <GenApi/NodeCallback.h>

Inherits from GenApi::CNodeCallback

Public Functions#

Name
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 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

Additional inherited members#

Public Functions inherited from GenApi::CNodeCallback

Name
virtual ~CNodeCallback()
virtual destructor

Detailed Description#

template <class Function >
class GenApi::Function_NodeCallback;

Container for a function pointer.

Public Functions Documentation#

function Function_NodeCallback#

inline Function_NodeCallback(
    INode * pNode,
    const Function & function,
    ECallbackType CallbackType
)

Constructor.

function operator()#

inline virtual void operator()(
    ECallbackType CallbackType
) const

execute operation: call the function

Reimplements: GenApi::CNodeCallback::operator())

function Destroy#

inline virtual void Destroy()

destroys the object

Reimplements: GenApi::CNodeCallback::Destroy

function GetNode#

inline INode * GetNode()

returns the node the callback is registered to

Protected Attributes Documentation#

variable m_pNode#

INode * m_pNode;

the node were the callback is installed

variable m_CallbackType#

ECallbackType m_CallbackType;

the type of the callback