Model Railroad System  2.2.1
Classes | Typedefs
Train and support classes.

The train class implements a running train and lists the stations it passes (and possibly stops at). More...

Classes

class  TTSupport::Stop
 This class implements a stop. More...
 
class  TTSupport::Train
 This class implements a train. More...
 

Typedefs

typedef vector< StopTTSupport::StopVector
 A vector of stops. More...
 
typedef map< string, Train *, less< string > > TTSupport::TrainNumberMap
 Train number map, indexed by train number (symbol). More...
 

Detailed Description

The train class implements a running train and lists the stations it passes (and possibly stops at).

Author
Robert Heller <heller@deepsoft.com>

Typedef Documentation

◆ StopVector

typedef vector<Stop> TTSupport::StopVector

A vector of stops.

◆ TrainNumberMap

typedef map<string, Train *, less<string> > TTSupport::TrainNumberMap

Train number map, indexed by train number (symbol).