#include <Event.h>


Public Member Functions | |
| Event () | |
| virtual | ~Event () |
| void | setHandled () |
| Tag the event as handled, i.e. the event needs not be propagated further. | |
| bool | isHandled () const |
| Returns true of the event has been handled. | |
Protected Attributes | |
| bool | m_handled |
When created, the status is initialized as not handled. It is then propagated along the objects until it is handled.
Definition at line 46 of file Event.h.
| sofa::core::objectmodel::Event::Event | ( | ) |
| bool sofa::core::objectmodel::Event::isHandled | ( | ) | const |
Returns true of the event has been handled.
Definition at line 63 of file Event.cpp.
References m_handled.
Referenced by sofa::simulation::PropagateEventVisitor::processNodeTopDown().
| void sofa::core::objectmodel::Event::setHandled | ( | ) |
bool sofa::core::objectmodel::Event::m_handled [protected] |
1.5.7.1