SamplingThread − |
#include <acssampObjImpl.h> Inherits ACS::Thread. |
Public Member Functions |
SamplingThread (const ACE_CString &name, ACSSampObjImpl< ACS_SAMP_TL > *sampObj, const ACS::TimeInterval &responseTime=ThreadBase::defaultResponseTime, const ACS::TimeInterval &sleepTime=ThreadBase::defaultSleepTime) |
~SamplingThread () |
virtual void runLoop () |
Private Attributes |
ACSSampObjImpl< ACS_SAMP_TL > * sampObj_p |
template<ACS_SAMP_C> class SamplingThread< ACS_SAMP_C > |
template<ACS_SAMP_C > SamplingThread< ACS_SAMP_C >::SamplingThread (const ACE_CString & name, ACSSampObjImpl< ACS_SAMP_TL > * sampObj, const ACS::TimeInterval & responseTime = ThreadBase::defaultResponseTime, const ACS::TimeInterval & sleepTime = ThreadBase::defaultSleepTime) [inline] |
template<ACS_SAMP_C > SamplingThread< ACS_SAMP_C >::~SamplingThread () [inline] |
template<ACS_SAMP_C > virtual void SamplingThread< ACS_SAMP_C >::runLoop () [inline, 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. |
template<ACS_SAMP_C > ACSSampObjImpl<ACS_SAMP_TL>* SamplingThread< ACS_SAMP_C >::sampObj_p [private] |
Referenced by SamplingThread< ACS_SAMP_TL >::runLoop(). |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |