#include <Subsystem.h>
It provides a variety of services for the System, such as maintaining lists of event handlers and reporters, and acting as a source of globally unique event IDs. To obtain the default subsystem for a System, call getDefaultSubsystem() or updDefaultSubsystem() on it.
Public Member Functions | |
DefaultSystemSubsystem (System &sys) | |
void | addEventHandler (ScheduledEventHandler *handler) |
void | addEventHandler (TriggeredEventHandler *handler) |
void | addEventReporter (ScheduledEventReporter *handler) const |
void | addEventReporter (TriggeredEventReporter *handler) const |
EventId | createEventId (SubsystemIndex subsys, const State &state) const |
void | findSubsystemEventIds (SubsystemIndex subsys, const State &state, const std::vector< EventId > &allEvents, std::vector< EventId > &eventsForSubsystem) const |
DefaultSystemSubsystem | ( | System & | sys | ) |
void addEventHandler | ( | ScheduledEventHandler * | handler | ) |
void addEventHandler | ( | TriggeredEventHandler * | handler | ) |
void addEventReporter | ( | ScheduledEventReporter * | handler | ) | const |
void addEventReporter | ( | TriggeredEventReporter * | handler | ) | const |
EventId createEventId | ( | SubsystemIndex | subsys, | |
const State & | state | |||
) | const |
void findSubsystemEventIds | ( | SubsystemIndex | subsys, | |
const State & | state, | |||
const std::vector< EventId > & | allEvents, | |||
std::vector< EventId > & | eventsForSubsystem | |||
) | const |