Go to the documentation of this file.
37 #ifndef GENAPI_NODECALLBACK_H
38 #define GENAPI_NODECALLBACK_H
95 template <
class Function>
132 template <
class Function>
145 template<
class Function>
149 return pNode->RegisterCallback(pCallback);
161 template <
class Client,
class Member>
205 template <
class Client,
class Member>
217 template<
class Client,
class Member>
221 return pNode->RegisterCallback(pCallback);
231 #endif // GENAPI_NODECALLBACK_H
Lexical analyzer for CIntSwissKnife.
_ECallbackType
the type of callback
enum GENAPI_NAMESPACE::_ECallbackType ECallbackType
the type of callback
virtual ~CNodeCallback()
virtual destructor
ECallbackType m_CallbackType
the type of the callback
virtual void operator()(ECallbackType CallbackType) const
execute operation
GENAPI_DECL void Deregister(GENAPI_NAMESPACE::CallbackHandleType pCallbackInfo)
Unregistering callback by handle.
@ cbPostOutsideLock
callback is fired on leaving the tree inside the lock-guarded area
Function_NodeCallback(INode *pNode, const Function &function, ECallbackType CallbackType)
Constructor.
Container for a member function pointer.
PMEMBERFUNC m_pMemberFunc
The method to call.
callback body instance for INode pointers
const Function m_pFunction
the callback function
Container for a function pointer.
Definition of interface INode and types NodeList_t and CallbackHandleType:
Member_NodeCallback(INode *pNode, Client &client, Member member, ECallbackType CallbackType)
Constructor.
INode * m_pNode
the node were the callback is installed
Client & m_Client
The object the method function belongs to.
CNodeCallback(INode *pNode, ECallbackType CallbackType)
virtual void operator()(ECallbackType CallbackType) const
execute operation: call the function
intptr_t CallbackHandleType
the callback handle for nodes
GENICAM_INTERFACE INode
Interface common to all nodes.
virtual void Destroy()
destroys the object
virtual void operator()(ECallbackType CallbackType) const =0
fires the callback if the type is right
CNodeCallback * make_NodeCallback(INode *pNode, Function function, ECallbackType CallbackType)
make a new callback object for C functions
Member_NodeCallback & operator=(Member_NodeCallback &)
no assignment operator
INode * GetNode()
returns the node the callback is registered to
intptr_t Register(INode *pNode, Function f, ECallbackType CallbackType=cbPostInsideLock)
Register a C-function as a callback.
virtual void Destroy()=0
destroys the object
Function_NodeCallback & operator=(Function_NodeCallback &)
no assignment operator
void(Client::* PMEMBERFUNC)(INode *)
Member function type.
virtual void Destroy()
destroys the object
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11