dart
|
Classes | |
struct | type |
Public Types | |
using | NodeMap = std::map< std::type_index, std::vector< Node * > > |
using | NodeDestructorSet = std::unordered_set< NodeDestructorPtr > |
using | NodeNameMgrMap = std::map< std::type_index, common::NameManager< Node * > > |
using | SpecializedTreeNodes = std::map< std::type_index, std::vector< NodeMap::iterator > * > |
Public Member Functions | |
BasicNodeManagerForBodyNode ()=default | |
Default constructor. | |
BasicNodeManagerForBodyNode (const BasicNodeManagerForBodyNode &)=delete | |
Delete copy constructors and assignment operators. | |
BasicNodeManagerForBodyNode & | operator= (const BasicNodeManagerForBodyNode &)=delete |
template<class NodeType > | |
std::size_t | getNumNodes () const |
Get the number of Nodes corresponding to the specified type. | |
template<class NodeType > | |
NodeType * | getNode (std::size_t index) |
Get the Node of the specified type and the specified index. | |
template<class NodeType > | |
const NodeType * | getNode (std::size_t index) const |
Get the Node of the specified type and the specified index. | |
template<class NodeType > | |
DART_DECLARE_CLASS_WITH_VIRTUAL_BASE_END std::size_t | getNumNodes () const |
Static Public Member Functions | |
template<class NodeType > | |
static constexpr bool | isSpecializedForNode () |
Check if this Manager is specialized for a specific type of Node. | |
Protected Attributes | |
NodeMap | mNodeMap |
Map that retrieves the Nodes of a specified type. | |
NodeDestructorSet | mNodeDestructors |
A set for storing the Node destructors. | |