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 (tinyxml2::XMLDocument *doc, bool add_includes)
 
 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< tinyxml2::XMLDocument > > opened_documents
 
int suffix_count
 
std::map< std::string, const XMLElement * > tree_roots
 

Detailed Description

Definition at line 49 of file xml_parsing.cpp.

Constructor & Destructor Documentation

◆ Pimpl()

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

Definition at line 73 of file xml_parsing.cpp.

Member Function Documentation

◆ clear()

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

Definition at line 77 of file xml_parsing.cpp.

◆ createNodeFromXML()

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

Definition at line 485 of file xml_parsing.cpp.

◆ getPortsRecursively()

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

Definition at line 768 of file xml_parsing.cpp.

◆ loadDocImpl()

void BT::XMLParser::Pimpl::loadDocImpl ( tinyxml2::XMLDocument doc,
bool  add_includes 
)

Definition at line 131 of file xml_parsing.cpp.

◆ recursivelyCreateTree()

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

Definition at line 656 of file xml_parsing.cpp.

Member Data Documentation

◆ current_path

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

Definition at line 69 of file xml_parsing.cpp.

◆ factory

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

Definition at line 67 of file xml_parsing.cpp.

◆ opened_documents

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

Definition at line 64 of file xml_parsing.cpp.

◆ suffix_count

int BT::XMLParser::Pimpl::suffix_count

Definition at line 71 of file xml_parsing.cpp.

◆ tree_roots

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

Definition at line 65 of file xml_parsing.cpp.


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


behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:15