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
inputs: DigitalComponent[]
– Description neededoutputs: DigitalComponent[]
– Description neededothers: DigitalComponent[]
– Description neededwires: Wire[]
– Description needed
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
-
DigitalComponent[]
– Description needed
public getOutputs
getOutputs() => DigitalComponent[]
Description needed
Returns
-
DigitalComponent[]
– Description needed
public getOthers
getOthers() => DigitalComponent[]
Description needed
Returns
-
DigitalComponent[]
– Description needed
public getWires
getWires() => DigitalWire[]
Description needed
Returns
-
DigitalWire[]
– Description needed
public getComponents
getComponents() => DigitalComponent[]
Description needed
Returns
-
DigitalComponent[]
– Description needed
Static Methods
public From
From(set) => DigitalObjectSet
Description needed
Parameters
-
set: IOObject[]
– Description needed
Returns
-
DigitalObjectSet
– Description needed