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 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 40 of file xml_parsing.cpp.

Constructor & Destructor Documentation

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

Definition at line 62 of file xml_parsing.cpp.

Member Function Documentation

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

Definition at line 68 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 441 of file xml_parsing.cpp.

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

Definition at line 115 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 602 of file xml_parsing.cpp.

Member Data Documentation

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

Definition at line 58 of file xml_parsing.cpp.

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

Definition at line 56 of file xml_parsing.cpp.

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

Definition at line 53 of file xml_parsing.cpp.

int BT::XMLParser::Pimpl::suffix_count

Definition at line 60 of file xml_parsing.cpp.

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

Definition at line 54 of file xml_parsing.cpp.


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


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