Classes | Public Member Functions | Private Attributes | List of all members
BT::XMLParser Class Reference

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>

Inheritance diagram for BT::XMLParser:
Inheritance graph
[legend]

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
 
XMLParseroperator= (const XMLParser &other)=delete
 
 XMLParser (const BehaviorTreeFactory &factory)
 
 XMLParser (const XMLParser &other)=delete
 
 ~XMLParser ()
 
- Public Member Functions inherited from BT::Parser
Parseroperator= (const Parser &other)=delete
 
 Parser ()=default
 
 Parser (const Parser &other)=delete
 
 ~Parser ()=default
 

Private Attributes

Pimpl_p
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

BT::XMLParser::XMLParser ( const XMLParser other)
delete

Member Function Documentation

Tree BT::XMLParser::instantiateTree ( const Blackboard::Ptr root_blackboard)
overridevirtual

Implements BT::Parser.

Definition at line 403 of file xml_parsing.cpp.

void BT::XMLParser::loadFromFile ( const std::string &  filename)
overridevirtual

Implements BT::Parser.

Definition at line 92 of file xml_parsing.cpp.

void BT::XMLParser::loadFromText ( const std::string &  xml_text)
overridevirtual

Implements BT::Parser.

Definition at line 105 of file xml_parsing.cpp.

XMLParser& BT::XMLParser::operator= ( const XMLParser other)
delete

Member Data Documentation

Pimpl* BT::XMLParser::_p
private

Definition at line 32 of file xml_parsing.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:06