Public Member Functions | |
BurnThread (size_t num) | |
virtual void | run () |
virtual | ~BurnThread () |
Private Attributes | |
size_t | m_num |
Thread for burning away 10% of CPU time.
Definition at line 110 of file ts_PeriodicThread.cpp.
BurnThread::BurnThread | ( | size_t | num | ) | [inline] |
Definition at line 114 of file ts_PeriodicThread.cpp.
virtual BurnThread::~BurnThread | ( | ) | [inline, virtual] |
Definition at line 119 of file ts_PeriodicThread.cpp.
virtual void BurnThread::run | ( | ) | [inline, virtual] |
This is the function running in the thread. This has to be reimplemented from derived classes. If you start the thread by calling Start() this function is executed in the thread. If you call don't want that function to be executed in the thread you could call it directly in your derived class.
Implements icl_core::thread::Thread.
Definition at line 122 of file ts_PeriodicThread.cpp.
size_t BurnThread::m_num [private] |
Definition at line 140 of file ts_PeriodicThread.cpp.