SOFA API  4006d812
Open source framework for multi-physics simuation
sofa::simulation::ComponentGroupMappingGraphNode Class Reference

#include <ComponentGroupMappingGraphNode.h>

A node wrapper used for representing groups of components or abstract groupings. More...

Inheritance diagram for sofa::simulation::ComponentGroupMappingGraphNode:

Detailed Description

A node wrapper used for representing groups of components or abstract groupings.

Public Member Functions

void accept (MappingGraphVisitor &visitor) const override
 Accepts a visitor, allowing the graph to be processed by an external algorithm. More...
 
std::string getName () const override
 Returns the fixed name "group" for this type of node. More...
 
NodeType getType () const override
 
- Public Member Functions inherited from sofa::simulation::BaseMappingGraphNode
virtual ~BaseMappingGraphNode ()=default
 
bool isMapped () const
 
const sofa::type::vector< SPtr > & getParents () const
 
const sofa::type::vector< SPtr > & getChildren () const
 

Function details

◆ accept()

void sofa::simulation::ComponentGroupMappingGraphNode::accept ( MappingGraphVisitor visitor) const
inlineoverridevirtual

Accepts a visitor, allowing the graph to be processed by an external algorithm.

Parameters
visitorThe concrete visitor implementation.

Implements sofa::simulation::BaseMappingGraphNode.

◆ getName()

std::string sofa::simulation::ComponentGroupMappingGraphNode::getName ( ) const
inlineoverridevirtual

Returns the fixed name "group" for this type of node.

Returns
The string "group".

Reimplemented from sofa::simulation::BaseMappingGraphNode.

◆ getType()

NodeType sofa::simulation::ComponentGroupMappingGraphNode::getType ( ) const
inlineoverridevirtual