The XMLParser 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 <xml_parsing.h>
Classes | |
struct | Pimpl |
Public Member Functions | |
Tree | instantiateTree (const Blackboard::Ptr &root_blackboard) override |
void | loadFromFile (const std::string &filename) override |
void | loadFromText (const std::string &xml_text) override |
XMLParser & | operator= (const XMLParser &other)=delete |
XMLParser (const BehaviorTreeFactory &factory) | |
XMLParser (const XMLParser &other)=delete | |
~XMLParser () | |
Public Member Functions inherited from BT::Parser | |
Parser & | operator= (const Parser &other)=delete |
Parser ()=default | |
Parser (const Parser &other)=delete | |
~Parser ()=default | |
Private Attributes | |
Pimpl * | _p |
The XMLParser is a class used to read the model of a BehaviorTree from file or text and instantiate the corresponding tree using the BehaviorTreeFactory.
Definition at line 14 of file xml_parsing.h.
BT::XMLParser::XMLParser | ( | const BehaviorTreeFactory & | factory | ) |
Definition at line 82 of file xml_parsing.cpp.
BT::XMLParser::~XMLParser | ( | ) |
Definition at line 87 of file xml_parsing.cpp.
|
delete |
|
overridevirtual |
Implements BT::Parser.
Definition at line 403 of file xml_parsing.cpp.
|
overridevirtual |
Implements BT::Parser.
Definition at line 92 of file xml_parsing.cpp.
|
overridevirtual |
Implements BT::Parser.
Definition at line 105 of file xml_parsing.cpp.
|
private |
Definition at line 32 of file xml_parsing.h.