Click or drag to resize

Scripting Class

Provides helper methods for scripting.
Inheritance Hierarchy
SystemObject
  RRAutoLib.ScriptingScripting

Namespace:  RRAutoLib.Scripting
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
<StandardModuleAttribute>
Public NotInheritable Class Scripting

The Scripting type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCtcAccessory
Gets a reference to an accessory object.
Public methodStatic memberCtcBlock
Gets a reference to a block object.
Public methodStatic memberCtcBoundEngine
Gets a reference to an engine object guaranteed to be bound to a slot.
Public methodStatic memberCtcButton
Gets a reference to a button object.
Public methodStatic memberCtcEngine
Gets a reference to an engine object.
Public methodStatic memberCtcEventScript
Gets a reference to a layout event script object.
Public methodStatic memberCtcLabel
Gets a reference to a label object.
Public methodStatic memberCtcRoute
Gets a reference to a route object.
Public methodStatic memberCtcSensor
Gets a reference to a sensor object.
Public methodStatic memberCtcSequence
Gets a reference to a layout sequence object.
Public methodStatic memberCtcSignal
Gets a reference to a signal object.
Public methodStatic memberCtcStepScript
Gets a reference to a layout step script object.
Public methodStatic memberCtcTrack
Gets a reference to a track object.
Public methodStatic memberCtcTurnout
Gets a reference to a track object guaranteed to be a turnout.
Public methodStatic memberDelay
Introduces a delay in script execution.
Public methodStatic memberCode exampleOnEvent(ScriptingEventsList, CancellationToken)
Creates an adhoc event binding to act on.
Public methodStatic memberCode exampleOnEvent(ScriptingEventsList, FuncScriptEventArgs, Task, CancellationToken)
Creates an adhoc event binding to act on.
Public methodStatic memberPlaySound
Plays a sound file.
Public methodStatic memberPostCallStack
Posts the scripting call stack to the CTC event stream.
Public methodStatic memberPostMsg
Posts a text message to the CTC event stream.
Public methodStatic memberWithTimeout
Adds a timeout expiration to a given awaitable task.
Top
Remarks
Its members are designed to be called from the CTC thread within the scripting context.
See Also