![]() |
stec-platform
|
The ReplyBlock class ReplyBlock reply block thread so it can be used again and again. This is quite a useful thread, it operates like QNX Reply blocking concept. Only running when someone tells it to. It handles all the signally and exits automatically when completed. Know what you are doing if you want to use this thread! More...
#include <replyblock.h>
Classes | |
struct | TQUE |
Public Types | |
typedef QList< TQUE > | VQVVArrayVArray |
Public Member Functions | |
ReplyBlock (QThread::Priority priority=QThread::LowPriority, QObject *parent=0) | |
Constructor. | |
virtual | ~ReplyBlock () |
Destructor. | |
void | run () |
Thread run or the process. More... | |
void | ProcessThis (TQUE cmd, int mseconds=0) |
Sends a message to the thread via queing and threading. More... | |
void | ProcessThis (int cmd, int mseconds=0) |
Sends a message to the thread via queing and threading. | |
virtual void | UserProcess (TQUE &) |
User Process. | |
virtual void | WakeMeUp (void) |
Called to wake up a thread so it can do something or exit. | |
![]() | |
VremThread (QObject *parent=0) | |
Constructor. | |
bool | cleanExit (int MaxdelayToTerminate_ms=10000) |
shutdown this thread cleanly, if it can it returns true, if fails return false if it needed to teminate More... | |
bool | ContinueToRun (void) |
run should poll this event to determine clean shutdown | |
Protected Member Functions | |
void | timerEvent (QTimerEvent *event) |
Timeout message, if waiting too long, a sender can tell the operation to timeout. More... | |
The ReplyBlock class ReplyBlock reply block thread so it can be used again and again. This is quite a useful thread, it operates like QNX Reply blocking concept. Only running when someone tells it to. It handles all the signally and exits automatically when completed. Know what you are doing if you want to use this thread!
void ReplyBlock::ProcessThis | ( | TQUE | cmd, |
int | mseconds = 0 |
||
) |
Sends a message to the thread via queing and threading.
send a message to the thread via queing and threading
void ReplyBlock::run | ( | ) |
Thread run or the process.
thread run or the process
List of awaiting threads
|
protected |
Timeout message, if waiting too long, a sender can tell the operation to timeout.
break it our for debug
always kill