15#include <peak/dll_interface/peak_dll_interface_util.hpp>
58 std::vector<std::shared_ptr<Node>>
SubNodes()
const;
61 friend ClassCreator<CategoryNode>;
84 , m_backendHandle(categoryNodeHandle)
89 auto numSubNodes = QueryNumericFromCInterfaceFunction<size_t>([&](
size_t* _numSubNodes) {
93 std::vector<std::shared_ptr<Node>> subNodes;
94 for (
size_t x = 0; x < numSubNodes; ++x)
96 auto nodeHandle = QueryNumericFromCInterfaceFunction<PEAK_NODE_HANDLE>(
CategoryNode(const CategoryNode &other)=delete
static constexpr auto NodeType
Definition peak_category_node.hpp:38
std::false_type NodeHasRange
Definition peak_category_node.hpp:40
std::vector< std::shared_ptr< Node > > SubNodes() const
Returns the sub nodes.
Definition peak_category_node.hpp:87
CategoryNode(CategoryNode &&other)=delete
CategoryNode & operator=(CategoryNode &&other)=delete
CategoryNode & operator=(const CategoryNode &other)=delete
~CategoryNode() override=default
void NodeDataType
Definition peak_category_node.hpp:39
std::shared_ptr< NodeMap > ParentNodeMap() const
Returns the parent node map.
Definition peak_node.hpp:933
The "nodes" namespace contains all GenAPI node types.
Definition peak_boolean_node.hpp:26
@ Category
Definition peak_node.hpp:94
std::string GetNodeName(PEAK_NODE_HANDLE nodeHandle)
Definition peak_node.hpp:620
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_CategoryNode_GetNumSubNodes(PEAK_CATEGORY_NODE_HANDLE categoryNodeHandle, size_t *numSubNodes)
Asks the given category node for its number of sub nodes.
struct PEAK_NODE * PEAK_NODE_HANDLE
Definition peak_backend.h:429
PEAK_C_API PEAK_CategoryNode_GetSubNode(PEAK_CATEGORY_NODE_HANDLE categoryNodeHandle, size_t index, PEAK_NODE_HANDLE *nodeHandle)
Asks the given category node for the sub node with the given index.
struct PEAK_CATEGORY_NODE * PEAK_CATEGORY_NODE_HANDLE
Definition peak_backend.h:457
PEAK_C_API PEAK_CategoryNode_ToNode(PEAK_CATEGORY_NODE_HANDLE categoryNodeHandle, PEAK_NODE_HANDLE *nodeHandle)
Casts the given category node to a node.
#define PEAK_C_ABI_PREFIX
Definition peak_dll_defines.h:16