Public Member Functions | Public Attributes | Private Member Functions | 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, const std::string &prefix_path, Tree &output_tree)
 
void getPortsRecursively (const XMLElement *element, std::vector< std::string > &output_ports)
 
void loadDocImpl (XMLDocument *doc, bool add_includes)
 
 PImpl (const BehaviorTreeFactory &fact)
 
void recursivelyCreateSubtree (const std::string &tree_ID, const std::string &tree_path, const std::string &prefix_path, Tree &output_tree, Blackboard::Ptr blackboard, const TreeNode::Ptr &root_node)
 

Public Attributes

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

Private Member Functions

void loadSubtreeModel (const XMLElement *xml_root)
 

Detailed Description

Definition at line 88 of file xml_parsing.cpp.

Constructor & Destructor Documentation

◆ PImpl()

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

Definition at line 115 of file xml_parsing.cpp.

Member Function Documentation

◆ clear()

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

Definition at line 119 of file xml_parsing.cpp.

◆ createNodeFromXML()

TreeNode::Ptr BT::XMLParser::PImpl::createNodeFromXML ( const XMLElement element,
const Blackboard::Ptr blackboard,
const TreeNode::Ptr node_parent,
const std::string &  prefix_path,
Tree output_tree 
)

Definition at line 594 of file xml_parsing.cpp.

◆ getPortsRecursively()

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

Definition at line 1004 of file xml_parsing.cpp.

◆ loadDocImpl()

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

Definition at line 228 of file xml_parsing.cpp.

◆ loadSubtreeModel()

void BT::XMLParser::PImpl::loadSubtreeModel ( const XMLElement xml_root)
private

Definition at line 184 of file xml_parsing.cpp.

◆ recursivelyCreateSubtree()

void BT::XMLParser::PImpl::recursivelyCreateSubtree ( const std::string &  tree_ID,
const std::string &  tree_path,
const std::string &  prefix_path,
Tree output_tree,
Blackboard::Ptr  blackboard,
const TreeNode::Ptr root_node 
)

Definition at line 859 of file xml_parsing.cpp.

Member Data Documentation

◆ current_path

std::filesystem::path BT::XMLParser::PImpl::current_path

Definition at line 110 of file xml_parsing.cpp.

◆ factory

const BehaviorTreeFactory& BT::XMLParser::PImpl::factory

Definition at line 108 of file xml_parsing.cpp.

◆ opened_documents

std::list<std::unique_ptr<XMLDocument> > BT::XMLParser::PImpl::opened_documents

Definition at line 105 of file xml_parsing.cpp.

◆ subtree_models

std::map<std::string, SubtreeModel> BT::XMLParser::PImpl::subtree_models

Definition at line 111 of file xml_parsing.cpp.

◆ suffix_count

int BT::XMLParser::PImpl::suffix_count

Definition at line 113 of file xml_parsing.cpp.

◆ tree_roots

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

Definition at line 106 of file xml_parsing.cpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09