Emergency 20 Dokumentation  4.2.0
em5::FreeplayEventManager Class Reference

EMERGENCY 5 freeplay event factory manager. More...

#include <FreeplayEventManager.h>

Public Types

typedef std::vector< uint32EventIdArray
typedef boost::container::flat_map< uint32, FreeplayEvent * > EventMap

Public Member Functions

 FreeplayEventManager ()
 Default constructor. More...
 ~FreeplayEventManager ()
 Destructor. More...
void clear ()
void startup ()
void shutdown ()
uint32 getNumberOfActiveEvents () const
void updateEvents (const qsf::Time &timePassed)
FreeplayEventgetEventById (uint32 eventId) const
const EventMapgetCurrentEvents () const
 Get the map of the current events. More...
FreeplayEventgetLastEvent () const
 Get the last triggered event. More...
void serialize (qsf::BinarySerializer &serializer)


class FreeplaySystem
class FreeplayEventGenerator

Detailed Description

EMERGENCY 5 freeplay event factory manager.

Member Typedef Documentation

typedef boost::container::flat_map<uint32, FreeplayEvent*> em5::FreeplayEventManager::EventMap

Constructor & Destructor Documentation

em5::FreeplayEventManager::FreeplayEventManager ( )

Default constructor.

em5::FreeplayEventManager::~FreeplayEventManager ( )


Member Function Documentation

void em5::FreeplayEventManager::clear ( )
const EventMap& em5::FreeplayEventManager::getCurrentEvents ( ) const

Get the map of the current events.

FreeplayEvent* em5::FreeplayEventManager::getEventById ( uint32  eventId) const
FreeplayEvent* em5::FreeplayEventManager::getLastEvent ( ) const

Get the last triggered event.

uint32 em5::FreeplayEventManager::getNumberOfActiveEvents ( ) const
void em5::FreeplayEventManager::serialize ( qsf::BinarySerializer serializer)
void em5::FreeplayEventManager::shutdown ( )
void em5::FreeplayEventManager::startup ( )
void em5::FreeplayEventManager::updateEvents ( const qsf::Time timePassed)

Friends And Related Function Documentation

friend class FreeplayEventGenerator
friend class FreeplaySystem

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