Model Railroad System
2.2.1
|
Classes | |
class | TTSupport::Occupied |
This class records a train sitting on a storage track during a specified time frame. More... | |
class | TTSupport::TimeRange |
The TimeRange class implements a range of times. More... | |
class | TTSupport::StorageTrack |
The StorageTrack class implements a storage track. More... | |
class | TTSupport::Station |
The Station class implements a station. More... | |
Typedefs | |
typedef map< TimeRange, Occupied, less< TimeRange > > | TTSupport::OccupiedMap |
The Occupied Map type, ordered by time ranges. More... | |
typedef map< string, StorageTrack, less< string > > | TTSupport::StorageTrackMap |
Storage track map. More... | |
typedef vector< Station > | TTSupport::StationVector |
Station Vector. More... | |
Station and support classes.
This class and its support classes implement information about stations and station stops. This includes where a station is along the line (its scale mile), what storage tracks it has, and what trains are being stored on the storage tracks during what times. Stations are places where trains stop or just important junctions or mile post locations that trains pass by – they might only be used for time keeping checks. Note: the classification tracks at a yard are not storage tracks. Nor are RIP or service or other special purpose tracks. Storage tracks are only for storing whole, complete trains (they might be without engines).
typedef map<TimeRange, Occupied, less<TimeRange> > TTSupport::OccupiedMap |
The Occupied Map type, ordered by time ranges.
typedef vector<Station> TTSupport::StationVector |
Station Vector.
typedef map<string, StorageTrack, less<string> > TTSupport::StorageTrackMap |
Storage track map.
Indexed by name.