List of all members.
Classes |
| struct | DipSource |
Public Member Functions |
| | EventManager () |
| const TypeSet< int > & | getHorizonIDs () const |
| int | addHorizon (int id=-1) |
| bool | removeHorizon (int id) |
| const MultiID & | horizonEMReference (int id) const |
| void | setHorizonEMReference (int id, const MultiID &) |
| int | nextHorizonID (bool usethis) |
| void | setNextHorizonID (int) |
| const Color & | getColor () const |
| void | setColor (const Color &) |
| void | setDipSource (const DipSource &, bool primary) |
| const DipSource & | getDipSource (bool primary) const |
| Executor * | setStorageID (const MultiID &mid, bool reload) |
| const MultiID & | getStorageID () const |
| bool | getHorRanges (HorSampling &) const |
| bool | getLocations (BinIDValueSet &) const |
| Undo & | undo () |
| const Undo & | undo () const |
| Executor * | commitChanges () |
| Executor * | load (const BinIDValueSet &, bool trigger) |
| bool | isChanged () const |
| void | resetChangedFlag (bool onlyhorflag) |
| EventSet * | getEvents (const BinID &, bool load, bool create) |
| const EventSet * | getEvents (const BinID &) const |
| void | cleanUp (bool keepchanged) |
| MultiDimStorage< EventSet * > & | getStorage () |
| const BinID & | changeBid () const |
| void | blockChange (bool yn, bool sendall) |
| void | addReloadPositions (const BinIDValueSet &) |
| void | addReloadPosition (const BinID &) |
| void | reportChange (const BinID &) |
| void | fillPar (IOPar &) const |
| bool | usePar (const IOPar &) |
| bool | getDip (const BinIDValue &, int horid, float &inldip, float &crldip) |
Public Attributes |
| Notifier< EventManager > | resetChangeStatus |
| | Triggers when the chang flags are reseted.
|
| Notifier< EventManager > | change |
| Notifier< EventManager > | forceReload |
Protected Member Functions |
| bool | getDip (const BinIDValue &, int horid, bool primary, float &inldip, float &crldip) |
Static Protected Member Functions |
| static const char * | sKeyStorageID () |
Protected Attributes |
| MultiDimStorage< EventSet * > | events_ |
| Threads::Mutex & | eventmutex_ |
| MultiID | storageid_ |
| VelocityPicks * | velpicks_ |
| Color | color_ |
| TypeSet< int > | horids_ |
| TypeSet< MultiID > | horrefs_ |
| ObjectSet< EM::Horizon3D > | emhorizons_ |
| BinID | changebid_ |
| Threads::Mutex & | changebidmutex_ |
| BinIDValueSet * | notificationqueue_ |
| BinIDValueSet * | reloadbids_ |
| int | nexthorid_ |
| int | auxdatachanged_ |
| DipSource | primarydipsource_ |
| DipSource | secondarydipsource_ |
| SeisTrcReader * | primarydipreader_ |
| SeisTrcReader * | secondarydipreader_ |
| Undo | undo_ |
Private Member Functions |
| | mRefCountImpl (EventManager) |
Detailed Description
A EventManager is a set of EventsSet on multiple prestack gathers, and are identified under the same MultiID.
Constructor & Destructor Documentation
| PreStack::EventManager::EventManager |
( |
|
) |
|
Member Function Documentation
| int PreStack::EventManager::addHorizon |
( |
int |
id = -1 |
) |
|
- Returns:
- horid
- Note:
- id argument is only for internal use i.e. the reader
| void PreStack::EventManager::addReloadPosition |
( |
const BinID & |
|
) |
|
| void PreStack::EventManager::addReloadPositions |
( |
const BinIDValueSet & |
|
) |
|
| 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.
| const BinID& PreStack::EventManager::changeBid |
( |
|
) |
const [inline] |
Can be -1 if general (name/color/horid) change.
| void PreStack::EventManager::cleanUp |
( |
bool |
keepchanged |
) |
|
| Executor* PreStack::EventManager::commitChanges |
( |
|
) |
|
| void PreStack::EventManager::fillPar |
( |
IOPar & |
|
) |
const |
| const Color& PreStack::EventManager::getColor |
( |
|
) |
const [inline] |
| bool PreStack::EventManager::getDip |
( |
const BinIDValue & |
, |
|
|
int |
horid, |
|
|
float & |
inldip, |
|
|
float & |
crldip | |
|
) |
| | |
| bool PreStack::EventManager::getDip |
( |
const BinIDValue & |
, |
|
|
int |
horid, |
|
|
bool |
primary, |
|
|
float & |
inldip, |
|
|
float & |
crldip | |
|
) |
| | [protected] |
| const DipSource& PreStack::EventManager::getDipSource |
( |
bool |
primary |
) |
const |
| EventSet* PreStack::EventManager::getEvents |
( |
const BinID & |
, |
|
|
bool |
load, |
|
|
bool |
create | |
|
) |
| | |
| const EventSet* PreStack::EventManager::getEvents |
( |
const BinID & |
|
) |
const |
| const TypeSet<int>& PreStack::EventManager::getHorizonIDs |
( |
|
) |
const [inline] |
| bool PreStack::EventManager::getHorRanges |
( |
HorSampling & |
|
) |
const |
| bool PreStack::EventManager::getLocations |
( |
BinIDValueSet & |
|
) |
const |
| const MultiID& PreStack::EventManager::getStorageID |
( |
|
) |
const |
| const MultiID& PreStack::EventManager::horizonEMReference |
( |
int |
id |
) |
const |
| bool PreStack::EventManager::isChanged |
( |
|
) |
const |
| PreStack::EventManager::mRefCountImpl |
( |
EventManager |
|
) |
[private] |
| int PreStack::EventManager::nextHorizonID |
( |
bool |
usethis |
) |
|
| bool PreStack::EventManager::removeHorizon |
( |
int |
id |
) |
|
| void PreStack::EventManager::reportChange |
( |
const BinID & |
|
) |
|
| void PreStack::EventManager::resetChangedFlag |
( |
bool |
onlyhorflag |
) |
|
| void PreStack::EventManager::setColor |
( |
const Color & |
|
) |
|
| void PreStack::EventManager::setDipSource |
( |
const DipSource & |
, |
|
|
bool |
primary | |
|
) |
| | |
| void PreStack::EventManager::setHorizonEMReference |
( |
int |
id, |
|
|
const MultiID & |
| |
|
) |
| | |
| void PreStack::EventManager::setNextHorizonID |
( |
int |
|
) |
|
| Executor* PreStack::EventManager::setStorageID |
( |
const MultiID & |
mid, |
|
|
bool |
reload | |
|
) |
| | |
Sets the storage id.
- Parameters:
-
| 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 that no data on disk is changed/duplicated. That can be done with the translator. |
| static const char* PreStack::EventManager::sKeyStorageID |
( |
|
) |
[inline, static, protected] |
| Undo& PreStack::EventManager::undo |
( |
|
) |
[inline] |
| const Undo& PreStack::EventManager::undo |
( |
|
) |
const [inline] |
| bool PreStack::EventManager::usePar |
( |
const IOPar & |
|
) |
|
Member Data Documentation
- Note:
- Dont enable/disable, use blockChange if needed.
When triggered, all EventSets must be unreffed. Eventual load requirements should be added.
Triggers when the chang flags are reseted.