|
wiRedPanda
Logic Circuit Simulator
|
One waveform table row: exactly one PORT of one element. More...
#include <DolphinModelBuilder.h>
Public Attributes | |
| GraphicElement * | element = nullptr |
| The element this row reads or drives. | |
| RowKind | kind = RowKind::Input |
| QString | label |
| int | port = 0 |
One waveform table row: exactly one PORT of one element.
The table is laid out per port – a 2-bit rotary input occupies two rows, a Display7 occupies eight – so an element index is never a row index. This descriptor is the single source of truth for that layout: the label builder, the sweep and the snapshot API all consume it rather than deriving it independently, which is what keeps them from disagreeing about which row belongs to which port.
Definition at line 39 of file DolphinModelBuilder.h.
| GraphicElement* DolphinModelBuilder::Row::element = nullptr |
The element this row reads or drives.
Definition at line 40 of file DolphinModelBuilder.h.
| RowKind DolphinModelBuilder::Row::kind = RowKind::Input |
Definition at line 43 of file DolphinModelBuilder.h.
| QString DolphinModelBuilder::Row::label |
Per-PORT label ("Bus[0]"), never the bare element label – eight Display7 rows must not share one.
Definition at line 44 of file DolphinModelBuilder.h.
| int DolphinModelBuilder::Row::port = 0 |
Port index on element (output port for an input row, input port for an output row).
Definition at line 41 of file DolphinModelBuilder.h.