![]() |
OpendTect
6.6
|
Utility to manage pick set lifecycles. Also supports change notifications. More...
Classes | |
| struct | BulkChangeData |
| struct | ChangeData |
Public Member Functions | |
| SetMgr (const char *nm) | |
| ~SetMgr () | |
| Set & | get (const char *s) |
| const Set & | get (const char *s) const |
| Set & | get (const MultiID &i) |
| const Set & | get (const MultiID &i) const |
| const MultiID & | get (const Set &s) const |
| Set & | get (int idx) |
| const Set & | get (int idx) const |
| const MultiID & | id (int idx) const |
| int | indexOf (const char *) const |
| int | indexOf (const MultiID &) const |
| int | indexOf (const Set &) const |
| bool | isChanged (int idx) const |
| bool | readDisplayPars (const MultiID &, IOPar &) const |
| void | removeCBs (CallBacker *) |
| void | reportBulkChange (CallBacker *sender, const BulkChangeData &) |
| void | reportChange (CallBacker *sender, const ChangeData &) |
| void | reportChange (CallBacker *sender, const Set &) |
| void | reportDispChange (CallBacker *sender, const Set &) |
| void | set (const MultiID &, Set *) |
| void | setID (int idx, const MultiID &) |
| void | setUnChanged (int idx, bool yn=true) |
| int | size () const |
| Undo & | undo () |
| const Undo & | undo () const |
| bool | writeDisplayPars (const MultiID &, const IOPar &) const |
Public Member Functions inherited from NamedCallBacker | |
| NamedCallBacker (const char *nm=0) | |
| NamedCallBacker (const NamedCallBacker &) | |
| virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
| bool | operator== (const NamedCallBacker &oth) const |
| bool | operator== (const NamedObject &oth) const |
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 Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=nullptr) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| virtual BufferString | getName () const |
| bool | getNameFromPar (const IOPar &) |
| virtual const name_type & | name () const |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
| virtual | ~ObjectWithName () |
| bool | hasName (const char *nm) const |
| bool | hasName (const name_type &nm) const |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static BufferString | getDispFileName (const MultiID &) |
| static SetMgr & | getMgr (const char *) |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Public Attributes | |
| Notifier< SetMgr > | bulkLocationChanged |
| Passes BulkChangeData*. More... | |
| Notifier< SetMgr > | locationChanged |
| Passes ChangeData*. More... | |
| Notifier< SetMgr > | setAdded |
| passes Set* More... | |
| Notifier< SetMgr > | setChanged |
| passes Set* More... | |
| Notifier< SetMgr > | setDispChanged |
| passes Set* More... | |
| Notifier< SetMgr > | setToBeRemoved |
| Passes Set*. More... | |
Protected Member Functions | |
| void | add (const MultiID &, Set *) |
| Set * | find (const char *) const |
| Set * | find (const MultiID &) const |
| MultiID * | find (const Set &) const |
| void | objRm (CallBacker *) |
| void | removeAll () |
| void | survChg (CallBacker *) |
Protected Member Functions inherited from NamedCallBacker | |
| void | sendDelNotif () const |
Protected Attributes | |
| BoolTypeSet | changed_ |
| TypeSet< MultiID > | ids_ |
| ObjectSet< Set > | pss_ |
| Undo & | undo_ |
Protected Attributes inherited from NamedCallBacker | |
| Threads::Atomic< bool > | delalreadytriggered_ |
| Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
| typedef OD::String | name_type |
Utility to manage pick set lifecycles. Also supports change notifications.
You can create your own set manager for your own special pick sets. There is a OD-wide Mgr() available which is supposed to hold all 'plain' picksets loaded in the OD-tree.
A new special-purpose manager is created by passing your own name to the static getMgr() method.
<>
| Pick::SetMgr::~SetMgr | ( | ) |
| Pick::SetMgr::SetMgr | ( | const char * | nm | ) |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
| const MultiID& Pick::SetMgr::id | ( | int | idx | ) | const |
| int Pick::SetMgr::indexOf | ( | const char * | ) | const |
| int Pick::SetMgr::indexOf | ( | const MultiID & | ) | const |
| int Pick::SetMgr::indexOf | ( | const Set & | ) | const |
|
inline |
|
protected |
|
protected |
| void Pick::SetMgr::removeCBs | ( | CallBacker * | ) |
| void Pick::SetMgr::reportBulkChange | ( | CallBacker * | sender, |
| const BulkChangeData & | |||
| ) |
| void Pick::SetMgr::reportChange | ( | CallBacker * | sender, |
| const ChangeData & | |||
| ) |
| void Pick::SetMgr::reportChange | ( | CallBacker * | sender, |
| const Set & | |||
| ) |
| void Pick::SetMgr::reportDispChange | ( | CallBacker * | sender, |
| const Set & | |||
| ) |
| void Pick::SetMgr::setID | ( | int | idx, |
| const MultiID & | |||
| ) |
|
inline |
|
inline |
|
protected |
| Undo& Pick::SetMgr::undo | ( | ) |
| const Undo& Pick::SetMgr::undo | ( | ) | const |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022