RRAutoLib.CTC Namespace Railroad Automation Class Library
This namespace contains classes for CTC (Centralized Traffic Control). The consumers of this framework are user interfaces.

The central class of this namespace is CtcService.
Classes

  Class Description
Public class AccessoriesList
A collection of Accessory objects.
Public class Accessory
An accessory object to be controled.
Public class Block
A set of Track objects treated as one unit.
Public class BlocksList
A collection of Block objects.
Public class Button
An switchboard button.
Public class ButtonsList
A collection of Button objects.
Public class CtcObjectBase
Abstract base class for CTC and switchboard objects.
Public class CtcObjectListBase T 
Abstract base class for collections of CTC and switchboard objects.
Public class CtcService
The main class for providing CTC (Centralized Traffic Control) services.
Public class Engine
A DCC locomotive to be controled.
Public class EnginesList
A collection of Engine objects.
Public class Label
An switchboard text label.
Public class LabelsList
A collection of Label objects.
Public class PkStatesList
Provides means for a CTC object to have packet sending states.
Public class PkStatesList State
Provides the configuration of a single state.
Public class Route
A set of Track objects with a particular turnout state configuration.
Public class Route RouteElement
A switchboard track object with a configured turnout state.
Public class Route RouteElementList
Public class RoutesList
A collection of Route objects.
Public class Script
A script activated by an event.
Public class Script Event
Public class Script EventsList
Public class ScriptEventArgs
Data exchange class passed to script event handlers.
Public class ScriptEventBinder
This class provides script binding services between railroad object events and delegate handlers.
Public class Scripting
Provides support for user scripting.
Public class Scripting ScriptError
Represents a script compilation error.
Public class ScriptsList
A collection of Script objects.
Public class Sensor
A sensor or input object.
Public class SensorsList
A collection of Sensor objects.
Public class Sequence
A series of Loconet packets that can be played back onto the network.
Public class Sequence SeqItem
A sequence item which represents a packet to be played (sent to the Locoent network) at a given time.
Public class SequenceScript
Provides operations using the sequencial scripting pattern.
Protected class SequenceScript ScriptLine
Represents the definition of one line of sequencial script.
Public class SequencesList
A collection of Sequence objects.
Public class Signal
A switchboard signal object.
Public class SignalsList
A collection of Signal objects.
Public class Track
A switchboard track object.
Public class TracksList
A collection of Track objects.
Public class VariableBag
Provides a key indexed variable bag.
Structures

  Structure Description
Public structure Location
The grid location of a switchboard object.
Interfaces

  Interface Description
Public interface ICtcObjectListBase
Generic interface for lists of CTC objects.
Public interface ILocation
Interface implemented by classes derived from CtcObjectBase that have a switchboard location.
Public interface IPkStates
Interface implemented by classes derived from CtcObjectBase that have packet sending states.
Public interface IScriptItem
Interface implemented by dynamically generated script classes in operation mode.
Public interface ISupportsScriptEvents
Defines functionality required by objects that support bindable scripting events.
Public interface ITopLayer
Interface implemented by classes derived from CtcObjectBase that float obove the tracks.
Delegates

  Delegate Description
Public delegate CtcService BeforeModeChangeEventHandler
Public delegate CtcService CtcMessageEventHandler
Public delegate CtcService ModeChangedEventHandler
Public delegate CtcService ObjectChangedEventHandler
Public delegate Engine BindSlotResponseEventHandler
Public delegate Engine DirectionChangedEventHandler
Public delegate Engine FunctionChangedEventHandler
Public delegate Engine SpeedChangedEventHandler
Public delegate Engine UnbindSlotResponseEventHandler
Public delegate ScriptHandler
Represents the method that will handle scripting events.
Public delegate Sensor StateChangedEventHandler
Public delegate Sensor StateReportedEventHandler
Enumerations

  Enumeration Description
Public enumeration Alignment
Object alignment as it relates to its parent.
Public enumeration Block BlockOccupancy
Public enumeration Button ButtonType
Public enumeration Engine BindSlotResult
Results returned by the BindSlotResponse event after calling BindSlot(Boolean, Boolean).
Public enumeration Engine UnbindSlotResult
Results returned by the UnbindSlotResponse event after calling UnbindSlot(Boolean, Boolean).
Public enumeration PkStatesList StateDisposition
Public enumeration Route RouteState
Public enumeration Sensor DeviceType
The device type generating the sensor event packets.
Public enumeration Sensor ObservePacketType
The Loconet packet type to observe for sensor events.
Public enumeration Sequence SeqStatus
Public enumeration SerializationContent
Layout content type being saved and/or loaded.
Public enumeration Signal SignalAspect
Indicates the possible signal states.
Public enumeration Signal SignalConfig
Indicates the possible aspect configurations of a signal.
Public enumeration Track TrackState
Public enumeration Track TrackType