Sarafun Behavior Trees package
1
Behavior trees for the SARAFun project
|
#include <TreeRunner.h>
Public Member Functions | |
TreeRunner (int tick_period) | |
bool | startTree (std::string tree_description_path) |
void | stopTree () |
Private Attributes | |
int | tick_period_ |
bt_parser::Parser * | parser_ |
ControlNode * | root_ |
boost::thread * | tree_thread_ |
boost::thread * | draw_thread_ |
Class that maintains a running behavior tree.
It allows for starting and stoping a tree on demand. It reloads the tree definition when starting.
Definition at line 15 of file TreeRunner.h.