15#include <peak/dll_interface/peak_dll_interface_util.hpp>
73 friend ClassCreator<BooleanNode>;
96 , m_backendHandle(booleanNodeHandle)
101 return QueryNumericFromCInterfaceFunction<PEAK_BOOL8>([&](
PEAK_BOOL8* value) {
109 CallAndCheckCInterfaceFunction(
BooleanNode(const BooleanNode &other)=delete
bool Value(NodeCacheUsePolicy cacheUsePolicy=NodeCacheUsePolicy::UseCache) const
Returns the value.
Definition peak_boolean_node.hpp:99
BooleanNode & operator=(BooleanNode &&other)=delete
bool NodeDataType
Definition peak_boolean_node.hpp:36
BooleanNode(BooleanNode &&other)=delete
void SetValue(bool value)
Sets the given value.
Definition peak_boolean_node.hpp:107
static constexpr auto NodeType
Definition peak_boolean_node.hpp:35
BooleanNode & operator=(const BooleanNode &other)=delete
std::false_type NodeHasRange
Definition peak_boolean_node.hpp:37
~BooleanNode() override=default
The "nodes" namespace contains all GenAPI node types.
Definition peak_boolean_node.hpp:26
@ Boolean
Definition peak_node.hpp:89
NodeCacheUsePolicy
Definition peak_common_node_enums.hpp:25
@ UseCache
Definition peak_common_node_enums.hpp:26
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:34
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33
PEAK_C_API PEAK_BooleanNode_ToNode(PEAK_BOOLEAN_NODE_HANDLE booleanNodeHandle, PEAK_NODE_HANDLE *nodeHandle)
Casts the given boolean node to a node.
PEAK_C_API PEAK_BooleanNode_SetValue(PEAK_BOOLEAN_NODE_HANDLE booleanNodeHandle, PEAK_BOOL8 value)
Tells the given boolean node to set the given value.
PEAK_C_API PEAK_BooleanNode_GetValue(PEAK_BOOLEAN_NODE_HANDLE booleanNodeHandle, PEAK_NODE_CACHE_USE_POLICY cacheUsePolicy, PEAK_BOOL8 *value)
Asks the given boolean node for its value.
struct PEAK_NODE * PEAK_NODE_HANDLE
Definition peak_backend.h:429
int32_t PEAK_NODE_CACHE_USE_POLICY
Definition peak_backend.h:242
int8_t PEAK_BOOL8
Definition peak_backend.h:43
struct PEAK_BOOLEAN_NODE * PEAK_BOOLEAN_NODE_HANDLE
Definition peak_backend.h:437
#define PEAK_C_ABI_PREFIX
Definition peak_dll_defines.h:16