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
 
 ~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
BT::Parser::~Parser ( )
default
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:


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