Model Railroad System
2.2.2
|
CTC Panel code, Version 2. More...
Classes | |
class | CTCPanel |
Main CTC Panel megawidget. More... | |
class | SWPlate |
Switch plate object type. More... | |
class | SIGPlate |
Signal plate object type. More... | |
class | CodeButton |
Code button object type. More... | |
class | Toggle |
Toggle switch object type. More... | |
class | Lamp |
Lamp object type. More... | |
class | PushButton |
Push Button object type. More... | |
class | CTCLabel |
CTC Label object type. More... | |
class | SchLabel |
Schematic Label object type. More... | |
class | Switch |
Switch (turnout) object type. More... | |
class | Signal |
Signal object type. More... | |
class | StraightBlock |
Straight Block object type. More... | |
class | EndBumper |
End Bumper object type. More... | |
class | CurvedBlock |
Curved Block object type. More... | |
class | ScissorCrossover |
Scissor Crossover (turnout) object type. More... | |
class | Crossover |
Crossover (turnout) object type. More... | |
class | Crossing |
Crossing object type. More... | |
class | SingleSlip |
Single Slip (turnout) object type. More... | |
class | DoubleSlip |
Double Slip (turnout) object type. More... | |
class | ThreeWaySW |
Three Way Switch (turnout) object type. More... | |
class | HiddenBlock |
Hidden Block object type. More... | |
class | StubYard |
Stub Yard object type. More... | |
class | ThroughYard |
Through Yard object type. More... | |
Functions | |
leverMethods (hasCenter) | |
Macro to add lever methods to object types. More... | |
verifyDoubleMethod () | |
Macro to add a verify double method to a snit type. More... | |
verifyBoolMethod () | |
Macro to add a verify boolean method to a snit type. More... | |
verifyColorMethod () | |
Macro to add a verify color method to a snit type. More... | |
verifyOrientation8Method () | |
Macro to add a verify 8-way orientation method to a snit type. More... | |
verifyPositionMethod () | |
Macro to add a verify position method to a snit type. More... | |
standardMethods () | |
Macro to add a standard set of methods to an object type. More... | |
trackworkmethods () | |
Macro to include trackwork drawing methods. More... | |
CTC Panel code, Version 2.
This version of the CTC Panel code uses tile and snit to implement CTC panels and the gadgets that populate CTC panels. The CTC Panel code is contained in this namespace.
CTCPanel 2.0
CTCPanel::leverMethods | ( | hasCenter | ) |
Macro to add lever methods to object types.
hasCenter | Flag to indicate if there is a center position for this object's lever. |
CTCPanel::standardMethods | ( | ) |
Macro to add a standard set of methods to an object type.
Referenced by CTCPanel::StubYard::invoke().
CTCPanel::trackworkmethods | ( | ) |
Macro to include trackwork drawing methods.
CTCPanel::verifyBoolMethod | ( | ) |
Macro to add a verify boolean method to a snit type.
CTCPanel::verifyColorMethod | ( | ) |
Macro to add a verify color method to a snit type.
CTCPanel::verifyDoubleMethod | ( | ) |
Macro to add a verify double method to a snit type.
CTCPanel::verifyOrientation8Method | ( | ) |
Macro to add a verify 8-way orientation method to a snit type.
CTCPanel::verifyPositionMethod | ( | ) |
Macro to add a verify position method to a snit type.