DSPatch v.9.2.0
No Matches
Public Member Functions | Public Attributes | List of all members
DSPatch::internal::Wire Struct Referencefinal

Connection between two components. More...

#include <Wire.h>

Public Member Functions

 Wire (DSPatch::Component::SPtr const &newFromComponent, int newFromOutput, int newToInput)

Public Attributes

DSPatch::Component::SPtr fromComponent
int fromOutput
int toInput

Detailed Description

Connection between two components.

Components process and transfer data between each other in the form of signals via interconnected "wires". Each wire contains references to the fromComponent, the fromOutput signal, and the toInput signal. The Wire struct simply stores these references for use in retrieving and providing signals across component connections.

Definition at line 50 of file Wire.h.

Constructor & Destructor Documentation

◆ Wire()

DSPatch::internal::Wire::Wire ( DSPatch::Component::SPtr const &  newFromComponent,
int  newFromOutput,
int  newToInput 

Definition at line 52 of file Wire.h.

Member Data Documentation

◆ fromComponent

DSPatch::Component::SPtr DSPatch::internal::Wire::fromComponent

Definition at line 59 of file Wire.h.

◆ fromOutput

int DSPatch::internal::Wire::fromOutput

Definition at line 60 of file Wire.h.

◆ toInput

int DSPatch::internal::Wire::toInput

Definition at line 61 of file Wire.h.

The documentation for this struct was generated from the following file: