OpendTect-6_4
6.4
|
Is the base class for all threads. Start it by creating it and give it the function or CallBack to execute. More...
Public Member Functions | |
Thread (void(*)(void *), const char *nm=0) | |
Thread (const CallBack &, const char *nm=0) | |
virtual | ~Thread () |
const void * | threadID () const |
void | waitForFinish () |
const char * | getName () const |
Protected Attributes | |
::QThread * | thread_ |
Is the base class for all threads. Start it by creating it and give it the function or CallBack to execute.
The process that has created the thread must call destroy() or detach().
Threads::Thread::Thread | ( | void(*)(void *) | , |
const char * | nm = 0 |
||
) |
Threads::Thread::Thread | ( | const CallBack & | , |
const char * | nm = 0 |
||
) |
|
virtual |
const char* Threads::Thread::getName | ( | ) | const |
const void* Threads::Thread::threadID | ( | ) | const |
void Threads::Thread::waitForFinish | ( | ) |
Stop the thread with this function. Will wait for the thread to return.
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019