Classes | Namespaces | Typedefs | Enumerations | Functions
NodeCallback.h File Reference

Implementation helpers for CNodeCallbackDefines a bunch of templates for creating callback-functors taking a INode pointer and returning void. More...

#include "INode.h"

Classes

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

Namespaces

 GenApi
 Contains definitions of the types of GenICam GenApi modules.
 

Typedefs

typedef enum GenApi::_ECallbackType GenApi::ECallbackType
 the type of callback
 

Enumerations

enum  GenApi::_ECallbackType { , GenApi::cbPostOutsideLock = 2 }
 the type of callback More...
 

Functions

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

Detailed Description

Implementation helpers for CNodeCallback

Defines a bunch of templates for creating callback-functors taking a INode pointer and returning void.

Note
does not work with all stl containers, i.e. std::map

© 2006-2014 Basler (Tue Jul 22 2014 11:41:22)