OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
Attrib::Processor Class Reference

Attribute Processor. More...

Inheritance diagram for Attrib::Processor:
[legend]

Public Member Functions

void showDataAvailabilityErrors (bool yn)
 
- Public Member Functions inherited from Executor
 Executor (const char *nm)
 
virtual ~Executor ()
 
virtual int doStep ()
 
bool go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
bool go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
virtual bool execute ()
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=0)
 
virtual ~SequentialTask ()
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
ProgressMeterprogressMeter ()
 
const ProgressMeterprogressMeter () const
 
bool execute ()
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
bool workControlEnabled () const
 
virtual void controlWork (Control)
 
virtual Control getState () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Member Functions

void useFullProcess (int &)
 
void useSCProcess (int &)
 
void fullProcess (const SeisTrcInfo *)
 
void defineGlobalOutputSpecs (TypeSet< int > &, TrcKeyZSampling &)
 
void prepareForTableOutput ()
 
void computeAndSetPosAndDesVol (TrcKeyZSampling &)
 
bool isHidingDataAvailabilityError () const
 
- Protected Member Functions inherited from Executor
virtual bool goImpl (od_ostream *, bool, bool, int)
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Descdesc_
 
Providerprovider_
 
int nriter_
 
int nrdone_
 
bool is2d_
 
TypeSet< int > outpinterest_
 
uiString errmsg_
 
bool isinited_
 
bool useshortcuts_
 
BinID prevbid_
 
Seis::SelDatasd_
 
bool showdataavailabilityerrors_
 
- Protected Attributes inherited from SequentialTask
ProgressMeterprogressmeter_
 
int lastupdate_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

mODTextTranslationClass(Processor) public ~Processor ()
 
virtual bool isOK () const
 
void addOutput (Output *)
 
void setLineName (const char *)
 
int nextStep ()
 
void init ()
 
od_int64 totalNr () const
 
od_int64 nrDone () const
 
uiString uiMessage () const
 will be message() again in 7.x More...
 
uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
void addOutputInterest (int sel)
 
bool setZIntervals (TypeSet< Interval< int > > &, const BinID &, const Coord &)
 
bool setZIntervalsSpecial60 (TypeSet< Interval< int > > &, const BinID &, const Coord &, const TrcKey &)
 
void computeAndSetRefZStepAndZ0 ()
 
const char * getAttribName () const
 
const char * getAttribUserRef () const
 
ProvidergetProvider ()
 
void setRdmPaths (TypeSet< BinID > *truepath, TypeSet< BinID > *snappedpath)
 

Private Attributes

Notifier< Attrib::Processormoveonly
 
ObjectSet< Outputoutputs_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Static Public Member Functions inherited from SequentialTask
static int ErrorOccurred ()
 
static int Finished ()
 
static int MoreToDo ()
 
static int WarningAvailable ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 
- Public Attributes inherited from Executor
Notifier< Executorprestep
 
Notifier< Executorpoststep
 Only when MoreToDo will be returned. More...
 

Detailed Description

Attribute Processor.

Constructor & Destructor Documentation

mODTextTranslationClass (Processor) public Attrib::Processor::~Processor ( )
private

Member Function Documentation

void Attrib::Processor::addOutput ( Output )
private
void Attrib::Processor::addOutputInterest ( int  sel)
private
void Attrib::Processor::computeAndSetPosAndDesVol ( TrcKeyZSampling )
protected
void Attrib::Processor::computeAndSetRefZStepAndZ0 ( )
private
void Attrib::Processor::defineGlobalOutputSpecs ( TypeSet< int > &  ,
TrcKeyZSampling  
)
protected
void Attrib::Processor::fullProcess ( const SeisTrcInfo )
protected
const char* Attrib::Processor::getAttribName ( ) const
private
const char* Attrib::Processor::getAttribUserRef ( ) const
private
Provider* Attrib::Processor::getProvider ( )
inlineprivate
void Attrib::Processor::init ( )
private
bool Attrib::Processor::isHidingDataAvailabilityError ( ) const
protected
virtual bool Attrib::Processor::isOK ( ) const
privatevirtual
int Attrib::Processor::nextStep ( )
privatevirtual
Return values
MoreToDo()Not finished. Call me again.
Finished()Nothing more to do.
ErrorOccurred()Something went wrong.
Note
if function returns a value greater than cMoreToDo(), it should be interpreted as cMoreToDo().

Implements SequentialTask.

od_int64 Attrib::Processor::nrDone ( ) const
privatevirtual
Note
nrDone is only used for displaying progress and will be compared to totalNr to show user how large part of the task that is finished.

Reimplemented from Task.

void Attrib::Processor::prepareForTableOutput ( )
protected
void Attrib::Processor::setLineName ( const char *  )
private
void Attrib::Processor::setRdmPaths ( TypeSet< BinID > *  truepath,
TypeSet< BinID > *  snappedpath 
)
private
bool Attrib::Processor::setZIntervals ( TypeSet< Interval< int > > &  ,
const BinID ,
const Coord  
)
private
bool Attrib::Processor::setZIntervalsSpecial60 ( TypeSet< Interval< int > > &  ,
const BinID ,
const Coord ,
const TrcKey  
)
private
void Attrib::Processor::showDataAvailabilityErrors ( bool  yn)
od_int64 Attrib::Processor::totalNr ( ) const
privatevirtual

Reimplemented from Task.

uiString Attrib::Processor::uiMessage ( ) const
privatevirtual

will be message() again in 7.x

Note
totalNr is only used for displaying progress.

Reimplemented from Task.

uiString Attrib::Processor::uiNrDoneText ( ) const
inlineprivatevirtual

will be nrDoneText() in 7.x

Reimplemented from Task.

void Attrib::Processor::useFullProcess ( int &  )
protected
void Attrib::Processor::useSCProcess ( int &  )
protected

Member Data Documentation

Desc& Attrib::Processor::desc_
protected
uiString Attrib::Processor::errmsg_
protected
bool Attrib::Processor::is2d_
protected
bool Attrib::Processor::isinited_
protected
Notifier<Attrib::Processor> Attrib::Processor::moveonly
private

triggered after a position is reached that requires no processing, e.g. during initial buffer fills.

int Attrib::Processor::nrdone_
protected
int Attrib::Processor::nriter_
protected
TypeSet<int> Attrib::Processor::outpinterest_
protected
ObjectSet<Output> Attrib::Processor::outputs_
private
BinID Attrib::Processor::prevbid_
protected
Provider* Attrib::Processor::provider_
protected
Seis::SelData* Attrib::Processor::sd_
protected
bool Attrib::Processor::showdataavailabilityerrors_
protected
bool Attrib::Processor::useshortcuts_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019