15#include <peak/dll_interface/peak_dll_interface_util.hpp>
59 std::vector<std::shared_ptr<Node>>
SubNodes()
const;
62 friend ClassCreator<CategoryNode>;
85 , m_backendHandle(categoryNodeHandle)
90 auto numSubNodes = QueryNumericFromCInterfaceFunction<size_t>([&](
size_t* _numSubNodes) {
94 std::vector<std::shared_ptr<Node>> subNodes;
95 for (
size_t x = 0; x < numSubNodes; ++x)
97 auto nodeHandle = QueryNumericFromCInterfaceFunction<PEAK_NODE_HANDLE>(
CategoryNode(const CategoryNode &other)=delete
static constexpr auto NodeType
Definition peak_category_node.hpp:39
std::false_type NodeHasRange
Definition peak_category_node.hpp:41
std::vector< std::shared_ptr< Node > > SubNodes() const
Returns the sub nodes.
Definition peak_category_node.hpp:88
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:40
std::shared_ptr< NodeMap > ParentNodeMap() const
Returns the parent node map.
Definition peak_node.hpp:973
@ Category
Definition peak_node.hpp:98
The "nodes" namespace contains all GenAPI node types.
Definition peak_boolean_node.hpp:26
std::string GetNodeName(PEAK_NODE_HANDLE nodeHandle)
Definition peak_node.hpp:660
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:35
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