OpendTect-6_4  6.4
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 execute (Task &t)
 
virtual bool execResult () const
 

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 ( )
inline
virtual TaskRunner::~TaskRunner ( )
inlinevirtual

Member Function Documentation

virtual bool TaskRunner::execResult ( ) const
inlinevirtual
static bool TaskRunner::execute ( TaskRunner tr,
Task  
)
static

Taskrunner may be zero.

virtual bool TaskRunner::execute ( Task t)
inlinevirtual

Reimplemented in TextTaskRunner, and uiTaskRunner.

Member Data Documentation

bool TaskRunner::execres_
protected

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