![]() |
OpendTect
7.0
|
Notifier with automatic capsule creation. More...
Inherits NotifierAccess.
Public Member Functions | |
| CNotifier (T *cb) | |
| void | trigger (PayLoad pl) |
| void | trigger (PayLoad pl, CallBacker *cb) |
| void | trigger (PayLoad pl, T &t) |
Public Member Functions inherited from NotifierAccess | |
| NotifierAccess () | |
| NotifierAccess (const NotifierAccess &) | |
| virtual | ~NotifierAccess () |
| void | disable () |
| void | enable (bool yn=true) |
| bool | isEmpty () const |
| bool | isEnabled () const |
| bool | isShutdownSubscribed (const CallBacker *) const |
| Only for debugging purposes, don't use. More... | |
| void | notify (const CallBack &, bool first=false) const |
| bool | notifyIfNotNotified (const CallBack &) const |
| void | remove (const CallBack &) const |
| bool | removeWith (const CallBacker *, bool wait=true) const |
| void | setEmpty () |
| void | transferCBSTo (const NotifierAccess &, const CallBacker *only_for, const CallBacker *not_for=0) const |
| bool | willCall (const CallBacker *) const |
Additional Inherited Members | |
Public Attributes inherited from NotifierAccess | |
| CallBacker * | cber_ |
| CallBackSet & | cbs_ |
Protected Member Functions inherited from NotifierAccess | |
| void | addShutdownSubscription (const CallBacker *) const |
| bool | removeShutdownSubscription (const CallBacker *, bool wait) const |
Static Protected Member Functions inherited from NotifierAccess | |
| static void | doTrigger (CallBackSet &, const CallBacker *) |
Protected Attributes inherited from NotifierAccess | |
| Threads::Lock | shutdownsubscriberlock_ |
| ObjectSet< const CallBacker > | shutdownsubscribers_ |
Notifier with automatic capsule creation.
When non-callbacker data needs to be passed, you can put it in a capsule.
You'll need to define:
<>
|
inline |
|
inline |
|
inline |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024