35 virtual void loadFromFile(
const std::string& filename,
bool add_includes =
true) = 0;
42 std::string tree_name = {}) = 0;
virtual std::vector< std::string > registeredBehaviorTrees() const =0
virtual void clearInternalState()
The BehaviorTreeParser is a class used to read the model of a BehaviorTree from file or text and inst...
std::shared_ptr< Blackboard > Ptr
Parser & operator=(const Parser &other)=delete
static const char * xml_text
virtual void loadFromText(const std::string &xml_text, bool add_includes=true)=0
virtual Tree instantiateTree(const Blackboard::Ptr &root_blackboard, std::string tree_name={})=0
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
virtual ~Parser()=default
virtual void loadFromFile(const std::string &filename, bool add_includes=true)=0