Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
BT::SequenceStarNode Class Reference

The SequenceStarNode is used to execute a sequence of children. If any child returns RUNNING, previous children are not ticked again. More...

#include <sequence_star_node.h>

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

List of all members.

Public Member Functions

virtual void halt () override
 The method used to interrupt the execution of a RUNNING node.
 SequenceStarNode (const std::string &name, bool reset_on_failure=true)
 SequenceStarNode (const std::string &name, const NodeParameters &params)
virtual ~SequenceStarNode () override

Static Public Member Functions

static const NodeParametersrequiredNodeParameters ()

Private Member Functions

virtual BT::NodeStatus tick () override
 Method to be implemented by the user.

Private Attributes

unsigned int current_child_idx_
bool read_parameter_from_blackboard_
bool reset_on_failure_

Static Private Attributes

static constexpr const char * RESET_PARAM = "reset_on_failure"

Detailed Description

The SequenceStarNode is used to execute a sequence of children. If any child returns RUNNING, previous children are not ticked again.

Definition at line 35 of file sequence_star_node.h.


Constructor & Destructor Documentation

BT::SequenceStarNode::SequenceStarNode ( const std::string &  name,
bool  reset_on_failure = true 
)

Definition at line 21 of file sequence_star_node.cpp.

BT::SequenceStarNode::SequenceStarNode ( const std::string &  name,
const NodeParameters params 
)

Definition at line 30 of file sequence_star_node.cpp.

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

Member Function Documentation

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

The method used to interrupt the execution of a RUNNING node.

Reimplemented from BT::ControlNode.

Definition at line 104 of file sequence_star_node.cpp.

Definition at line 47 of file sequence_star_node.h.

NodeStatus BT::SequenceStarNode::tick ( ) [override, private, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 44 of file sequence_star_node.cpp.


Member Data Documentation

Definition at line 54 of file sequence_star_node.h.

Definition at line 57 of file sequence_star_node.h.

Definition at line 55 of file sequence_star_node.h.

constexpr const char * BT::SequenceStarNode::RESET_PARAM = "reset_on_failure" [static, private]

Definition at line 58 of file sequence_star_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