![]() |
Diana Software
|
base abstract class for running a separate thread More...
Public Member Functions | |
| QBaseThread () | |
| virtual | ~QBaseThread () |
| void | SetError (QError *err) |
| void | SetControlFlag (const int *flag) |
| virtual void | operator() ()=0 |
Protected Attributes | |
| QError * | fErr |
| const int * | fControlFlag |
base abstract class for running a separate thread
Child classes should implement operator()(). At the beginning of this method They should check that both fErr and fControlFlag are not NULL. The thread is supposed to run until fControlFlag is set to anything other than 0, or until an error occurs. In this latter case fErr should be set accordingly, and the thread must exit.
Definition at line 20 of file QBaseThread.hh.
|
inline |
Definition at line 23 of file QBaseThread.hh.
|
inlinevirtual |
Definition at line 24 of file QBaseThread.hh.
|
pure virtual |
this is where the thread is run
Implemented in QDbWatchdogThread.
|
inline |
Definition at line 26 of file QBaseThread.hh.
References fControlFlag.
Referenced by QDbWatchdogThreadHandler::Start().
|
inline |
Definition at line 25 of file QBaseThread.hh.
Referenced by QDbWatchdogThreadHandler::Start().
|
protected |
Definition at line 32 of file QBaseThread.hh.
Referenced by QDbWatchdogThread::operator()(), and SetControlFlag().
|
protected |
Definition at line 31 of file QBaseThread.hh.
Referenced by QDbWatchdogThread::operator()(), and SetError().