SOFA API  651e7a3a
Open source framework for multi-physics simuation
sofa::simulation::MutationListener Class Reference

#include <MutationListener.h>

Generic API to handle mutations of the graph. More...

Inheritance diagram for sofa::simulation::MutationListener:

Detailed Description

Generic API to handle mutations of the graph.

Public Member Functions

virtual ~MutationListener ()
 
virtual void sleepChanged (Node *node)
 
virtual void onBeginAddChild (Node *parent, Node *child)
 
virtual void onBeginRemoveChild (Node *parent, Node *child)
 
virtual void onBeginAddObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onBeginRemoveObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onBeginAddSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 
virtual void onBeginRemoveSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 
virtual void onEndAddChild (Node *parent, Node *child)
 
virtual void onEndRemoveChild (Node *parent, Node *child)
 
virtual void onEndAddObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onEndRemoveObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onEndAddSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 
virtual void onEndRemoveSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 

Constructor details

◆ ~MutationListener()

sofa::simulation::MutationListener::~MutationListener ( )
virtual

Function details

◆ onBeginAddChild()

void sofa::simulation::MutationListener::onBeginAddChild ( Node parent,
Node child 
)
virtual

◆ onBeginAddObject()

void sofa::simulation::MutationListener::onBeginAddObject ( Node parent,
core::objectmodel::BaseObject object 
)
virtual

◆ onBeginAddSlave()

void sofa::simulation::MutationListener::onBeginAddSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
virtual

◆ onBeginRemoveChild()

void sofa::simulation::MutationListener::onBeginRemoveChild ( Node parent,
Node child 
)
virtual

◆ onBeginRemoveObject()

void sofa::simulation::MutationListener::onBeginRemoveObject ( Node parent,
core::objectmodel::BaseObject object 
)
virtual

◆ onBeginRemoveSlave()

void sofa::simulation::MutationListener::onBeginRemoveSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
virtual

◆ onEndAddChild()

void sofa::simulation::MutationListener::onEndAddChild ( Node parent,
Node child 
)
virtual

◆ onEndAddObject()

void sofa::simulation::MutationListener::onEndAddObject ( Node parent,
core::objectmodel::BaseObject object 
)
virtual

◆ onEndAddSlave()

void sofa::simulation::MutationListener::onEndAddSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
virtual

◆ onEndRemoveChild()

void sofa::simulation::MutationListener::onEndRemoveChild ( Node parent,
Node child 
)
virtual

◆ onEndRemoveObject()

void sofa::simulation::MutationListener::onEndRemoveObject ( Node parent,
core::objectmodel::BaseObject object 
)
virtual

◆ onEndRemoveSlave()

void sofa::simulation::MutationListener::onEndRemoveSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
virtual

◆ sleepChanged()

void sofa::simulation::MutationListener::sleepChanged ( Node node)
virtual