OpendTect
7.0
|
prevents change notifications coming out of a MonitoredObject. More...
Public Member Functions | |
ChangeNotifyBlocker (const MonitoredObject &, bool send_notif=true) | |
~ChangeNotifyBlocker () | |
void | reBlock () |
void | unBlockNow () |
Protected Attributes | |
const MonitoredObject & | obj_ |
bool | sendnotif_ |
bool | unblocked_ |
prevents change notifications coming out of a MonitoredObject.
Use to stop tons of change notifications going out. Will send an 'Entire object changed' event when it goes out of scope. To prevent that, set send_notif to false.
<>
ChangeNotifyBlocker::ChangeNotifyBlocker | ( | const MonitoredObject & | , |
bool | send_notif = true |
||
) |
ChangeNotifyBlocker::~ChangeNotifyBlocker | ( | ) |
void ChangeNotifyBlocker::reBlock | ( | ) |
void ChangeNotifyBlocker::unBlockNow | ( | ) |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024