|
Model Railroad System 2.2.2
|
Through Yard object type. More...
Public Member Functions | |
| ThroughYard (name, _ctcpanel, _canvas,...) | |
| Construct a ThroughYard object. More... | |
| ~ThroughYard () | |
| Clean up all data objects and free up all resources. More... | |
| setv (value) | |
| Method to set out value (state). More... | |
| geti (ind) | |
| Method to get the state of one of our indicators (none). More... | |
| seti (ind, value) | |
| Method to set an indicator's state (none). More... | |
| invoke () | |
| Method to invoke the ThroughYard. More... | |
Private Member Functions | |
| _configureLabel (option, value) | |
| Method to update the label option. More... | |
Private Attributes | |
| ctcpanel | |
| The CTC Panel component (parent widget). More... | |
| canvas | |
| The canvas component (parent widget component). More... | |
Static Private Attributes | |
| static | _ThroughYard_Poly |
| Polygon coordinates for a through yard. More... | |
Through Yard object type.
These are on the schematic and represent a piece of track on the Schematic.
| _ctcpanel | The CTCPanel megawidget. |
| _canvas | The schematic canvas to draw the ThroughYard on. |
| ... | Options:
|
| CTCPanel::ThroughYard::ThroughYard | ( | name | , |
| _ctcpanel | , | ||
| _canvas | , | ||
| ... | |||
| ) |
Construct a ThroughYard object.
| _ctcpanel | The CTCPanel megawidget. |
| _canvas | The schematic canvas to draw the ThroughYard on. |
| ... | Option list. |
| CTCPanel::ThroughYard::~ThroughYard | ( | ) |
Clean up all data objects and free up all resources.
|
private |
Method to update the label option.
| CTCPanel::ThroughYard::geti | ( | ind | ) |
Method to get the state of one of our indicators (none).
| CTCPanel::ThroughYard::invoke | ( | ) |
Method to invoke the ThroughYard.
| CTCPanel::ThroughYard::seti | ( | ind | , |
| value | |||
| ) |
Method to set an indicator's state (none).
| CTCPanel::ThroughYard::setv | ( | value | ) |
Method to set out value (state).
| value | The new state to set. |
|
staticprivate |
Polygon coordinates for a through yard.
|
private |
The canvas component (parent widget component).
|
private |
The CTC Panel component (parent widget).