#include <acsexmplFridgeImpl.h>
Inheritance diagram for FridgeThread:
Public Member Functions | |
FridgeThread (const ACE_CString &name, FridgeControl *fridgeControl, const ACS::TimeInterval &responseTime=ThreadBase::defaultResponseTime, const ACS::TimeInterval &sleepTime=ThreadBase::defaultSleepTime) | |
~FridgeThread () | |
virtual void | runLoop () |
Protected Attributes | |
int | loopCounter_m |
FridgeControl * | fridgeControl_p |
|
|
|
|
|
Basic used hook to implement the thread functionality in a periodic loop. The method is executed in a loop until the thread is alive and every #responseTime 100ns by the run method. The thread can be exited from the lop by calling ACS::ThreadBase::stop or ACS::ThreadBase::exit command. If the run method is overridden than runLoop is not executed. Reimplemented from ACS::Thread.
|
|
|
|
|