DefaultSystemSubsystem Class Reference

#include <Subsystem.h>

Inheritance diagram for DefaultSystemSubsystem:

Subsystem

List of all members.


Detailed Description

This is a concrete Subsystem that is part of every System.

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


Constructor & Destructor Documentation

DefaultSystemSubsystem ( System &  sys  ) 


Member Function Documentation

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


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

Generated on Fri Sep 26 07:44:30 2008 for SimTKcore by  doxygen 1.5.6