3#include "../global.hpp"
5#include "value_node.hpp"
20 class SelectorNode :
public ValueNode
23 explicit SelectorNode(HandleGuard<Node> &&guard)
35 if (selector_ == Selector::Undefined)
37 selector_ = (GetDependentNodeCount(
NodeList::Selected)) ? Selector::Yes : Selector::No;
39 return (selector_ == Selector::Yes) ? true :
false;
60 mutable Selector selector_ = Selector::Undefined;
20 class SelectorNode :
public ValueNode {
…};
std::vector< std::shared_ptr< T > > GetDependentNodes(const NodeList &type) const
Gets the nodes categorized by this node.
Definition detail_node.hpp:410
bool IsSelector() const
Gets whether this node selects at least one other.
Definition selector_node.hpp:33
std::vector< ValueNodePtr > SelectedNodes() const
Gets all nodes selected by this one.
Definition selector_node.hpp:47
Describes a GenICam Pixel Format Naming Convention (PFNC) compatible image memory buffer with possibl...
Definition decl_int_swiss_knife_node.hpp:11
@ Selected
Node accesses the selected nodes.
Definition gevserver.hpp:254
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
@ Undefined
Definition global.hpp:155