Route Class |
Namespace: RRAutoLib.CTC
<SerializableAttribute> Public NotInheritable Class Route Inherits CtcObjectBase Implements ISupportsScriptEvents
The Route type exposes the following members.
Name | Description | |
---|---|---|
DefaultName | Gets the default identifiable name assigned to this CTC object. (Inherited from CtcObjectBase.) | |
ID | Gets the CTC object's globaly unique static identifier. (Inherited from CtcObjectBase.) | |
IsDeleted | Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf. (Inherited from CtcObjectBase.) | |
Length | Gets or sets the physical length of the route. | |
Name | Gets or sets the identifiable name assigned to this CTC object. (Inherited from CtcObjectBase.) | |
Parent | Gets the parent list that contains this CTC object. (Inherited from CtcObjectBase.) | |
PersistedTag | Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data. (Inherited from CtcObjectBase.) | |
RouteElements | ||
ScriptEventBinder | ||
SerializeSwitching | Indicates whether the route should serialize the switching of its turnouts. | |
State | Gets the route's current RouteRouteState value. | |
Tag | Gets or sets an arbitrary object that provides additional data but is disposed between sessions. (Inherited from CtcObjectBase.) |
Name | Description | |
---|---|---|
DeleteSelf | (Overrides CtcObjectBaseDeleteSelf.) | |
Intersects | Indicates whether the route shares one or more tracks with another given route. | |
Lock | Sets the turnout states of the route, if no locking conflict exists, and locks the route. | |
NotifyObjectChanged | Raises the ObjectChanged event for this object. (Inherited from CtcObjectBase.) | |
Reset | Resets the route to the default Unlocked state. | |
Set | Sets the turnout states of the route, if no locking conflict exists, but does not lock the route. | |
ToString | (Overrides ObjectToString.) | |
Unlock | Unlocks the route, if route has been previously locked. |