Fixed triggering mode change when acquiring
This commit is contained in:
1 parent
3d4085898e
commit
0d741c401b
10 files changed
+504
-106
No files matched your search
+7
-4
@@ -117,10 +117,13 @@ class RowSet {
|
||||
/// The channel index a row/slot holds, or -1.
|
||||
int channel_of(int row, int slot) const;
|
||||
|
||||
/// Rebinds every slot to what it should show this frame: the model's live buffer,
|
||||
/// or -- in trigger mode -- the captured event. Called every frame, because the
|
||||
/// channel list is renumbered by any structural change.
|
||||
void bind(ScopeModel& model);
|
||||
/// Rebinds every slot to what `mode` says it should show this frame. Called every
|
||||
/// frame, because the channel list is renumbered by any structural change.
|
||||
///
|
||||
/// `mode` is passed in rather than read from the model, so that one frame's bind, axis
|
||||
/// and status line all describe the same display: the producer can open or close a
|
||||
/// capture between any two reads of `ScopeModel::display_mode()`.
|
||||
void bind(ScopeModel& model, DisplayMode mode);
|
||||
/// Publishes the live buffer's new samples.
|
||||
void acquire(ScopeModel& model) { model.acquire_all(); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user