Class: AbsractDevice

AbsractDevice()

Abstract class representing a logic device. All devices must inherit from this class and implement the compute() function. Every device must have a list of inputs and an output IOBus. Each entry in the inputs array is an IOBus.

Constructor

new AbsractDevice()

Properties:
Name Type Description
inputs Array.<IOBus> the list of IOBusses that are inputs to the device
output IOBus the IOBus that is the output of the device
Source: