Click or drag to resize

Route Class

A set of Track objects with a particular turnout state configuration.
Inheritance Hierarchy

Namespace:  RRAutoLib.CTC
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
<SerializableAttribute>
Public NotInheritable Class Route
	Inherits CtcObjectBase
	Implements ISupportsScriptEvents

The Route type exposes the following members.

Constructors
  NameDescription
Public methodRoute
Initializes a new instance of the Route class
Top
Properties
  NameDescription
Public propertyDefaultName
Gets the default identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyID
Gets the CTC object's globaly unique static identifier.
(Inherited from CtcObjectBase.)
Public propertyIsDeleted
Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf.
(Inherited from CtcObjectBase.)
Public propertyLength
Gets or sets the physical length of the route.
Public propertyName
Gets or sets the identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyParent
Gets the parent list that contains this CTC object.
(Inherited from CtcObjectBase.)
Public propertyPersistedTag
Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data.
(Inherited from CtcObjectBase.)
Public propertyRouteElements
Public propertyScriptEventBinder
Public propertySerializeSwitching
Indicates whether the route should serialize the switching of its turnouts.
Public propertyState
Public propertyTag
Gets or sets an arbitrary object that provides additional data but is disposed between sessions.
(Inherited from CtcObjectBase.)
Top
Methods
  NameDescription
Public methodDeleteSelf (Overrides CtcObjectBaseDeleteSelf.)
Public methodIntersects
Indicates whether the route shares one or more tracks with another given route.
Public methodLock
Sets the turnout states of the route, if no locking conflict exists, and locks the route.
Public methodNotifyObjectChanged
Raises the ObjectChanged event for this object.
(Inherited from CtcObjectBase.)
Public methodReset
Resets the route to the default Unlocked state.
Public methodSet
Sets the turnout states of the route, if no locking conflict exists, but does not lock the route.
Public methodToString (Overrides ObjectToString.)
Public methodUnlock
Unlocks the route, if route has been previously locked.
Top
See Also