ProtoTwin API
    Preparing search index...

    Class IOAbstract

    Base class for component IO.

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructor.

      Returns IO

    Properties

    component: null | Component

    The component to which the IO is attached.

    Accessors

    • get inputNames(): readonly string[]

      The names of all (Access.Writable) input signals belonging to the IO.

      Returns readonly string[]

    • get names(): readonly string[]

      The names of all signals belonging to the IO.

      Returns readonly string[]

    • get outputNames(): readonly string[]

      The names of all (Access.Readable) output signals belonging to the IO.

      Returns readonly string[]

    Methods

    • Retrieves the signal with the specified name.

      Parameters

      • name: string

        The signal name.

      Returns null | Signal<SignalValueType>

      The found signal, or null if the signal was not found.

    • Finds a signal belonging to the specified component's IO with the specified name.

      Parameters

      • component: Component

        The component.

      • name: string

        The signal name.

      Returns null | Signal<SignalValueType>

      The found signal, or null if a signal with the specified name was not found.