SendThread::SendThread |
( |
ToolList * |
toolList | ) |
|
|
explicit |
Creates a SendThread. The thread can be started with runThread(). Use stopThread() to stop and delete the thread.
- Parameters
-
toolList. | The toolList that the thread will work on. |
SendThread::~SendThread |
( |
| ) |
|
|
protected |
Destructor of function. Stops the thread if still running. This function should not be called directly. The object is implicitly deleted by the orb when join() is called. The orb must exist to make this work.
void* SendThread::run_undetached |
( |
void * |
arg | ) |
|
|
protected |
Main function of thread Contains main loop of thread, which has to end if runSendThread is set to false
void SendThread::startThread |
( |
| ) |
|
void SendThread::stopThread |
( |
| ) |
|
Stops the thread. Waits for the thread to terminate properly. Deletes the threadobject if the orb is running. A missing orb results in memory leaks.
The documentation for this class was generated from the following file: