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

#include <control_node.h>

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

List of all members.

Public Member Functions

void AddChild (TreeNode *child)
 ControlNode (std::string name)
int Depth ()
std::vector< TreeNode * > GetChildren ()
unsigned int GetChildrenNumber ()
void Halt ()
void HaltChildren (int i)
void ResetColorState ()
bool WriteState (ReturnStatus new_state)
 ~ControlNode ()

Protected Attributes

ReturnStatus child_i_status_
std::vector< TreeNode * > children_nodes_
std::vector< ReturnStatuschildren_states_
unsigned int N_of_children_

Detailed Description

Definition at line 23 of file control_node.h.


Constructor & Destructor Documentation

BT::ControlNode::ControlNode ( std::string  name) [explicit]

Definition at line 18 of file control_node.cpp.

Definition at line 27 of file control_node.cpp.


Member Function Documentation

Reimplemented in BT::DecoratorNode.

Definition at line 29 of file control_node.cpp.

int BT::ControlNode::Depth ( ) [virtual]

Implements BT::TreeNode.

Definition at line 93 of file control_node.cpp.

Definition at line 55 of file control_node.cpp.

Definition at line 43 of file control_node.cpp.

void BT::ControlNode::Halt ( ) [virtual]

Implements BT::TreeNode.

Reimplemented in BT::SequenceNodeWithMemory, BT::FallbackNodeWithMemory, and BT::ParallelNode.

Definition at line 48 of file control_node.cpp.

Definition at line 69 of file control_node.cpp.

Implements BT::TreeNode.

Definition at line 60 of file control_node.cpp.


Member Data Documentation

Definition at line 35 of file control_node.h.

std::vector<TreeNode*> BT::ControlNode::children_nodes_ [protected]

Definition at line 27 of file control_node.h.

Definition at line 30 of file control_node.h.

unsigned int BT::ControlNode::N_of_children_ [protected]

Definition at line 33 of file control_node.h.


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


behavior_tree_core
Author(s): Michele Colledanchise
autogenerated on Thu Jun 6 2019 18:19:08