| OpendTect 8.0

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TaskRunner Class Reference
Basic

Class that can execute a task. More...

`#include <task.h>`

Inheritance diagram for TaskRunner:
[legend]

## Public Member Functions
| TaskRunner ()
| TaskRunner (const TaskRunner &)=delete
virtual | ~TaskRunner ()
virtual bool | execResult () const
virtual bool | execute (Task &t)
TaskRunner & | operator= (const TaskRunner &)=delete

## Static Public Member Functions
static bool | execute (TaskRunner *tr, Task &)
| Taskrunner may be zero.

## 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() [1/2]

TaskRunner::TaskRunner | ( |  | ) |
| inline

## ◆ ~TaskRunner()

virtual TaskRunner::~TaskRunner | ( |  | ) |
| inline virtual

## ◆ TaskRunner() [2/2]

TaskRunner::TaskRunner | ( | const TaskRunner & |  | ) |
| delete

## Member Function Documentation

## ◆ execResult()

virtual bool TaskRunner::execResult | ( |  | ) | const
| inline virtual

## ◆ execute() [1/2]

virtual bool TaskRunner::execute | ( | Task & | t | ) |
| inline virtual

Reimplemented in TextTaskRunner, and uiTaskRunner.

## ◆ execute() [2/2]

static bool TaskRunner::execute | ( | TaskRunner * | tr,
|  | Task & | )
| static

Taskrunner may be zero.

## ◆ operator=()

TaskRunner & TaskRunner::operator= | ( | const TaskRunner & |  | ) |
| delete

## Member Data Documentation

## ◆ execres_

bool TaskRunner::execres_
| protected

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