![]() |
OpendTect 8.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...
#include <visselman.h>
Public Member Functions | |
| SelectionManager () | |
| virtual | ~SelectionManager () |
| bool | allowMultiple () const |
| void | deSelect (const VisID &id) |
| void | deSelectAll () |
| void | fillPar (IOPar &, TypeSet< int > &) const |
| void | select (const VisID &id, bool keepoldsel=false) |
| const TypeSet< VisID > & | selected () const |
| void | setAllowMultiple (bool yn) |
| void | updateSel (const 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. | |
| 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. | |
| CallBacker & | operator= (const CallBacker &)=delete |
| 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 (const VisID &, bool lock) |
| void | deSelectAll (bool lock) |
| void | select (const VisID &, bool keep, bool lock) |
| void | updateSel (const 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 |
|
protected |
|
inline |
|
inline |
|
protected |
|
protected |
|
inline |
| void visBase::SelectionManager::setAllowMultiple | ( | bool | yn | ) |
|
protected |
|
inline |
|
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-2025