Model Railroad System  2.2.1
Classes | Typedefs
Station

Station and support classes. More...

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< StationTTSupport::StationVector
 Station Vector. More...
 

Detailed Description

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).

Author
Robert Heller <heller@deepsoft.com>

Typedef Documentation

◆ OccupiedMap

The Occupied Map type, ordered by time ranges.

Author
Robert Heller <heller@deepsoft.com>

◆ StationVector

Station Vector.

◆ StorageTrackMap

typedef map<string, StorageTrack, less<string> > TTSupport::StorageTrackMap

Storage track map.

Indexed by name.

Author
Robert Heller <heller@deepsoft.com>