Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Private Attributes
sarafun::TreeRunner Class Reference

#include <TreeRunner.h>

Collaboration diagram for sarafun::TreeRunner:
Collaboration graph

Public Member Functions

 TreeRunner (int tick_period)
 
bool startTree (std::string tree_description_path)
 
void stopTree ()
 

Private Attributes

int tick_period_
 
bt_parser::Parserparser_
 
ControlNode * root_
 
boost::thread * tree_thread_
 
boost::thread * draw_thread_
 

Detailed Description

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.


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