A EventManager is a set of EventsSet on multiple PreStack gathers, and are identified under the same MultiID.
More...
|
| EventManager () |
|
int | addHorizon (int id=-1) |
|
void | addReloadPosition (const BinID &) |
|
void | addReloadPositions (const BinIDValueSet &) |
|
void | blockChange (bool yn, bool sendall) |
|
const BinID & | changeBid () const |
|
void | cleanUp (bool keepchanged) |
|
Executor * | commitChanges () |
|
void | fillPar (IOPar &) const |
|
const Color & | getColor () const |
|
bool | getDip (const BinIDValue &, int horid, float &inldip, float &crldip) |
|
const DipSource & | getDipSource (bool primary) const |
|
EventSet * | getEvents (const BinID &, bool load, bool create) |
|
const EventSet * | getEvents (const BinID &, bool load=false, bool create=false) const |
|
const TypeSet< int > & | getHorizonIDs () const |
|
bool | getHorRanges (TrcKeySampling &) const |
|
bool | getLocations (BinIDValueSet &) const |
|
MultiDimStorage< EventSet * > & | getStorage () |
|
const MultiID & | getStorageID () const |
|
const MultiID & | horizonEMReference (int id) const |
|
bool | isChanged () const |
|
Executor * | load (const BinIDValueSet &, bool trigger) |
|
int | nextHorizonID (bool usethis) |
|
bool | removeHorizon (int id) |
|
void | reportChange (const BinID &) |
|
void | resetChangedFlag (bool onlyhorflag) |
|
void | setColor (const Color &) |
|
void | setDipSource (const DipSource &, bool primary) |
|
void | setHorizonEMReference (int id, const MultiID &) |
|
void | setNextHorizonID (int) |
|
Executor * | setStorageID (const MultiID &mid, bool reload) |
|
Undo & | undo () |
|
const Undo & | undo () const |
|
bool | usePar (const IOPar &) |
|
| 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 |
|
|
bool | getDip (const BinIDValue &, int horid, bool primary, float &inldip, float &crldip) |
|
A EventManager is a set of EventsSet on multiple PreStack gathers, and are identified under the same MultiID.
<>
◆ EventManager()
PreStack::EventManager::EventManager |
( |
| ) |
|
◆ addHorizon()
int PreStack::EventManager::addHorizon |
( |
int |
id = -1 | ) |
|
- Returns
- horid
- Note
- id argument is only for internal use i.e. the reader
◆ addReloadPosition()
void PreStack::EventManager::addReloadPosition |
( |
const BinID & |
| ) |
|
◆ addReloadPositions()
void PreStack::EventManager::addReloadPositions |
( |
const BinIDValueSet & |
| ) |
|
◆ blockChange()
void PreStack::EventManager::blockChange |
( |
bool |
yn, |
|
|
bool |
sendall |
|
) |
| |
Turns off notification, but class will record changes. If sendall is on when turning off the block, all recorded changes will be triggered.
◆ changeBid()
const BinID& PreStack::EventManager::changeBid |
( |
| ) |
const |
|
inline |
Can be -1 if general (name/color/horid) change.
◆ cleanUp()
void PreStack::EventManager::cleanUp |
( |
bool |
keepchanged | ) |
|
◆ commitChanges()
Executor* PreStack::EventManager::commitChanges |
( |
| ) |
|
◆ fillPar()
void PreStack::EventManager::fillPar |
( |
IOPar & |
| ) |
const |
◆ getColor()
const Color& PreStack::EventManager::getColor |
( |
| ) |
const |
|
inline |
◆ getDip() [1/2]
bool PreStack::EventManager::getDip |
( |
const BinIDValue & |
, |
|
|
int |
horid, |
|
|
bool |
primary, |
|
|
float & |
inldip, |
|
|
float & |
crldip |
|
) |
| |
|
protected |
◆ getDip() [2/2]
bool PreStack::EventManager::getDip |
( |
const BinIDValue & |
, |
|
|
int |
horid, |
|
|
float & |
inldip, |
|
|
float & |
crldip |
|
) |
| |
◆ getDipSource()
const DipSource& PreStack::EventManager::getDipSource |
( |
bool |
primary | ) |
const |
◆ getEvents() [1/2]
EventSet* PreStack::EventManager::getEvents |
( |
const BinID & |
, |
|
|
bool |
load, |
|
|
bool |
create |
|
) |
| |
◆ getEvents() [2/2]
const EventSet* PreStack::EventManager::getEvents |
( |
const BinID & |
, |
|
|
bool |
load = false , |
|
|
bool |
create = false |
|
) |
| const |
◆ getHorizonIDs()
const TypeSet<int>& PreStack::EventManager::getHorizonIDs |
( |
| ) |
const |
|
inline |
◆ getHorRanges()
◆ getLocations()
bool PreStack::EventManager::getLocations |
( |
BinIDValueSet & |
| ) |
const |
◆ getStorage()
◆ getStorageID()
const MultiID& PreStack::EventManager::getStorageID |
( |
| ) |
const |
◆ horizonEMReference()
const MultiID& PreStack::EventManager::horizonEMReference |
( |
int |
id | ) |
const |
◆ isChanged()
bool PreStack::EventManager::isChanged |
( |
| ) |
const |
◆ load()
◆ nextHorizonID()
int PreStack::EventManager::nextHorizonID |
( |
bool |
usethis | ) |
|
◆ removeHorizon()
bool PreStack::EventManager::removeHorizon |
( |
int |
id | ) |
|
◆ reportChange()
void PreStack::EventManager::reportChange |
( |
const BinID & |
| ) |
|
◆ resetChangedFlag()
void PreStack::EventManager::resetChangedFlag |
( |
bool |
onlyhorflag | ) |
|
◆ setColor()
void PreStack::EventManager::setColor |
( |
const Color & |
| ) |
|
◆ setDipSource()
void PreStack::EventManager::setDipSource |
( |
const DipSource & |
, |
|
|
bool |
primary |
|
) |
| |
◆ setHorizonEMReference()
void PreStack::EventManager::setHorizonEMReference |
( |
int |
id, |
|
|
const MultiID & |
|
|
) |
| |
◆ setNextHorizonID()
void PreStack::EventManager::setNextHorizonID |
( |
int |
| ) |
|
◆ setStorageID()
Executor* PreStack::EventManager::setStorageID |
( |
const MultiID & |
mid, |
|
|
bool |
reload |
|
) |
| |
Sets the storage id.
- Parameters
-
mid | Database Object key |
reload | if true, all data will be removed, forceReload will trigger, and data at the reload positions will be loaded from the new data. |
- Note
- Note that no data on disk is changed/duplicated. That can be done with the translator.
◆ sKeyStorageID()
static const char* PreStack::EventManager::sKeyStorageID |
( |
| ) |
|
|
inlinestaticprotected |
◆ undo() [1/2]
Undo& PreStack::EventManager::undo |
( |
| ) |
|
|
inline |
◆ undo() [2/2]
const Undo& PreStack::EventManager::undo |
( |
| ) |
const |
|
inline |
◆ usePar()
bool PreStack::EventManager::usePar |
( |
const IOPar & |
| ) |
|
◆ auxdatachanged_
int PreStack::EventManager::auxdatachanged_ |
|
protected |
◆ change
- Note
- Dont enable/disable, use blockChange if needed.
◆ changebid_
BinID PreStack::EventManager::changebid_ |
|
protected |
◆ changebidlock_
◆ color_
Color PreStack::EventManager::color_ |
|
protected |
◆ emhorizons_
◆ eventlock_
◆ events_
◆ forceReload
When triggered, all EventSets must be unreffed. Eventual load requirements should be added.
◆ horids_
TypeSet<int> PreStack::EventManager::horids_ |
|
protected |
◆ horrefs_
◆ nexthorid_
int PreStack::EventManager::nexthorid_ |
|
protected |
◆ notificationqueue_
◆ primarydipreader_
◆ primarydipsource_
DipSource PreStack::EventManager::primarydipsource_ |
|
protected |
◆ reloadbids_
◆ resetChangeStatus
Triggers when the chang flags are reseted.
◆ secondarydipreader_
◆ secondarydipsource_
DipSource PreStack::EventManager::secondarydipsource_ |
|
protected |
◆ storageid_
MultiID PreStack::EventManager::storageid_ |
|
protected |
◆ undo_
Undo PreStack::EventManager::undo_ |
|
protected |
◆ velpicks_
VelocityPicks* PreStack::EventManager::velpicks_ |
|
protected |