![]() |
OpendTect-6_4
6.4
|
Temporarily disables a Notifier. More...
Public Member Functions | |
| NotifyStopper (NotifierAccess &na) | |
| ~NotifyStopper () | |
| void | enable () |
| void | disable () |
| void | restore () |
Protected Attributes | |
| NotifierAccess & | thenotif_ |
| bool | oldst_ |
Temporarily disables a Notifier.
Notifiers can be disabled. To do that temporarily, use NotifyStopper. If the Stopper goes out of scope, the callback is re-enabled. like:
| NotifyStopper::NotifyStopper | ( | NotifierAccess & | na | ) |
| NotifyStopper::~NotifyStopper | ( | ) |
| void NotifyStopper::disable | ( | ) |
| void NotifyStopper::enable | ( | ) |
| void NotifyStopper::restore | ( | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019