OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TaskRunner Class Reference

Class that can execute a task. More...

Inheritance diagram for TaskRunner:
[legend]

Public Member Functions

 TaskRunner ()
 
virtual ~TaskRunner ()
 
virtual bool execResult () const
 
virtual bool execute (Task &t)
 

Static Public Member Functions

static bool execute (TaskRunner *tr, Task &)
 Taskrunner may be zero. More...
 

Protected Attributes

bool execres_
 

Detailed Description

Class that can execute a task.

Can be used as such, be inherited by fancy subclasses with user interface and progressbars etc.

<>

Constructor & Destructor Documentation

◆ TaskRunner()

TaskRunner::TaskRunner ( )
inline

◆ ~TaskRunner()

virtual TaskRunner::~TaskRunner ( )
inlinevirtual

Member Function Documentation

◆ execResult()

virtual bool TaskRunner::execResult ( ) const
inlinevirtual

◆ execute() [1/2]

virtual bool TaskRunner::execute ( Task t)
inlinevirtual

Reimplemented in uiTaskRunner, and TextTaskRunner.

◆ execute() [2/2]

static bool TaskRunner::execute ( TaskRunner tr,
Task  
)
static

Taskrunner may be zero.

Member Data Documentation

◆ execres_

bool TaskRunner::execres_
protected

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