Implementation helpers for CNodeCallbackDefines a bunch of templates for creating callback-functors taking a INode pointer and returning void. More...
#include <GenApi/INode.h>
Go to the source code of this file.
Classes | |
class | GENAPI_NAMESPACE::CNodeCallback |
callback body instance for INode pointers More... | |
class | GENAPI_NAMESPACE::Function_NodeCallback< Function > |
Container for a function pointer. More... | |
class | GENAPI_NAMESPACE::Member_NodeCallback< Client, Member > |
Container for a member function pointer. More... | |
Namespaces | |
namespace | GENAPI_NAMESPACE |
Part of the generic device API. | |
Typedefs | |
typedef enum GENAPI_NAMESPACE::_ECallbackType | GENAPI_NAMESPACE::ECallbackType |
the type of callback | |
Enumerations | |
enum | GENAPI_NAMESPACE::_ECallbackType { GENAPI_NAMESPACE::cbPostInsideLock = 1, GENAPI_NAMESPACE::cbPostOutsideLock = 2 } |
the type of callback More... | |
Functions | |
GENAPI_DECL void | GENAPI_NAMESPACE::Deregister (GENAPI_NAMESPACE::CallbackHandleType pCallbackInfo) |
Unregistering callback by handle. | |
template<class Function > | |
CNodeCallback * | GENAPI_NAMESPACE::make_NodeCallback (INode *pNode, Function function, ECallbackType CallbackType) |
make a new callback object for C functions | |
template<class Client , class Member > | |
CNodeCallback * | GENAPI_NAMESPACE::make_NodeCallback (INode *pNode, Client &client, Member member, ECallbackType CallbackType) |
make a new callback object for member functions | |
template<class Function > | |
intptr_t | GENAPI_NAMESPACE::Register (INode *pNode, Function f, ECallbackType CallbackType=cbPostInsideLock) |
Register a C-function as a callback. | |
template<class Client , class Member > | |
intptr_t | GENAPI_NAMESPACE::Register (INode *pNode, Client &c, Member m, ECallbackType CallbackType=cbPostInsideLock) |
Register a C++-member function a callback. |
Implementation helpers for CNodeCallback
Defines a bunch of templates for creating callback-functors taking a INode pointer and returning void.
Definition in file NodeCallback.h.