Skip to main content

DigitalObjectSet

DigitalObjectSet

Helper class to hold different groups of components.

The groups are: Input components (anything with 0 output ports and >0 input ports). Output components (anything with 0 input ports and >0 output ports). Wires (wires). Other (anything else).

Note that .getComponents() does NOT contain wires A helper method to get all the components including them is included as toList().


Constructor

public DigitalObjectSet

new DigitalObjectSet()

*Description needed*

new DigitalObjectSet(inputs, outputs, others, wires)

*Description needed*

Parameters


Properties

No publicly accessible properties on DigitalObjectSet

private inputs: DigitalComponent[]

Description needed

private outputs: DigitalComponent[]

Description needed

private others: DigitalComponent[]

Description needed


Methods

public getInputs

getInputs() => DigitalComponent[]

Description needed

Returns

public getOutputs

getOutputs() => DigitalComponent[]

Description needed

Returns

public getOthers

getOthers() => DigitalComponent[]

Description needed

Returns

public getWires

getWires() => DigitalWire[]

Description needed

Returns

public getComponents

getComponents() => DigitalComponent[]

Description needed

Returns


Static Methods

public From

From(set) => DigitalObjectSet

Description needed

Parameters

  •  set: IOObject[]Description needed

Returns