MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / applyVisitor

Method applyVisitor

src/bt_factory.cpp:701–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701void Tree::applyVisitor(const std::function<void(const TreeNode*)>& visitor) const
702{
703 BT::applyRecursiveVisitor(static_cast<const TreeNode*>(rootNode()), visitor);
704}
705
706// NOLINTNEXTLINE(readability-make-member-function-const)
707void Tree::applyVisitor(const std::function<void(TreeNode*)>& visitor)

Callers 5

TESTFunction · 0.80
TESTFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

applyRecursiveVisitorFunction · 0.85

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64