![]() |
DSPatch
v.2.42
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
|
#include <DspWireBus.h>
Public Member Functions | |
DspWireBus (bool isLinkedComponentReceivingSignals=false) | |
bool | AddWire (DspComponent *linkedComponent, unsigned short fromSignalIndex, unsigned short toSignalIndex) |
bool | RemoveWire (unsigned short wireIndex) |
bool | RemoveWire (DspComponent *linkedComponent, unsigned short fromSignalIndex, unsigned short toSignalIndex) |
void | RemoveAllWires () |
DspWire * | GetWire (unsigned short wireIndex) |
unsigned short | GetWireCount () const |
DspWire container.
A DspWireBus contains DspWires (see DspWire). Each component contains an input wire bus. Via the Tick() method, a DspComponent uses it's input wire bus to retrieve it's input signals from incoming linked components, as mapped out in each DspWire. The DspCircuit class has an additional 2 wire buses use to connect the circuit's IO signals to and from it's internal components.
Definition at line 47 of file DspWireBus.h.