Public Member Functions | Protected Attributes

PositionControlThread Class Reference

#include <acscourseMount2LoopImpl.h>

Inheritance diagram for PositionControlThread:
Inheritance graph
[legend]
Collaboration diagram for PositionControlThread:
Collaboration graph
[legend]

List of all members.

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

Mount2LoopImplmount_p
Mount4Implmount_p

Constructor & Destructor Documentation

PositionControlThread::PositionControlThread ( const ACE_CString &  name,
Mount2LoopImpl mount_p,
const ACS::TimeInterval &  responseTime = ThreadBase::defaultResponseTime,
const ACS::TimeInterval &  sleepTime = ThreadBase::defaultSleepTime 
)

Destructor

Parameters:
name threads's name.
mount_p pointer to the containing Component
suspended see ACS::Thread documentation
responseTime see ACS::Thread documentation
sleepTime see ACS::Thread documentation
PositionControlThread::~PositionControlThread (  ) 

Destructor

PositionControlThread::PositionControlThread ( const ACE_CString &  name,
Mount4Impl mount_p,
const ACS::TimeInterval &  responseTime = ThreadBase::defaultResponseTime,
const ACS::TimeInterval &  sleepTime = ThreadBase::defaultSleepTime 
)
PositionControlThread::~PositionControlThread (  ) 

Member Function Documentation

virtual void PositionControlThread::runLoop (  )  [virtual]

Thread method invoqued at any iteration of the thread loop Is the real thread performer.

Reimplemented from ACS::Thread.

virtual void PositionControlThread::runLoop (  )  [virtual]

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.


Member Data Documentation

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()


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