OpendTect-6_4
6.4
|
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 () |
void | setAllowMultiple (bool yn) |
bool | allowMultiple () const |
void | select (int id, bool keepoldsel=false) |
void | deSelect (int id) |
void | deSelectAll () |
void | updateSel (int id) |
const TypeSet< int > & | selected () const |
void | fillPar (IOPar &, TypeSet< int > &) const |
void | usePar (const IOPar &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Public Attributes | |
CNotifier< SelectionManager, int > | selnotifier |
CNotifier< SelectionManager, int > | deselnotifier |
CNotifier< SelectionManager, int > | updateselnotifier |
CNotifier< SelectionManager, int > | reselnotifier |
Protected Member Functions | |
void | select (int id, bool keep, bool lock) |
void | deSelect (int id, bool lock) |
void | deSelectAll (bool lock) |
void | updateSel (int id, bool lock) |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
TypeSet< int > | selectedids_ |
bool | allowmultiple_ |
Threads::Mutex & | mutex_ |
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 |
|
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. 2019