#include <DAGSimulation.h>
Main controller of the scene. Defines how the scene is inited at the beginning, and updated at each time step. Derives from BaseObject in order to model the parameters as Datas, which makes their edition easy in the GUI.
Public Member Functions | |
DAGSimulation () | |
~DAGSimulation () override | |
virtual NodeSPtr | createNewGraph (const std::string &name) override |
create a new graph(or tree) and return its root node. More... | |
virtual NodeSPtr | createNewNode (const std::string &name) override |
creates and returns a new node. More... | |
bool | isDirectedAcyclicGraph () override |
Can the simulation handle a directed acyclic graph? More... | |
![]() | |
Simulation () | |
virtual | ~Simulation () |
Simulation (const Simulation &n)=delete | |
Simulation & | operator= (const Simulation &n)=delete |
Additional Inherited Members | |
![]() | |
static Simulation::SPtr | theSimulation { nullptr } |
sofa::simulation::graph::DAGSimulation::DAGSimulation | ( | ) |
|
override |
|
overridevirtual |
create a new graph(or tree) and return its root node.
Implements sofa::simulation::Simulation.
|
overridevirtual |
creates and returns a new node.
Implements sofa::simulation::Simulation.
|
inlineoverridevirtual |
Can the simulation handle a directed acyclic graph?
Implements sofa::simulation::Simulation.