OpendTect-6_4  6.4
Classes | Namespaces | Macros | Typedefs
threadwork.h File Reference
Include dependency graph for threadwork.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Threads::WorkManager
 Takes work and puts it on a queue for execution either in parallel, singlethread or manual. More...
 
class  Threads::Work
 The abstraction of something that can be done. It can be an ordinary CallBack, a static function (must return bool) or a TaskFunction on a CallBackerinheriting class, or a Task. The three examples are shown below. More...
 

Namespaces

 Threads
 interface to threads that should be portable.
 

Macros

#define mSTFN(clss, fn)   ((::TaskFunction)(&clss::fn))
 
#define mWMT(obj, clss, fn)   ::Threads::Work( obj, mSTFN(clss,fn) )
 

Typedefs

typedef bool(* StaticTaskFunction) ()
 
typedef bool(CallBacker::* TaskFunction) ()
 

Macro Definition Documentation

#define mSTFN (   clss,
  fn 
)    ((::TaskFunction)(&clss::fn))
#define mWMT (   obj,
  clss,
  fn 
)    ::Threads::Work( obj, mSTFN(clss,fn) )

Typedef Documentation

typedef bool(* StaticTaskFunction) ()
typedef bool(CallBacker::* TaskFunction) ()

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