SOFA API  82c4ea2a
Open source framework for multi-physics simuation
sofa::simulation::AnimateEndEvent Class Reference

#include <AnimateEndEvent.h>

Inheritance diagram for sofa::simulation::AnimateEndEvent:

Detailed Description

Event fired by Simulation::animate() after computing a new animation step.

Author
Jeremie Allard

Protected Attributes

SReal dt
 
- Protected Attributes inherited from sofa::core::objectmodel::Event
bool m_handled
 

Public Member Functions

 AnimateEndEvent (SReal dt)
 
 ~AnimateEndEvent () override
 
SReal getDt () const
 
- Public Member Functions inherited from sofa::core::objectmodel::Event
 Event ()
 
virtual ~Event ()
 
void setHandled ()
 Tag the event as handled, i.e. the event needs not be propagated further. More...
 
bool isHandled () const
 Returns true of the event has been handled. More...
 
virtual const chargetClassName () const
 
virtual size_t getEventTypeIndex () const =0
 

Static Public Member Functions

static const charGetClassName ()
 
- Static Public Member Functions inherited from sofa::core::objectmodel::Event
static const charGetClassName ()
 
static size_t getEventTypeCount ()
 

Additional Inherited Members

- Static Protected Attributes inherited from sofa::core::objectmodel::Event
static size_t s_lastEventTypeIndex = 0
 storing the last given id More...
 

Attribute details

◆ dt

SReal sofa::simulation::AnimateEndEvent::dt
protected

Constructor details

◆ AnimateEndEvent()

sofa::simulation::AnimateEndEvent::AnimateEndEvent ( SReal  dt)

◆ ~AnimateEndEvent()

sofa::simulation::AnimateEndEvent::~AnimateEndEvent ( )
override

Function details

◆ GetClassName()

static const char* sofa::simulation::AnimateEndEvent::GetClassName ( )
inlinestatic

◆ getDt()

SReal sofa::simulation::AnimateEndEvent::getDt ( ) const
inline