OpendTect
6.6
|
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 (int id) |
void | deSelectAll () |
void | fillPar (IOPar &, TypeSet< int > &) const |
void | select (int id, bool keepoldsel=false) |
const TypeSet< int > & | selected () const |
void | setAllowMultiple (bool yn) |
void | updateSel (int 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 |
Public Attributes | |
CNotifier< SelectionManager, int > | deselnotifier |
CNotifier< SelectionManager, int > | reselnotifier |
CNotifier< SelectionManager, int > | selnotifier |
CNotifier< SelectionManager, int > | updateselnotifier |
Protected Member Functions | |
void | deSelect (int id, bool lock) |
void | deSelectAll (bool lock) |
void | select (int id, bool keep, bool lock) |
void | updateSel (int id, bool lock) |
Protected Attributes | |
bool | allowmultiple_ |
Threads::Mutex & | mutex_ |
TypeSet< int > | 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 |
|
protected |
|
inline |
|
inline |
void visBase::SelectionManager::setAllowMultiple | ( | bool | yn | ) |
|
inline |
|
protected |
|
inline |
|
protected |
CNotifier<SelectionManager,int> visBase::SelectionManager::deselnotifier |
|
protected |
CNotifier<SelectionManager,int> visBase::SelectionManager::reselnotifier |
|
protected |
CNotifier<SelectionManager,int> visBase::SelectionManager::selnotifier |
CNotifier<SelectionManager,int> visBase::SelectionManager::updateselnotifier |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022