Public Member Functions | Public Attributes
BT::Tree Struct Reference

Struct used to store a tree. If this object goes out of scope, the tree is destroyed. More...

#include <bt_factory.h>

List of all members.

Public Member Functions

Blackboard::Ptr rootBlackboard ()
 Tree ()
 ~Tree ()

Public Attributes

std::vector< Blackboard::Ptrblackboard_stack
std::unordered_map
< std::string,
TreeNodeManifest
manifests
std::vector< TreeNode::Ptrnodes
TreeNoderoot_node

Detailed Description

Struct used to store a tree. If this object goes out of scope, the tree is destroyed.

To tick the tree, simply call:

NodeStatus status = my_tree.root_node->executeTick();

Definition at line 78 of file bt_factory.h.


Constructor & Destructor Documentation

BT::Tree::Tree ( ) [inline]

Definition at line 85 of file bt_factory.h.

Definition at line 190 of file bt_factory.cpp.


Member Function Documentation

Definition at line 197 of file bt_factory.cpp.


Member Data Documentation

Definition at line 82 of file bt_factory.h.

std::unordered_map<std::string, TreeNodeManifest> BT::Tree::manifests

Definition at line 83 of file bt_factory.h.

Definition at line 81 of file bt_factory.h.

Definition at line 80 of file bt_factory.h.


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


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