std::vector< TreeNode * > children_nodes_
ControlNode(const std::string &name, const NodeConfiguration &config)
virtual void halt() override
const std::vector< TreeNode * > & children() const
Abstract base class for Behavior Tree Nodes.
void addChild(TreeNode *child)
The method used to add nodes to the children vector.
void haltChildren(unsigned i)
call halt() for all the children in the range [i, childrenCount() )
NodeStatus status() const
const TreeNode * child(unsigned index) const
unsigned childrenCount() const
void setStatus(NodeStatus new_status)