Classes | Public Member Functions | Private Attributes
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]

List of all members.

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)
 XMLParser (const BehaviorTreeFactory &factory)
 XMLParser (const XMLParser &other)
 ~XMLParser ()

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

Definition at line 82 of file xml_parsing.cpp.

Definition at line 87 of file xml_parsing.cpp.

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

Member Function Documentation

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.

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

Member Data Documentation

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 20:17:15