Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
NodeCallback Class

Classes

class  CNodeCallback
 callback body instance for INode pointers More...
 
class  Function_NodeCallback< Function >
 Container for a function pointer. More...
 
class  Member_NodeCallback< Client, Member >
 Container for a member function pointer. More...
 

Enumerations

enum  ECallbackType { cbPostInsideLock = 1 , cbPostOutsideLock = 2 }
 the type of callback More...
 

Functions

template<class Function >
CNodeCallbackmake_NodeCallback (INode *pNode, Function function, ECallbackType CallbackType)
 make a new callback object for C functions
 
template<class Function >
intptr_t Register (INode *pNode, Function f, ECallbackType CallbackType=cbPostInsideLock)
 Register a C-function as a callback.
 
template<class Client , class Member >
CNodeCallbackmake_NodeCallback (INode *pNode, Client &client, Member member, ECallbackType CallbackType)
 make a new callback object for member functions
 
template<class Client , class Member >
intptr_t Register (INode *pNode, Client &c, Member m, ECallbackType CallbackType=cbPostInsideLock)
 Register a C++-member function a callback.
 
SPINNAKER_API void Deregister (GenApi::CallbackHandleType pCallbackInfo)
 Unregistering callback by handle.
 

Detailed Description

Enumeration Type Documentation

◆ ECallbackType

the type of callback

Enumerator
cbPostInsideLock 
cbPostOutsideLock 

‍callback is fired on leaving the tree inside the lock-guarded area

Function Documentation

◆ Deregister()

SPINNAKER_API void Deregister ( GenApi::CallbackHandleType  pCallbackInfo)

Unregistering callback by handle.

◆ make_NodeCallback() [1/2]

template<class Client , class Member >
CNodeCallback * make_NodeCallback ( INode pNode,
Client &  client,
Member  member,
ECallbackType  CallbackType 
)

make a new callback object for member functions

◆ make_NodeCallback() [2/2]

template<class Function >
CNodeCallback * make_NodeCallback ( INode pNode,
Function  function,
ECallbackType  CallbackType 
)

make a new callback object for C functions

◆ Register() [1/2]

template<class Client , class Member >
intptr_t Register ( INode pNode,
Client &  c,
Member  m,
ECallbackType  CallbackType = cbPostInsideLock 
)

Register a C++-member function a callback.

◆ Register() [2/2]

template<class Function >
intptr_t Register ( INode pNode,
Function  f,
ECallbackType  CallbackType = cbPostInsideLock 
)

Register a C-function as a callback.