glotzmd::SimulationEventManager Class Reference

#include <SimulationEventManager.h>

List of all members.

Public Member Functions

 SimulationEventManager ()
 Constructor.
 ~SimulationEventManager ()
 Destructor.
bool HasEvents ()
 Indicates whether the event manager has any events.
bool HasAny (SimulationEvent &)
 Indicates whether any of the requested events occured.
bool HasAll (SimulationEvent &)
 Indicates whether all of the requested events occured.
bool Has (SimulationEvent &)
 Indicates whether all of the requested events occured.
void AddEvent (SimulationEvent &)
 Add an event to the list.
void RemoveEvent (SimulationEvent &)
 Remove an event from the list.
void ClearEvents ()
 Clear all events.
void PrintEvents (std::ostream &)

Protected Attributes

SimulationEvent mEventBits
 Bitset indicating whether a certain event has occured.


Constructor & Destructor Documentation

glotzmd::SimulationEventManager::SimulationEventManager (  ) 

Constructor.

glotzmd::SimulationEventManager::~SimulationEventManager (  ) 

Destructor.


Member Function Documentation

bool glotzmd::SimulationEventManager::HasEvents (  ) 

Indicates whether the event manager has any events.

return a bool indicating whether or not the event manager has registered any events

bool glotzmd::SimulationEventManager::HasAny ( SimulationEvent event  ) 

Indicates whether any of the requested events occured.

Parameters:
event is a bitset of events to be compared to the bitset of events that have occured

bool glotzmd::SimulationEventManager::HasAll ( SimulationEvent event  ) 

Indicates whether all of the requested events occured.

Parameters:
event is a bitset of events to be compared to the bitset of events that have occured

bool glotzmd::SimulationEventManager::Has ( SimulationEvent event  ) 

Indicates whether all of the requested events occured.

Parameters:
event is a bitset of events to be compared to the bitset of events that have occured

void glotzmd::SimulationEventManager::AddEvent ( SimulationEvent event  ) 

Add an event to the list.

Parameters:
event is a bitset of events to be compared to the bitset of events that have occured

void glotzmd::SimulationEventManager::RemoveEvent ( SimulationEvent event  ) 

Remove an event from the list.

Parameters:
event is a bitset of events to be compared to the bitset of events that have occured

void glotzmd::SimulationEventManager::ClearEvents (  ) 

Clear all events.

void glotzmd::SimulationEventManager::PrintEvents ( std::ostream &  os  ) 


Member Data Documentation

SimulationEvent glotzmd::SimulationEventManager::mEventBits [protected]

Bitset indicating whether a certain event has occured.


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:54:30 2009 by  doxygen 1.5.3