Model Railroad System
2.2.1
|
Classes to operate signals using SR4s. More...
Namespaces | |
azatrax_signals | |
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. This is a list of two aspect colors, the first element for the upper head and the second element for the lower head. More... | |
typedef listtype | azatrax_signals::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. More... | |
Enumerations | |
enum | azatrax_signals::signalcolors { azatrax_signals::dark, azatrax_signals::red, azatrax_signals::yellow, azatrax_signals::green } |
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 listtype azatrax_signals::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.
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.
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.