OpendTect
7.0
|
Asynchronous event handling and notification. More...
Public Types | |
enum | EvType { ConnClose , ChldStop , ReInit , Stop , Cont , Alarm , Kill } |
Static Public Member Functions | |
static void | initClass () |
static void | initFatalSignalHandling () |
static void | startNotify (EvType, const CallBack &) |
static void | stopNotify (EvType, const CallBack &) |
static void | stopProcess (int, bool friendly=true) |
static void | stopRemote (const char *, int, bool friendly=true, const char *rshcomm=0) |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
SignalHandling () | |
~SignalHandling () | |
void | doCont () |
void | doKill (int) |
void | doStop (int, bool withcbs=true) |
CallBackSet & | getCBL (EvType) |
void | handleAlarm () |
void | handleChld () |
void | handleConn () |
void | handleReInit () |
Static Protected Member Functions | |
static void | handle (int) |
static SignalHandling & | SH () |
Protected Attributes | |
CallBackSet & | alarmcbs_ |
CallBackSet & | chldcbs_ |
CallBackSet & | conncbs_ |
CallBackSet & | contcbs_ |
CallBackSet & | killcbs_ |
CallBackSet & | reinitcbs_ |
CallBackSet & | stopcbs_ |
Friends | |
void | DBG::forceCrash (bool) |
Additional Inherited Members | |
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 |
virtual CallBacker * | trueCaller () |
Asynchronous event handling and notification.
<>
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
staticprotected |
Access to a static instance
|
static |
|
static |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024