Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

PreStack::EventReader Class Reference

Inheritance diagram for PreStack::EventReader:
Executor SequentialTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 EventReader (IOObj *, EventManager *, bool trigger)
 ~EventReader ()
void setSelection (const BinIDValueSet *)
void setSelection (const HorSampling *)
bool prepareWork ()
 Will run automaticly at first nextStep.
bool getPositions (BinIDValueSet &) const
 Only after first nextStep, or prepareWork.
bool getBoundingBox (Interval< int > &inlrg, Interval< int > &crlrg) const
 Only after first nextStep, or prepareWork.
const char * message () const
const char * errMsg () const
int nextStep ()

Static Public Member Functions

static bool readSamplingData (const IOObj &, SamplingData< int > &inl, SamplingData< int > &crl)
static int encodeEventType (VSEvent::Type)
static VSEvent::Type decodeEventType (int)
static const char * sFileType ()
static const char * sKeyInt16DataChar ()
static const char * sKeyInt32DataChar ()
static const char * sKeyFloatDataChar ()
static const char * sKeyPrimaryDipSource ()
static const char * sKeySecondaryDipSource ()
static const char * sKeyISamp ()
static const char * sKeyCSamp ()
static const char * sKeyNrHorizons ()
static const char * sKeyHorizonID ()
static const char * sKeyNextHorizonID ()
static const char * sKeyHorizonRef ()
static const char * sOldHorizonFileName ()
static const char * sAuxDataFileName ()
static const char * sHorizonFileType ()
static const char * sHorizonFileVersion ()

Protected Member Functions

bool addReader (const char *fnm)
bool readAuxData (const char *fnm)

Protected Attributes

const IOObjioobj_
EventManagereventmanager_
const BinIDValueSetbidsel_
const HorSamplinghorsel_
ObjectSet< EventPatchReader > patchreaders_
BufferString errmsg_
bool trigger_

Detailed Description

Reader for prestack events.


Constructor & Destructor Documentation

PreStack::EventReader::EventReader ( IOObj ,
EventManager ,
bool  trigger 
)

If not mgr is given, only prepareWork & getPositions can be run, no real work

PreStack::EventReader::~EventReader (  ) 

Member Function Documentation

bool PreStack::EventReader::addReader ( const char *  fnm  )  [protected]
static VSEvent::Type PreStack::EventReader::decodeEventType ( int   )  [static]
static int PreStack::EventReader::encodeEventType ( VSEvent::Type   )  [static]
const char* PreStack::EventReader::errMsg (  )  const
bool PreStack::EventReader::getBoundingBox ( Interval< int > &  inlrg,
Interval< int > &  crlrg 
) const

Only after first nextStep, or prepareWork.

bool PreStack::EventReader::getPositions ( BinIDValueSet  )  const

Only after first nextStep, or prepareWork.

const char* PreStack::EventReader::message (  )  const [inline, virtual]

Reimplemented from Task.

int PreStack::EventReader::nextStep (  )  [virtual]

Implements SequentialTask.

bool PreStack::EventReader::prepareWork (  ) 

Will run automaticly at first nextStep.

bool PreStack::EventReader::readAuxData ( const char *  fnm  )  [protected]
static bool PreStack::EventReader::readSamplingData ( const IOObj ,
SamplingData< int > &  inl,
SamplingData< int > &  crl 
) [static]
static const char* PreStack::EventReader::sAuxDataFileName (  )  [inline, static]
void PreStack::EventReader::setSelection ( const HorSampling  ) 
void PreStack::EventReader::setSelection ( const BinIDValueSet  ) 
static const char* PreStack::EventReader::sFileType (  )  [inline, static]
static const char* PreStack::EventReader::sHorizonFileType (  )  [inline, static]
static const char* PreStack::EventReader::sHorizonFileVersion (  )  [inline, static]
static const char* PreStack::EventReader::sKeyCSamp (  )  [inline, static]
static const char* PreStack::EventReader::sKeyFloatDataChar (  )  [inline, static]
static const char* PreStack::EventReader::sKeyHorizonID (  )  [inline, static]
static const char* PreStack::EventReader::sKeyHorizonRef (  )  [inline, static]
static const char* PreStack::EventReader::sKeyInt16DataChar (  )  [inline, static]
static const char* PreStack::EventReader::sKeyInt32DataChar (  )  [inline, static]
static const char* PreStack::EventReader::sKeyISamp (  )  [inline, static]
static const char* PreStack::EventReader::sKeyNextHorizonID (  )  [inline, static]
static const char* PreStack::EventReader::sKeyNrHorizons (  )  [inline, static]
static const char* PreStack::EventReader::sKeyPrimaryDipSource (  )  [inline, static]
static const char* PreStack::EventReader::sKeySecondaryDipSource (  )  [inline, static]
static const char* PreStack::EventReader::sOldHorizonFileName (  )  [inline, static]

Member Data Documentation

ObjectSet<EventPatchReader> PreStack::EventReader::patchreaders_ [protected]