Skip to content

GenApi::Member_NodeCallback#

Module: GenICam / GenApi Node Reference Classes

Container for a member function pointer. More…

#include <GenApi/NodeCallback.h>

Inherits from GenApi::CNodeCallback

Public Types#

Name
typedef void(Client::)(INode ) PMEMBERFUNC
Member function type.

Public Functions#

Name
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
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 Client ,
class Member >
class GenApi::Member_NodeCallback;

Container for a member function pointer.

Public Types Documentation#

typedef PMEMBERFUNC#

typedef void(Client::* GenApi::Member_NodeCallback< Client, Member >::PMEMBERFUNC) (INode *);

Member function type.

Public Functions Documentation#

function Member_NodeCallback#

inline Member_NodeCallback(
    INode * pNode,
    Client & client,
    Member member,
    ECallbackType CallbackType
)

Constructor.

function operator()#

inline virtual void operator()(
    ECallbackType CallbackType
) const

execute operation

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