OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
ProgressRecorder Class Reference

ProgressMeter that helps unifying different tasks. More...

Inheritance diagram for ProgressRecorder:
[legend]

Public Member Functions

 ProgressRecorder ()
 
 ~ProgressRecorder ()
 
void reset ()
 
void setFrom (const Task &)
 
void setForwardTo (ProgressMeter *)
 
virtual void setStarted ()
 
virtual void setFinished ()
 
virtual void setName (const char *)
 
virtual void setTotalNr (int64_t)
 
virtual void setNrDone (int64_t)
 
virtual void setMessage (const uiString &)
 
void setMessage (const uiString &, bool printtolog)
 
virtual void setNrDoneText (const uiString &)
 
virtual void operator++ ()
 
const char * name () const
 
virtual int64_t nrDone () const
 
int64_t totalNr () const
 
uiString message () const
 
uiString nrDoneText () const
 
bool isStarted () const
 
bool isFinished () const
 
ProgressMeterforwardTo () const
 
virtual void skipProgress (bool)
 
- Public Member Functions inherited from ProgressMeter
virtual ~ProgressMeter ()
 

Protected Attributes

BufferString name_
 
int64_t nrdone_
 
int64_t totalnr_
 
uiString message_
 
uiString nrdonetext_
 
bool isstarted_
 
bool isfinished_
 
ProgressMeterforwardto_
 
Threads::Locklock_
 

Detailed Description

ProgressMeter that helps unifying different tasks.

Constructor & Destructor Documentation

ProgressRecorder::ProgressRecorder ( )
ProgressRecorder::~ProgressRecorder ( )

Member Function Documentation

ProgressMeter* ProgressRecorder::forwardTo ( ) const
bool ProgressRecorder::isFinished ( ) const
bool ProgressRecorder::isStarted ( ) const
uiString ProgressRecorder::message ( ) const
const char* ProgressRecorder::name ( ) const
virtual int64_t ProgressRecorder::nrDone ( ) const
virtual

Reimplemented from ProgressMeter.

uiString ProgressRecorder::nrDoneText ( ) const
virtual void ProgressRecorder::operator++ ( )
virtual

Implements ProgressMeter.

void ProgressRecorder::reset ( )
virtual void ProgressRecorder::setFinished ( )
virtual

Reimplemented from ProgressMeter.

void ProgressRecorder::setForwardTo ( ProgressMeter )
void ProgressRecorder::setFrom ( const Task )
virtual void ProgressRecorder::setMessage ( const uiString )
virtual

Reimplemented from ProgressMeter.

void ProgressRecorder::setMessage ( const uiString ,
bool  printtolog 
)
virtual void ProgressRecorder::setName ( const char *  )
virtual

Reimplemented from ProgressMeter.

virtual void ProgressRecorder::setNrDone ( int64_t  )
virtual

Reimplemented from ProgressMeter.

virtual void ProgressRecorder::setNrDoneText ( const uiString )
virtual

Reimplemented from ProgressMeter.

virtual void ProgressRecorder::setStarted ( )
virtual

Reimplemented from ProgressMeter.

virtual void ProgressRecorder::setTotalNr ( int64_t  )
virtual

Reimplemented from ProgressMeter.

virtual void ProgressRecorder::skipProgress ( bool  yn)
virtual

Force to skip progress info.

Reimplemented from ProgressMeter.

int64_t ProgressRecorder::totalNr ( ) const

Member Data Documentation

ProgressMeter* ProgressRecorder::forwardto_
protected
bool ProgressRecorder::isfinished_
protected
bool ProgressRecorder::isstarted_
protected
Threads::Lock& ProgressRecorder::lock_
protected
uiString ProgressRecorder::message_
protected
BufferString ProgressRecorder::name_
protected
int64_t ProgressRecorder::nrdone_
protected
uiString ProgressRecorder::nrdonetext_
protected
int64_t ProgressRecorder::totalnr_
protected

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