OpendTect
7.0
|
SelectionManager handles DataObject that can be selected. If an object can be selected, it has to register himself with regSelObject. At registration it has to give two objects, first of all, he gives the object that outside users will associate him with when they want to add their CB to detect his selection. More...
Public Member Functions | |
SelectionManager () | |
virtual | ~SelectionManager () |
bool | allowMultiple () const |
void | deSelect (VisID id) |
void | deSelectAll () |
void | fillPar (IOPar &, TypeSet< int > &) const |
void | select (VisID id, bool keepoldsel=false) |
const TypeSet< VisID > & | selected () const |
void | setAllowMultiple (bool yn) |
void | updateSel (VisID id) |
void | usePar (const IOPar &) |
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 () |
Public Attributes | |
CNotifier< SelectionManager, VisID > | deselnotifier |
CNotifier< SelectionManager, VisID > | reselnotifier |
CNotifier< SelectionManager, VisID > | selnotifier |
CNotifier< SelectionManager, VisID > | updateselnotifier |
Protected Member Functions | |
void | deSelect (VisID, bool lock) |
void | deSelectAll (bool lock) |
void | select (VisID, bool keep, bool lock) |
void | updateSel (VisID, bool lock) |
Protected Attributes | |
bool | allowmultiple_ |
Threads::Mutex & | mutex_ |
TypeSet< VisID > | selectedids_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
SelectionManager handles DataObject that can be selected. If an object can be selected, it has to register himself with regSelObject. At registration it has to give two objects, first of all, he gives the object that outside users will associate him with when they want to add their CB to detect his selection.
Secondly it has to give the DataObject that actually is selected.
<>
visBase::SelectionManager::SelectionManager | ( | ) |
|
virtual |
|
inline |
|
inline |
|
protected |
|
inline |
|
protected |
|
inline |
|
protected |
void visBase::SelectionManager::setAllowMultiple | ( | bool | yn | ) |
|
inline |
|
protected |
|
inline |
|
protected |
CNotifier<SelectionManager,VisID> visBase::SelectionManager::deselnotifier |
|
protected |
CNotifier<SelectionManager,VisID> visBase::SelectionManager::reselnotifier |
CNotifier<SelectionManager,VisID> visBase::SelectionManager::selnotifier |
CNotifier<SelectionManager,VisID> visBase::SelectionManager::updateselnotifier |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024