wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
SignalModel::BulkEditGuard Class Reference

#include <SignalModel.h>

Public Member Functions

 BulkEditGuard (SignalModel &model)
 ~BulkEditGuard ()

Detailed Description

RAII guard for a batch of setValue() calls: suppresses the per-cell dataChanged signal each setValue() would otherwise emit, firing a single dataChanged for the whole grid when the guard goes out of scope. Not reentrant — do not nest two of these on the same model.

Definition at line 64 of file SignalModel.h.

Constructor & Destructor Documentation

◆ BulkEditGuard()

SignalModel::BulkEditGuard::BulkEditGuard ( SignalModel & model)
explicit

Definition at line 38 of file SignalModel.cpp.

References SignalModel::SignalModel().

◆ ~BulkEditGuard()

SignalModel::BulkEditGuard::~BulkEditGuard ( )

Definition at line 44 of file SignalModel.cpp.


The documentation for this class was generated from the following files: