#include <acscourseMount2LoopImpl.h>
Inheritance diagram for PositionControlThread:
Public Member Functions | |
PositionControlThread (const ACE_CString &name, Mount2LoopImpl *mount_p, const ACS::TimeInterval &responseTime=ThreadBase::defaultResponseTime, const ACS::TimeInterval &sleepTime=ThreadBase::defaultSleepTime) | |
~PositionControlThread () | |
virtual void | runLoop () |
PositionControlThread (const ACE_CString &name, Mount4Impl *mount_p, const ACS::TimeInterval &responseTime=ThreadBase::defaultResponseTime, const ACS::TimeInterval &sleepTime=ThreadBase::defaultSleepTime) | |
~PositionControlThread () | |
virtual void | runLoop () |
Protected Attributes | |
Mount2LoopImpl * | mount_p |
Mount4Impl * | mount_p |
|
Destructor
|
|
Destructor |
|
|
|
|
|
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.
|
|
Thread method invoqued at any iteration of the thread loop Is the real thread performer. Reimplemented from ACS::Thread.
|
|
|
|
Data member used to store the pointer to the Mount2LoopImpl component implentation that owns the thread. Received from the constructor and used in the runLoop() |