Click or drag to resize

CtcService Methods

The CtcService type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBroadcastStates
Refreshes the physical railroad states to the CTC held states.
Public methodStatic memberDisposeLayout
Releases any resources used by the current layout.
Public methodStatic memberExecute
Places a subroutine on the CTC thread execution queue.
Public methodStatic memberLoadLayout
Loads a given railroad layout configuration and states.
Public methodStatic memberNewLayout
Clears out all the layout objects.
Public methodStatic memberPostMessage
Posts a text message to the CTC event stream.
Public methodStatic memberQuerySensors
Queries the physical railroad's sensors for their current states.
Public methodStatic memberResetStates
Sets all the physical railroad states to their default values and eliminates pending states.
Public methodStatic memberSaveLayout
Saves the current railroad layout configuration and states.
Public methodStatic memberStart
Starts the CTC Service.
Public methodStatic memberStop
Stops the CTC Service.
Top
See Also