|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
This class defines a thread for running tasks in a threads collection. Slave thread for the threads collection. More...
#include <threading.h>


Public Member Functions | |
| OSlaveThread (OThreadPool *pool) | |
| Build a slave thread for a threads collection. More... | |
| ~OSlaveThread () | |
| Destroy the slave thread; wait for the end of the thread. More... | |
| OSlaveThread (OThreadPool *pool) | |
| Build a slave thread for a threads collection. More... | |
| ~OSlaveThread () | |
| Destroy the slave thread; wait for the end of the thread. More... | |
Public Attributes | |
| bool | _bToEnd |
Protected Member Functions | |
| void | run () |
| Run a waiting task. More... | |
| void | run () |
Protected Attributes | |
| OThreadPool * | _pool |
| Pointer on the parent threads collection. More... | |
This class defines a thread for running tasks in a threads collection. Slave thread for the threads collection.
Definition at line 131 of file threading.h.
| OSlaveThread::OSlaveThread | ( | OThreadPool * | pool | ) |
Build a slave thread for a threads collection.
Definition at line 20 of file threading.cpp.
| OSlaveThread::~OSlaveThread | ( | ) |
Destroy the slave thread; wait for the end of the thread.
Definition at line 25 of file threading.cpp.
| OSlaveThread::OSlaveThread | ( | OThreadPool * | pool | ) |
Build a slave thread for a threads collection.
| OSlaveThread::~OSlaveThread | ( | ) |
Destroy the slave thread; wait for the end of the thread.
|
protected |
Run a waiting task.
Definition at line 30 of file threading.cpp.
|
protected |
| bool OSlaveThread::_bToEnd |
Definition at line 140 of file threading.h.
|
protected |
Pointer on the parent threads collection.
Definition at line 144 of file threading.h.