Model Railroad System
2.2.1
|
Two head signals, 3 over 2. More...
Public Member Functions | |
TwoHead3over2 (name,...) | |
Constructor: initialize the signal object. More... | |
setaspect (aspect) | |
Set signal aspect. More... | |
Static Public Member Functions | |
static | validate (object) |
Type validating code Raises an error if object is not either the empty string or a TwoHead3over2 type object. More... | |
Private Attributes | |
signalupper | |
Signal driver (SR4) More... | |
signallower | |
Signal driver (SR4) More... | |
Two head signals, 3 over 2.
Typically used for simple interlocking signals. Two SR4s, with one driving the top head: with Q1 connected to the top lamp (green), Q2 connected to the middle lamp (yellow), and Q3 connected to the bottom lamp (red). The second SR4 wired to the lower head, its Q1 connected to the top lamp (green or yellow), and Q2 to the bottom lamp (red).
Typical usage:
Definition at line 118 of file Azatrax_Signals.tcl.
azatrax_signals::TwoHead3over2::TwoHead3over2 | ( | name | , |
... | |||
) |
Constructor: initialize the signal object.
Create a low level actuator object and install it as a component.
name | Name of the signal object. |
... | Options:
|
azatrax_signals::TwoHead3over2::setaspect | ( | aspect | ) |
Set signal aspect.
aspect | New aspect color. |
|
static |
Type validating code Raises an error if object is not either the empty string or a TwoHead3over2 type object.
object | Some object. |
|
private |
Signal driver (SR4)
Definition at line 130 of file Azatrax_Signals.tcl.
|
private |
Signal driver (SR4)
Definition at line 126 of file Azatrax_Signals.tcl.