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

Protected Attributes

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

Detailed Description

ProgressMeter that helps unifying different tasks.

<>

Constructor & Destructor Documentation

◆ ProgressRecorder()

ProgressRecorder::ProgressRecorder ( )

◆ ~ProgressRecorder()

ProgressRecorder::~ProgressRecorder ( )

Member Function Documentation

◆ forwardTo()

ProgressMeter* ProgressRecorder::forwardTo ( ) const

◆ isFinished()

bool ProgressRecorder::isFinished ( ) const

◆ isStarted()

bool ProgressRecorder::isStarted ( ) const

◆ message()

uiString ProgressRecorder::message ( ) const

◆ name()

const char* ProgressRecorder::name ( ) const

◆ nrDone()

virtual int64_t ProgressRecorder::nrDone ( ) const
virtual

Reimplemented from ProgressMeter.

◆ nrDoneText()

uiString ProgressRecorder::nrDoneText ( ) const

◆ operator++()

virtual void ProgressRecorder::operator++ ( )
virtual

Implements ProgressMeter.

◆ reset()

void ProgressRecorder::reset ( )

◆ setFinished()

virtual void ProgressRecorder::setFinished ( )
virtual

Reimplemented from ProgressMeter.

◆ setForwardTo()

void ProgressRecorder::setForwardTo ( ProgressMeter )

◆ setFrom()

void ProgressRecorder::setFrom ( const Task )

◆ setMessage() [1/2]

virtual void ProgressRecorder::setMessage ( const uiString )
virtual

Reimplemented from ProgressMeter.

◆ setMessage() [2/2]

void ProgressRecorder::setMessage ( const uiString ,
bool  printtolog 
)

◆ setName()

virtual void ProgressRecorder::setName ( const char *  )
virtual

Reimplemented from ProgressMeter.

◆ setNrDone()

virtual void ProgressRecorder::setNrDone ( int64_t  )
virtual

Reimplemented from ProgressMeter.

◆ setNrDoneText()

virtual void ProgressRecorder::setNrDoneText ( const uiString )
virtual

Reimplemented from ProgressMeter.

◆ setStarted()

virtual void ProgressRecorder::setStarted ( )
virtual

Reimplemented from ProgressMeter.

◆ setTotalNr()

virtual void ProgressRecorder::setTotalNr ( int64_t  )
virtual

Reimplemented from ProgressMeter.

◆ skipProgress()

virtual void ProgressRecorder::skipProgress ( bool  yn)
virtual

Force to skip progress info.

Reimplemented from ProgressMeter.

◆ totalNr()

int64_t ProgressRecorder::totalNr ( ) const

Member Data Documentation

◆ forwardto_

ProgressMeter* ProgressRecorder::forwardto_
protected

◆ isfinished_

bool ProgressRecorder::isfinished_
protected

◆ isstarted_

bool ProgressRecorder::isstarted_
protected

◆ lock_

Threads::Lock& ProgressRecorder::lock_
protected

◆ message_

uiString ProgressRecorder::message_
protected

◆ name_

BufferString ProgressRecorder::name_
protected

◆ nrdone_

int64_t ProgressRecorder::nrdone_
protected

◆ nrdonetext_

uiString ProgressRecorder::nrdonetext_
protected

◆ totalnr_

int64_t ProgressRecorder::totalnr_
protected

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