Route Members Railroad Automation Class Library

The Route type exposes the following members.
Constructors

  NameDescription
Public methodRoute 
Initializes a new instance of the Route class
Protected methodRoute(SerializationInfo, StreamingContext)
Initializes a new instance of the Route class
Back to Top
Methods

  NameDescription
Protected methodClone
Used internally.
(Inherited from CtcObjectBase.)
Public methodDeleteSelf (Overrides CtcObjectBase DeleteSelf .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetObjectData (Overrides CtcObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodInitStoredState
Used internally during deserialization.
(Inherited from CtcObjectBase.)
Public methodLock
Sets the turnout states of the route, if no locking conflict exists, and locks the route.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNotifyObjectChanged
Raises the ObjectChangedevent 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 OnlineObject ToString .)
Public methodUnlock
Unlocks the route, if route has been previously locked.
Back to Top
Fields

  NameDescription
Protected field_blnDeleted (Inherited from CtcObjectBase.)
Protected field_objParent (Inherited from CtcObjectBase.)
Protected field_objPersistedTag (Inherited from CtcObjectBase.)
Protected field_objStoredState (Inherited from CtcObjectBase.)
Protected field_sctId (Inherited from CtcObjectBase.)
Protected field_strDefaultName (Inherited from CtcObjectBase.)
Protected field_strName (Inherited from CtcObjectBase.)
Back to 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 collection 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.)
Back to Top
See Also