Single head signals, 3 color.
More...
|
static | validate (object) |
| Type validating code Raises an error if object is not either the empty string or a OneHead3Color type object. More...
|
|
Single head signals, 3 color.
Typically used for simple block signals. One SR4, with Q1 connected to the top lamp (green), Q2 connected to the middle lamp (yellow), and Q3 connected to the bottom lamp (red).
Typical usage:
Single head signals, 3 color.
- Author
- Robert Heller <heller@deepsoft.com>
Definition at line 57 of file Azatrax_Signals.tcl.
◆ OneHead3Color()
azatrax_signals::OneHead3Color::OneHead3Color |
( |
name |
, |
|
|
|
... |
|
) |
| |
Constructor: initialize the signal object.
Create a low level actuator object and install it as a component.
- Parameters
-
name | Name of the signal object. |
... | Options:
- -signalsn Serial number of the SR4 that controls this signal.
- -signalname Name of the signal on the track work schematic.
|
◆ setaspect()
azatrax_signals::OneHead3Color::setaspect |
( |
aspect |
| ) |
|
Set signal aspect.
- Parameters
-
◆ validate()
static azatrax_signals::OneHead3Color::validate |
( |
object |
| ) |
|
|
static |
Type validating code Raises an error if object is not either the empty string or a OneHead3Color type object.
- Parameters
-
◆ signal
azatrax_signals::OneHead3Color::signal |
|
private |