Model Railroad System  2.2.2
Classes | Typedefs | Enumerations
Using SR4s to Operate Signals

Classes to operate signals using SR4s. More...

Classes

class  azatrax_signals::OneHead3Color
 Single head signals, 3 color. More...
 
class  azatrax_signals::TwoHead3over2
 Two head signals, 3 over 2. More...
 
class  azatrax_signals::TwoHead2over2
 Two head signals, 2 over 2. More...
 
class  azatrax_signals::ThreeHead3over2over2
 Three head signals, 3 over 2 over 2. More...
 

Typedefs

typedef listtype azatrax_signals::twoaspectlist
 Aspects for two headed signals. More...
 
typedef listtype azatrax_signals::threeaspectlist
 Aspects for three headed signals. More...
 

Enumerations

enum  azatrax_signals::signalcolors { azatrax_signals::dark , azatrax_signals::red , azatrax_signals::yellow , azatrax_signals::green }
 Basic signal colors. More...
 

Detailed Description

Classes to operate signals using SR4s.

This file contains code to operate various sorts of signals using Azatrax SR4s.

Typical wiring for LED common anode signals:

See the specific classes for how they expect the signals to be wired.

Typedef Documentation

◆ threeaspectlist

Aspects for three headed signals.

This is a list of three aspect colors, the first element for the upper head and the second element for the middle head, and finally the third element for the bottom head.

Definition at line 219 of file Azatrax_Signals.tcl.

◆ twoaspectlist

Aspects for two headed signals.

This is a list of two aspect colors, the first element for the upper head and the second element for the lower head.

Definition at line 97 of file Azatrax_Signals.tcl.

Enumeration Type Documentation

◆ signalcolors

Basic signal colors.

The four values are dark, red, yellow, and green.

Enumerator
dark 

Dark, all lamps off, implies red.

red 

Red, generally stop or stop and proceed.

yellow 

Yellow, generally approach.

green 

Green, generally clear.

Definition at line 23 of file Azatrax_Signals.tcl.