#include <decorator_node.h>

Public Member Functions | |
| const TreeNode * | child () const |
| TreeNode * | child () |
| DecoratorNode (const std::string &name, const NodeParameters ¶meters) | |
| NodeStatus | executeTick () override |
| The method that will be executed to invoke tick(); and setStatus();. | |
| virtual void | halt () override |
| The method used to interrupt the execution of a RUNNING node. | |
| void | haltChild () |
| void | setChild (TreeNode *child) |
| virtual NodeType | type () const override |
| virtual | ~DecoratorNode () override |
Protected Attributes | |
| TreeNode * | child_node_ |
Definition at line 8 of file decorator_node.h.
| BT::DecoratorNode::DecoratorNode | ( | const std::string & | name, |
| const NodeParameters & | parameters | ||
| ) |
Definition at line 17 of file decorator_node.cpp.
| virtual BT::DecoratorNode::~DecoratorNode | ( | ) | [override, virtual] |
| const TreeNode * BT::DecoratorNode::child | ( | ) | const |
Definition at line 41 of file decorator_node.cpp.
Definition at line 46 of file decorator_node.cpp.
| NodeStatus BT::DecoratorNode::executeTick | ( | ) | [override, virtual] |
The method that will be executed to invoke tick(); and setStatus();.
Reimplemented from BT::TreeNode.
Definition at line 71 of file decorator_node.cpp.
| void BT::DecoratorNode::halt | ( | ) | [override, virtual] |
The method used to interrupt the execution of a RUNNING node.
Implements BT::TreeNode.
Reimplemented in BT::RepeatNode, and BT::RetryNode.
Definition at line 35 of file decorator_node.cpp.
| void BT::DecoratorNode::haltChild | ( | ) |
Definition at line 51 of file decorator_node.cpp.
| void BT::DecoratorNode::setChild | ( | TreeNode * | child | ) |
Definition at line 25 of file decorator_node.cpp.
| virtual NodeType BT::DecoratorNode::type | ( | ) | const [inline, override, virtual] |
Implements BT::TreeNode.
Reimplemented in BT::DecoratorSubtreeNode.
Definition at line 30 of file decorator_node.h.
TreeNode* BT::DecoratorNode::child_node_ [protected] |
Definition at line 11 of file decorator_node.h.