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 NodeParameters &parameters)
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

TreeNodechild_node_

Detailed Description

Definition at line 8 of file decorator_node.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.

Definition at line 51 of file decorator_node.cpp.

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.


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 Feb 2 2019 03:50:10