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) |
XMLParser (const BehaviorTreeFactory &factory) | |
XMLParser (const XMLParser &other) | |
~XMLParser () | |
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.
Definition at line 87 of file xml_parsing.cpp.
BT::XMLParser::XMLParser | ( | const XMLParser & | other | ) |
Tree BT::XMLParser::instantiateTree | ( | const Blackboard::Ptr & | root_blackboard | ) | [override, virtual] |
Implements BT::Parser.
Definition at line 403 of file xml_parsing.cpp.
void BT::XMLParser::loadFromFile | ( | const std::string & | filename | ) | [override, virtual] |
Implements BT::Parser.
Definition at line 92 of file xml_parsing.cpp.
void BT::XMLParser::loadFromText | ( | const std::string & | xml_text | ) | [override, virtual] |
Implements BT::Parser.
Definition at line 105 of file xml_parsing.cpp.
Pimpl* BT::XMLParser::_p [private] |
Definition at line 32 of file xml_parsing.h.