2
3
4
5
6
7
8
9
10
11
15#include "behaviortree_cpp/blackboard.h"
16#include "behaviortree_cpp/bt_factory.h"
23
24
25
26
32 virtual ~Parser() =
default;
34 Parser(
const Parser& other) =
delete;
37 Parser(
Parser&& other) =
default;
40 virtual void loadFromFile(
const std::filesystem::path& filename,
41 bool add_includes =
true) = 0;
43 virtual void loadFromText(
const std::string& xml_text,
bool add_includes =
true) = 0;
45 virtual std::vector<std::string> registeredBehaviorTrees()
const = 0;
47 virtual Tree instantiateTree(
const Blackboard::Ptr& root_blackboard,
48 std::string tree_name = {}) = 0;
50 virtual void clearInternalState(){};
The Blackboard is the mechanism used by BehaviorTrees to exchange typed data.
Definition: blackboard.h:35
The BehaviorTreeParser is a class used to read the model of a BehaviorTree from file or text and inst...
Definition: bt_parser.h:28
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
Definition: bt_factory.h:96
Definition: action_node.h:24