#include <SimulationEventManager.h>
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. | |
| glotzmd::SimulationEventManager::SimulationEventManager | ( | ) |
Constructor.
| glotzmd::SimulationEventManager::~SimulationEventManager | ( | ) |
Destructor.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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 | ) |
Bitset indicating whether a certain event has occured.
1.5.3