BehaviorTree
Core Library to create and execute Behavior Trees
Loading...
Searching...
No Matches
BT::Parser Class Referenceabstract

The BehaviorTreeParser is a class used to read the model of a BehaviorTree from file or text and instantiate the corresponding tree using the BehaviorTreeFactory. More...

#include <bt_parser.h>

Inheritance diagram for BT::Parser:

Public Member Functions

 Parser (const Parser &other)=delete
 
Parseroperator= (const Parser &other)=delete
 
 Parser (Parser &&other)=default
 
Parseroperator= (Parser &&other)=default
 
virtual void loadFromFile (const std::filesystem::path &filename, bool add_includes=true)=0
 
virtual void loadFromText (const std::string &xml_text, bool add_includes=true)=0
 
virtual std::vector< std::string > registeredBehaviorTrees () const =0
 
virtual Tree instantiateTree (const Blackboard::Ptr &root_blackboard, std::string tree_name={})=0
 
virtual void clearInternalState ()
 

Detailed Description

The BehaviorTreeParser is a class used to read the model of a BehaviorTree from file or text and instantiate the corresponding tree using the BehaviorTreeFactory.


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