Public Member Functions | Protected Attributes
BT::DecoratorNode Class Reference

#include <decorator_node.h>

Inheritance diagram for BT::DecoratorNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const TreeNodechild () const
TreeNodechild ()
 DecoratorNode (const std::string &name, const NodeConfiguration &config)
NodeStatus executeTick () override
 The method that should be used to invoke tick() and setStatus();.
virtual void halt () override
 The method used to interrupt the execution of this node.
void haltChild ()
 Halt() the child node.
void setChild (TreeNode *child)
virtual NodeType type () const override
virtual ~DecoratorNode () override

Protected Attributes

TreeNodechild_node_

Detailed Description

Definition at line 8 of file decorator_node.h.


Constructor & Destructor Documentation

BT::DecoratorNode::DecoratorNode ( const std::string &  name,
const NodeConfiguration config 
)

Definition at line 18 of file decorator_node.cpp.

virtual BT::DecoratorNode::~DecoratorNode ( ) [override, virtual]

Member Function Documentation

Definition at line 39 of file decorator_node.cpp.

Definition at line 44 of file decorator_node.cpp.

NodeStatus BT::DecoratorNode::executeTick ( ) [override, virtual]

The method that should be used to invoke tick() and setStatus();.

Reimplemented from BT::TreeNode.

Definition at line 69 of file decorator_node.cpp.

void BT::DecoratorNode::halt ( ) [override, virtual]

The method used to interrupt the execution of this node.

Implements BT::TreeNode.

Reimplemented in BT::RepeatNode, and BT::RetryNode.

Definition at line 33 of file decorator_node.cpp.

Halt() the child node.

Definition at line 49 of file decorator_node.cpp.

Definition at line 23 of file decorator_node.cpp.

virtual NodeType BT::DecoratorNode::type ( ) const [inline, override, virtual]

Implements BT::TreeNode.

Reimplemented in BT::DecoratorSubtreeNode.

Definition at line 31 of file decorator_node.h.


Member Data Documentation

Definition at line 11 of file decorator_node.h.


The documentation for this class was generated from the following files:


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15