Public Member Functions | Private Attributes
BurnThread Class Reference
Inheritance diagram for BurnThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BurnThread (size_t num)
virtual void run ()
virtual ~BurnThread ()

Private Attributes

size_t m_num

Detailed Description

Thread for burning away 10% of CPU time.

Definition at line 110 of file ts_PeriodicThread.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

size_t BurnThread::m_num [private]

Definition at line 140 of file ts_PeriodicThread.cpp.


The documentation for this class was generated from the following file:


fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:26