SOFA API  014b24ea
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

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

Function details

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