All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 <GenApi/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

pylon 5.0.5
Copyright © 2006-2016 Basler AG (Thu Aug 11 2016 18:01:27)