13#include <peak/dll_interface/peak_dll_interface_util.hpp>
72 friend ClassCreator<BooleanNode>;
95 , m_backendHandle(booleanNodeHandle)
100 return QueryNumericFromCInterfaceFunction<PEAK_BOOL8>([&](
PEAK_BOOL8* value) {
108 CallAndCheckCInterfaceFunction(
BooleanNode(const BooleanNode &other)=delete
PEAK_COMMON_NO_DISCARD bool Value(NodeCacheUsePolicy cacheUsePolicy=NodeCacheUsePolicy::UseCache) const
Returns the value.
Definition peak_boolean_node.hpp:98
BooleanNode & operator=(BooleanNode &&other)=delete
bool NodeDataType
Definition peak_boolean_node.hpp:34
BooleanNode(BooleanNode &&other)=delete
void SetValue(bool value)
Sets the given value.
Definition peak_boolean_node.hpp:106
static constexpr auto NodeType
Definition peak_boolean_node.hpp:33
BooleanNode & operator=(const BooleanNode &other)=delete
std::false_type NodeHasRange
Definition peak_boolean_node.hpp:35
~BooleanNode() override=default
NodeCacheUsePolicy
Defines how node value access should interact with the internal cache.
Definition peak_common_node_enums.hpp:36
@ Boolean
Definition peak_node.hpp:90
@ UseCache
Definition peak_common_node_enums.hpp:38
The "nodes" namespace contains all GenAPI node types.
Definition peak_utils.hpp:31
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:32
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
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:427
int32_t PEAK_NODE_CACHE_USE_POLICY
Definition peak_backend.h:240
int8_t PEAK_BOOL8
Definition peak_backend.h:41
struct PEAK_BOOLEAN_NODE * PEAK_BOOLEAN_NODE_HANDLE
Definition peak_backend.h:435
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89
#define PEAK_C_ABI_PREFIX
Definition peak_dll_defines.h:13