GenApi::Function_NodeCallback#
Container for a function pointer. More…
#include <GenApi/NodeCallback.h>
Inherits from GenApi::CNodeCallback
Public Functions#
| Name | |
|---|---|
| Function_NodeCallback(INode * pNode, const Function & function, ECallbackType CallbackType) Constructor. | |
| virtual void | operator()(ECallbackType CallbackType) const execute operation: call the function |
| virtual void | Destroy() destroys the object |
| INode * | GetNode() returns the node the callback is registered to |
Protected Attributes#
| Name | |
|---|---|
| INode * | m_pNode the node were the callback is installed |
| ECallbackType | m_CallbackType the type of the callback |
Additional inherited members#
Public Functions inherited from GenApi::CNodeCallback
| Name | |
|---|---|
| CNodeCallback(INode * pNode, ECallbackType CallbackType) | |
| virtual | ~CNodeCallback() virtual destructor |
Detailed Description#
template <class Function >
class GenApi::Function_NodeCallback;
Container for a function pointer.
Public Functions Documentation#
Function_NodeCallback#
inline Function_NodeCallback(
INode * pNode,
const Function & function,
ECallbackType CallbackType
)
Constructor.
operator()#
inline virtual void operator()(
ECallbackType CallbackType
) const
execute operation: call the function
Reimplements: GenApi::CNodeCallback::operator()
Destroy#
inline virtual void Destroy()
destroys the object
Reimplements: GenApi::CNodeCallback::Destroy
GetNode#
inline INode * GetNode()
returns the node the callback is registered to
Protected Attributes Documentation#
m_pNode#
INode * m_pNode;
the node were the callback is installed
m_CallbackType#
ECallbackType m_CallbackType;
the type of the callback
Updated on 5 July 2022 at 15:30:01