Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Protected Member Functions | List of all members
om::engine::base::EventManagerBase Class Referenceabstract

The base class for objects that manage events for an engine context. More...

#include <omEngineEventManagerBase.h>

Inheritance diagram for om::engine::base::EventManagerBase:
om::engine::base::EventManager< ValueType >

Public Member Functions

virtual ~EventManagerBase ()
 Destroy this event manager and release all internal resources. More...
 
virtual void update (const Time &currentTime)=0
 Update the events that are buffered in the event manager for the specified time stamp. More...
 
const EventValueTypegetValueType () const
 Return an object indicating the type of the value for an event. More...
 

Protected Member Functions

 EventManagerBase (const EventValueType *newValueType)
 Create a new event manager base for the specified event value type. More...
 

Detailed Description

The base class for objects that manage events for an engine context.

Constructor & Destructor Documentation

virtual om::engine::base::EventManagerBase::~EventManagerBase ( )
inlinevirtual

Destroy this event manager and release all internal resources.

om::engine::base::EventManagerBase::EventManagerBase ( const EventValueType newValueType)
inlineprotected

Create a new event manager base for the specified event value type.

Member Function Documentation

virtual void om::engine::base::EventManagerBase::update ( const Time currentTime)
pure virtual

Update the events that are buffered in the event manager for the specified time stamp.

This method prepares any events that are still valid from the last time step so that they can be processed for the next time step. This method should be called at the beginning of every time step by the engine context.

Implemented in om::engine::base::EventManager< ValueType >.

const EventValueType& om::engine::base::EventManagerBase::getValueType ( ) const
inline

Return an object indicating the type of the value for an event.


The documentation for this class was generated from the following file: