Public Member Functions | |
| int | moveToNextTrace (BinID startpos=BinID(-1,-1), bool firstcheck=false) |
| bool | getPossibleVolume (int outp, CubeSampling &) |
| BinID | getStepoutStep () const |
| float | getMaxDistBetwTrcs () const |
| void | updateStorageReqs (bool all=true) |
| void | adjust2DLineStoredVolume () |
| void | fillDataCubesWithTrc (DataCubes *) const |
| bool | needStoredInput () const |
Static Public Member Functions | |
| static void | initClass () |
| static const char * | attribName () |
| static const char * | keyStr () |
Protected Types | |
| enum | Status { Nada, StorageOpened, Ready } |
Protected Member Functions | |
| StorageProvider (Desc &) | |
| ~StorageProvider () | |
| bool | checkInpAndParsAtStart () |
| bool | allowParallelComputation () const |
| SeisMSCProvider * | getMSCProvider () const |
| bool | initMSCProvider () |
| bool | setMSCProvSelData () |
| void | setReqBufStepout (const BinID &, bool wait=false) |
| void | setDesBufStepout (const BinID &, bool wait=false) |
| bool | computeData (const DataHolder &output, const BinID &relpos, int t0, int nrsamples, int threadid) const |
| bool | fillDataHolderWithTrc (const SeisTrc *, const DataHolder &) const |
| bool | getZStepStoredData (float &step) const |
| BinDataDesc | getOutputFormat (int output) const |
| bool | checkDesiredTrcRgOK (StepInterval< int >, StepInterval< float >) |
| bool | checkDesiredVolumeOK () |
| void | checkClassType (const SeisTrc *, BoolTypeSet &) const |
| bool | setTableSelData () |
| bool | set2DRangeSelData () |
Static Protected Member Functions | |
| static Provider * | createInstance (Desc &) |
| static void | updateDesc (Desc &) |
Protected Attributes | |
| TypeSet< BinDataDesc > | datachar_ |
| SeisMSCProvider * | mscprov_ |
| BinID | stepoutstep_ |
| CubeSampling | storedvolume_ |
| enum Attrib::StorageProvider::Status | status_ |
enum Attrib::StorageProvider::Status [protected] |
| Attrib::StorageProvider::StorageProvider | ( | Desc & | ) | [protected] |
| Attrib::StorageProvider::~StorageProvider | ( | ) | [protected] |
| void Attrib::StorageProvider::adjust2DLineStoredVolume | ( | ) | [virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::allowParallelComputation | ( | ) | const [inline, protected, virtual] |
Reimplemented from Attrib::Provider.
| static const char* Attrib::StorageProvider::attribName | ( | ) | [inline, static] |
| void Attrib::StorageProvider::checkClassType | ( | const SeisTrc * | , | |
| BoolTypeSet & | ||||
| ) | const [protected] |
| bool Attrib::StorageProvider::checkDesiredTrcRgOK | ( | StepInterval< int > | , | |
| StepInterval< float > | ||||
| ) | [protected] |
| bool Attrib::StorageProvider::checkDesiredVolumeOK | ( | ) | [protected] |
| bool Attrib::StorageProvider::checkInpAndParsAtStart | ( | ) | [protected, virtual] |
Should be used for check _after_ inputs are set, for extra checks at other time use isOK()
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::computeData | ( | const DataHolder & | output, | |
| const BinID & | relpos, | |||
| int | t0, | |||
| int | nrsamples, | |||
| int | threadidx | |||
| ) | const [protected, virtual] |
The system will use the algorithm specified in this function to compute the attribute's outputs. The results will be stored as different series in the DataHolder output.
| threadid | thread identifier that may be handy when using multiple threads. |
Reimplemented from Attrib::Provider.
| void Attrib::StorageProvider::fillDataCubesWithTrc | ( | DataCubes * | ) | const [virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::fillDataHolderWithTrc | ( | const SeisTrc * | , | |
| const DataHolder & | ||||
| ) | const [protected] |
| float Attrib::StorageProvider::getMaxDistBetwTrcs | ( | ) | const [virtual] |
Reimplemented from Attrib::Provider.
| SeisMSCProvider* Attrib::StorageProvider::getMSCProvider | ( | ) | const [inline, protected, virtual] |
Reimplemented from Attrib::Provider.
| BinDataDesc Attrib::StorageProvider::getOutputFormat | ( | int | output | ) | const [protected, virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::getPossibleVolume | ( | int | outp, | |
| CubeSampling & | ||||
| ) | [virtual] |
Reimplemented from Attrib::Provider.
| BinID Attrib::StorageProvider::getStepoutStep | ( | ) | const [virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::getZStepStoredData | ( | float & | step | ) | const [inline, protected, virtual] |
Reimplemented from Attrib::Provider.
| static void Attrib::StorageProvider::initClass | ( | ) | [static] |
| bool Attrib::StorageProvider::initMSCProvider | ( | ) | [protected] |
| static const char* Attrib::StorageProvider::keyStr | ( | ) | [inline, static] |
| int Attrib::StorageProvider::moveToNextTrace | ( | BinID | startpos = BinID(-1,-1), |
|
| bool | firstcheck = false | |||
| ) | [virtual] |
| -1 | something went wrong | |
| 0 | finished, no more positions | |
| 1 | arrived at new position |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::needStoredInput | ( | ) | const [inline, virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::set2DRangeSelData | ( | ) | [protected] |
| void Attrib::StorageProvider::setDesBufStepout | ( | const BinID & | , | |
| bool | wait = false | |||
| ) | [protected, virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::setMSCProvSelData | ( | ) | [protected] |
| void Attrib::StorageProvider::setReqBufStepout | ( | const BinID & | , | |
| bool | wait = false | |||
| ) | [protected, virtual] |
Reimplemented from Attrib::Provider.
| bool Attrib::StorageProvider::setTableSelData | ( | ) | [protected] |
| static void Attrib::StorageProvider::updateDesc | ( | Desc & | ) | [static, protected] |
| void Attrib::StorageProvider::updateStorageReqs | ( | bool | all = true |
) | [virtual] |
Reimplemented from Attrib::Provider.
TypeSet<BinDataDesc> Attrib::StorageProvider::datachar_ [protected] |
SeisMSCProvider* Attrib::StorageProvider::mscprov_ [protected] |
enum Attrib::StorageProvider::Status Attrib::StorageProvider::status_ [protected] |
BinID Attrib::StorageProvider::stepoutstep_ [protected] |
CubeSampling Attrib::StorageProvider::storedvolume_ [protected] |
1.7.1