Inherit from this class to be able to send and/or receive CallBacks.
More...
Inherited by ActiveProcPrompter, ApplicationData, Attrib::DescSet, BatchProgramTracker, CBCapsule< T >, CmdDrive::Activator, CmdDrive::CmdComposer, CmdDrive::CmdDriver, CmdDrive::CmdRecorder, CmdDrive::uiCmdDriverMgr, ColTab::MapperSetup, ColTab::SeqMgr, DataPackMgr, DataPointSetDisplayMgr, EM::EMManager, EM::Fault3DPainter, EM::FaultStickPainter, EM::FaultStickSetFlatViewEditor, EM::HorizonPainter2D, EM::HorizonPainter3D, EM::HorizonPreLoader, EM::SurfaceGeometry, ExplicitMarchingCubesSurface, FileSystemWatcher, FlatView::AuxDataEditor, FlatView::Sower, FlatView::uiAuxDataDisplay, Geometry::Element, Geometry::ElementEditor, Geometry::ExplFaultStickSurface, Geometry::ExplPlaneIntersection, Geometry::ExplPolygonSurface, Geometry::ExplicitIndexedShape, Geometry::RandomLine::ChangeData, Geometry::RandomLineManager, GestureEventHandler, JobCommunic, JobIOMgr, KeyboardEventHandler, LogCubeCreator::WellData, MPE::EMSeedPicker, MPE::Engine, MPE::HorizonFlatViewEditor, MPE::HorizonFlatViewEditor2D, MPE::HorizonFlatViewEditor3D, MPE::HorizonTrackerMgr, MeasureToolMan, MenuItemHandler, MenuItemHolder, MonitoredObject, MouseCursorExchange, MouseEventHandler, MsgClass, NamedCallBacker, Network::HttpRequestManager, Network::RequestConnection, Network::RequestServer, Network::Server, Network::Socket, NotSavedPrompter, OD::PythonAccess, ODDLSite, ODGraphicsDynamicImageItem, ObjDisposer, Pick::SetMgr::BulkChangeData, Pick::SetMgr::ChangeData, PluginManager, Pos::WellProvider3D, PosImpExpPars, PosInfo::Survey2D, PreStack::ProcessManager, PreStackView::uiViewer3DMgr, Property, RemCommHandler, RemoteJobExec, SEGY::FilePars, Seis::PreLoadDataManager, SeisRandomProvider, ServerProgTool, SignalHandling, Strat::LayerGenerator, Strat::LevelSetMgr, Strat::LithologySet, Strat::UnitRef, StratSynth::DataMgr, TextTranslateMgr, Threads::WorkManager, Translator, Undo, UserAction, Vel::PicksMgr, View2D::DataManager, Well::LogSet, WellStratUnitGen, WellTie::EventStretch, WellTie::PickSetMgr, WellTie::Server, WellTie::WellDataMgr, WellTie::uiTieView, i_QPtrImpl, uiAction, uiApplPartServer, uiBasemapObject, uiBitMapDisplay, uiColorTable, uiCrossHairItem, uiEventFilter, uiFlatViewColTabEd, uiFont, uiFontList, uiGVFreehandAreaSelectionTool, uiGenInputInputFld, uiGraphicsItem, uiGraphicsSceneAxisMgr, uiIOObjInserter, uiIOObjManipGroupSubj, uiListBoxChoiceIO, uiMPEMan, uiMain, uiMouseEventBlockerByGestures, uiODApplMgr, uiODApplMgrAttrVisHandler, uiODApplMgrAttrVisHandler, uiODApplMgrDispatcher, uiODFaultToolMan, uiODLangMenuMgr, uiODMenuMgr, uiODSceneMgr, uiODViewer2D, uiODViewer2DMgr, uiObjectItemViewAxisPainter, uiPickSetMgr, uiPluginInitMgr, uiSEGYTool, uiSettingsMgr, uiShortcutsMgr, uiSlicePos, uiStratDispToTree, uiStratLayerModelManager, uiStratRefTree, uiStratTreeToDisp, uiStratViewControl, uiSystemTrayIcon, uiTextFile, uiTreeFactorySet, uiTreeItem, uiTreeViewItem, uiTreeViewItemIterator, uiVarWizard, uiVisColTabEd, uiVisEMObject, uiWellDahDisplay::DahObjData, uiWellDefMnemLogDlg::Tables, uiWellDisplayControl, uiWindowGrabber, visBase::DataManager, visBase::HorizonSectionTile [private]
, visBase::SelectionManager, and visSurvey::SceneTransformManager.
Inherit from this class to be able to send and/or receive CallBacks.
<>
◆ CallBacker() [1/2]
CallBacker::CallBacker |
( |
| ) |
|
◆ CallBacker() [2/2]
◆ ~CallBacker()
virtual CallBacker::~CallBacker |
( |
| ) |
|
|
virtual |
◆ attachCB() [1/2]
Adds cb to notifier, and makes sure it is removed later when object is deleted.
- Returns
- if it was attached.
◆ attachCB() [2/2]
- Note
- Attaches only if notif is not null.
◆ createReceiverForCurrentThread()
static void CallBacker::createReceiverForCurrentThread |
( |
| ) |
|
|
static |
Must be called if you wish to send callbacks to this thread.
◆ detachAllNotifiers()
void CallBacker::detachAllNotifiers |
( |
| ) |
const |
Call from the destructor of your inherited object.
◆ detachCB() [1/2]
- Note
- Normally not needed if you don't want this explicitly.
◆ detachCB() [2/2]
- Note
- Detaches only if notif is not null.
◆ isCapsule()
virtual bool CallBacker::isCapsule |
( |
| ) |
const |
|
inlinevirtual |
◆ isNotifierAttached()
Only for debugging purposes, don't use.
◆ notifyShutdown()
bool CallBacker::notifyShutdown |
( |
const NotifierAccess * |
, |
|
|
bool |
wait |
|
) |
| const |
|
private |
- Returns
- false only if wait and no lock could be obtained.
◆ removeReceiverForCurrentThread()
static void CallBacker::removeReceiverForCurrentThread |
( |
| ) |
|
|
static |
◆ stopReceivingNotifications()
void CallBacker::stopReceivingNotifications |
( |
| ) |
const |
|
inline |
◆ trueCaller()
◆ NotifierAccess
◆ attachednotifiers_
◆ attachednotifierslock_