Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
bool tree_generator::SubTreeFromKF::loadLabel ( std::string  label)

Recovers a BT subtree with a label that matches the keyframe.

Parameters
labelThe KF label that identifies the subtree.
Returns
True in case the label exists and the file is recovered. False otherwise.

Definition at line 26 of file TreeFromKF.cpp.

References file_, has_label_, nh_, and tree_generator::replaceWithUnderscore().

Referenced by tree_generator::TreeFromKF::createTree().

Here is the call graph for this function: