Model Railroad System
2.2.1
|
Stub Yard object type. More...
Public Member Functions | |
StubYard (name, _ctcpanel, _canvas,...) | |
Construct a StubYard object. More... | |
~StubYard () | |
Clean up all data objects and free up all resources. More... | |
getv () | |
Method to get our value (state). 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 StubYard. 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 | _StubYard_Poly |
Polygon coordinates for a stub yard. More... | |
Stub 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 StubYard on. |
... | Options:
|
CTCPanel::StubYard::StubYard | ( | name | , |
_ctcpanel | , | ||
_canvas | , | ||
... | |||
) |
CTCPanel::StubYard::~StubYard | ( | ) |
Clean up all data objects and free up all resources.
|
private |
Method to update the label option.
CTCPanel::StubYard::geti | ( | ind | ) |
Method to get the state of one of our indicators (none).
CTCPanel::StubYard::getv | ( | ) |
Method to get our value (state).
CTCPanel::StubYard::invoke | ( | ) |
Method to invoke the StubYard.
CTCPanel::StubYard::seti | ( | ind | , |
value | |||
) |
Method to set an indicator's state (none).
CTCPanel::StubYard::setv | ( | value | ) |
Method to set out value (state).
value | The new state to set. |
|
staticprivate |
Polygon coordinates for a stub yard.
|
private |
The canvas component (parent widget component).
|
private |
The CTC Panel component (parent widget).