Public Member Functions | Public Attributes | List of all members
BT::XMLParser::Pimpl Struct Reference

Public Member Functions

void clear ()
 
TreeNode::Ptr createNodeFromXML (const XMLElement *element, const Blackboard::Ptr &blackboard, const TreeNode::Ptr &node_parent)
 
void getPortsRecursively (const XMLElement *element, std::vector< std::string > &output_ports)
 
void loadDocImpl (BT_TinyXML2::XMLDocument *doc)
 
 Pimpl (const BehaviorTreeFactory &fact)
 
void recursivelyCreateTree (const std::string &tree_ID, Tree &output_tree, Blackboard::Ptr blackboard, const TreeNode::Ptr &root_parent)
 

Public Attributes

filesystem::path current_path
 
const BehaviorTreeFactoryfactory
 
std::list< std::unique_ptr< BT_TinyXML2::XMLDocument > > opened_documents
 
int suffix_count
 
std::unordered_map< std::string, const XMLElement * > tree_roots
 

Detailed Description

Definition at line 45 of file xml_parsing.cpp.

Constructor & Destructor Documentation

BT::XMLParser::Pimpl::Pimpl ( const BehaviorTreeFactory fact)
inlineexplicit

Definition at line 69 of file xml_parsing.cpp.

Member Function Documentation

void BT::XMLParser::Pimpl::clear ( )
inline

Definition at line 75 of file xml_parsing.cpp.

TreeNode::Ptr BT::XMLParser::Pimpl::createNodeFromXML ( const XMLElement element,
const Blackboard::Ptr blackboard,
const TreeNode::Ptr node_parent 
)

Definition at line 453 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::getPortsRecursively ( const XMLElement element,
std::vector< std::string > &  output_ports 
)

Definition at line 737 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::loadDocImpl ( BT_TinyXML2::XMLDocument doc)

Definition at line 122 of file xml_parsing.cpp.

void BT::XMLParser::Pimpl::recursivelyCreateTree ( const std::string &  tree_ID,
Tree output_tree,
Blackboard::Ptr  blackboard,
const TreeNode::Ptr root_parent 
)

Definition at line 617 of file xml_parsing.cpp.

Member Data Documentation

filesystem::path BT::XMLParser::Pimpl::current_path

Definition at line 65 of file xml_parsing.cpp.

const BehaviorTreeFactory& BT::XMLParser::Pimpl::factory

Definition at line 63 of file xml_parsing.cpp.

std::list<std::unique_ptr<BT_TinyXML2::XMLDocument> > BT::XMLParser::Pimpl::opened_documents

Definition at line 60 of file xml_parsing.cpp.

int BT::XMLParser::Pimpl::suffix_count

Definition at line 67 of file xml_parsing.cpp.

std::unordered_map<std::string,const XMLElement*> BT::XMLParser::Pimpl::tree_roots

Definition at line 61 of file xml_parsing.cpp.


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


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