SOFA plugin: SceneCreator  master
Open source framework for multi-physics simuation
sofa::modeling::addNew< T > Class Template Reference

#include <SceneCreator.h>

Helper class to create a component and add it as a child of a given Node. More...

Inheritance diagram for sofa::modeling::addNew< T >:

Detailed Description

template<class T>
class sofa::modeling::addNew< T >

Helper class to create a component and add it as a child of a given Node.

Public Member Functions

 addNew (simulation::Node::SPtr parent, const char *name="")
 
- Public Member Functions inherited from sofa::core::objectmodel::New< T >
 New (Args &&... args)
 

Constructor details

◆ addNew()

template<class T >
sofa::modeling::addNew< T >::addNew ( simulation::Node::SPtr  parent,
const char *  name = "" 
)
inline