OpendTect
6.6
|
Disposes after a couple of msecs to avoid all kinds of trouble. More...
Public Member Functions | |
void | go (CallBacker *) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
Protected Member Functions | |
ObjDisposer () | |
void | doDel (CallBacker *) |
Protected Attributes | |
ObjectSet< CallBacker > | objs_ |
ObjectSet< Timer > | timers_ |
Friends | |
ObjDisposer * | OBJDISP () |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Disposes after a couple of msecs to avoid all kinds of trouble.
The CallBack should have the object to be disposed of as CallBacker. Usage like:
nonmdldlg->windowClosed.notify( mCB(OBJDISP(),ObjDisposer,go) );
<>
|
protected |
|
protected |
void ObjDisposer::go | ( | CallBacker * | ) |
|
friend |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022