Public Member Functions | List of all members
BT::Parser Class Referenceabstract

The BehaviorTreeParser 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 <bt_parser.h>

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

Public Member Functions

virtual Tree instantiateTree (const Blackboard::Ptr &root_blackboard)=0
 
virtual void loadFromFile (const std::string &filename)=0
 
virtual void loadFromText (const std::string &xml_text)=0
 
Parseroperator= (const Parser &other)=delete
 
 Parser ()=default
 
 Parser (const Parser &other)=delete
 
virtual ~Parser ()=default
 

Detailed Description

The BehaviorTreeParser 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 bt_parser.h.

Constructor & Destructor Documentation

BT::Parser::Parser ( )
default
virtual BT::Parser::~Parser ( )
virtualdefault
BT::Parser::Parser ( const Parser other)
delete

Member Function Documentation

virtual Tree BT::Parser::instantiateTree ( const Blackboard::Ptr root_blackboard)
pure virtual

Implemented in BT::XMLParser.

virtual void BT::Parser::loadFromFile ( const std::string &  filename)
pure virtual

Implemented in BT::XMLParser.

virtual void BT::Parser::loadFromText ( const std::string &  xml_text)
pure virtual

Implemented in BT::XMLParser.

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

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


behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:26