Inherit from this class to be able to send and/or receive CallBacks.
More...
Inherited by Attrib::DescSet, CBCapsule< PLT >, CmdDrive::Activator, CmdDrive::CmdComposer, CmdDrive::CmdDriver, CmdDrive::CmdRecorder, CmdDrive::uiCmdDriverMgr, DataPackMgr, DataPointSetDisplayMgr, EM::EMManager, EM::EMObject, EM::Fault3DPainter, EM::FaultStickPainter, EM::FaultStickSetFlatViewEditor, EM::HorizonPainter2D, EM::HorizonPainter3D, EM::HorizonPreLoader, EM::HorizonZTransform, EM::SurfaceGeometry, ExplicitMarchingCubesSurface, File::Monitor, FlatView::AuxDataEditor, FlatView::DataDispPars::Common, FlatView::Sower, FlatView::uiAuxDataDisplay, Geometry::Element, Geometry::ElementEditor, Geometry::ExplFaultStickSurface, Geometry::ExplicitIndexedShape, Geometry::ExplPlaneIntersection, Geometry::ExplPolygonSurface, Geometry::RandomLine::ChangeData, Geometry::RandomLineManager, GestureEventHandler, HorizonTimer, i_QPtrImpl, JobCommunic, JobIOMgr, KeyboardEventHandler, MarchingCubesSurface, MeasureToolMan, MenuItemHandler, MenuItemHolder, Monitorable, MouseCursorExchange, MouseEventHandler, MPE::EMSeedPicker, MPE::Engine, MPE::HorizonFlatViewEditor, MPE::HorizonFlatViewEditor2D, MPE::HorizonFlatViewEditor3D, MPE::HorizonTrackerMgr, MPE::ObjectEditor, MsgClass, NamedCallBacker, Network::HttpRequestManager, Network::HttpRequestProcess, Network::RequestConnection, Network::RequestServer, NotSavedPrompter, ObjDisposer, OD::AutoSaveObj, OD::AutoSaver, OD::PresentationManagedViewer, OD::VwrTypePresentationMgr, ODDLSite, ODGraphicsDynamicImageItem, PickRetriever, Pos::WellProvider3D, PosImpExpPars, PosInfo::Survey2D, PreStack::EventManager, PreStack::ProcessManager, RemCommHandler, RemoteJobExec, SignalHandling, Strat::LithologySet, Strat::UnitRef, TextTranslateMgr, Threads::WorkManager, Translator, uiApplPartServer, uiBaseMapObject, uiBitMapDisplay, uiColSeqSelTool, uiCrossHairItem, uiEventFilter, uiFlatViewColTabEd, uiFont, uiFontList, uiGenInputInputFld, uiGraphicsSceneAxisMgr, uiGVFreehandAreaSelectionTool, uiIOObjInserter, uiIOObjManipGroupSubj, uiListBoxChoiceIO, uiMouseEventBlockerByGestures, uiMPEMan, uiMsg, uiObjectItemViewAxisPainter, uiODApplMgr, uiODApplMgrAttrVisHandler, uiODApplMgrDispatcher, uiODFaultToolMan, uiODMenuMgr, uiShortcutsMgr, uiSlicePos, uiStratDispToTree, uiStratLayerModelManager, uiStratRefTree, uiStratTreeToDisp, uiStratViewControl, uiSystemTrayIcon, uiTextFile, uiTreeFactorySet, uiTreeItem, uiTreeViewItem, uiVarWizard, uiVisColTabEd, uiVisEMObject, uiWellDisplayControl, uiWindowGrabber, Undo, UserAction, Vel::FunctionSource, Vel::Picks, Vel::PicksMgr, visBase::DataManager, visBase::DataObject, visBase::HorizonSectionTile [private], visBase::NodeState, visBase::SelectionManager, visSurvey::SceneTransformManager, Vw2DDataManager, Vw2DDataObject, WellStratUnitGen, WellT2DTransform, WellTie::EventStretch, WellTie::PickSetMgr, WellTie::Server, and WellTie::uiTieView.
Inherit from this class to be able to send and/or receive CallBacks.
| CallBacker::CallBacker |
( |
| ) |
|
| virtual CallBacker::~CallBacker |
( |
| ) |
|
|
virtual |
Adds cb to notifier, and makes sure it is removed later when object is deleted.
- Returns
- if it was attached.
- Note
- Attaches only if
- Parameters
-
| static void CallBacker::createReceiverForCurrentThread |
( |
| ) |
|
|
static |
Must be called if you wish to send callbacks to this thread.
| void CallBacker::detachAllNotifiers |
( |
| ) |
const |
|
protected |
Call from the destructor of your inherited object.
- Note
- Normally not needed if you don't want this explicitly.
- Note
- Detaches only if
- Parameters
-
| virtual bool CallBacker::isCapsule |
( |
| ) |
const |
|
inlinevirtual |
Only for debugging purposes, don't use.
| bool CallBacker::notifyShutdown |
( |
const NotifierAccess * |
, |
|
|
bool |
wait |
|
) |
| const |
|
private |
- Returns
- false only if wait and no lock could be obtained.
| static void CallBacker::removeReceiverForCurrentThread |
( |
| ) |
|
|
static |
| void CallBacker::stopReceivingNotifications |
( |
| ) |
const |
|
inline |
| ObjectSet<QCallBackEventReceiver> CallBacker::receivers_ |
|
private |