ACS::ThreadManager − |
#include <acsThreadManager.h> Inherits ACS::ThreadManagerBase, and Logging::Loggable. |
Classes |
class ThreadManagerTSS |
Public Member Functions |
ThreadManager () |
ThreadManager (Logging::Logger::LoggerSmartPtr logger) |
template<class T > T * create (const ACE_CString name) |
template<class T > T * create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime) |
template<class T > T * create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del) |
template<class T > T * create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags) |
template<class T > T * create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags, const size_t stackSize) |
template<class T , class P > T * create (const ACE_CString name, P &) |
template<class T , class P > T * create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime) |
template<class T , class P > T * create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del) |
template<class T , class P > T * create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags) |
template<class T , class P > T * create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags, const size_t stackSize) |
void destroy (ACS::Thread *thr) |
Private Member Functions |
void operator= (const ThreadManager &) |
ThreadManager (const ThreadManager &) |
Static Private Attributes |
static ACE_TSS< ThreadManagerTSS > threadManagerTSS |
Friends |
class Thread |
This clas is an extension of ACS::ThreadManagerBase which is used with ACS::Thread |
ACS::ThreadManager::ThreadManager () [inline] Thread Manager Constructor |
ACS::ThreadManager::ThreadManager (Logging::Logger::LoggerSmartPtr logger) [inline] Thread Manager Constructor, that takes logger as parameter. This allows to provide an external, pre-configured, logger in the ThreadManager. |
ACS::ThreadManager::ThreadManager (const ThreadManager &) [private] ALMA C++ coding standards state copy constructors should be disabled. |
template<class T > T* ACS::ThreadManager::create (const ACE_CString name) create methods which create a user defined thread object of type T (= derived from ACS::Thread) without a parameter and adds it to the list of Threads. |
Exceptions: |
acsthreadErrType::ThreadAlreadyExistExImpl |
template<class T > T* ACS::ThreadManager::create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime) |
template<class T > T* ACS::ThreadManager::create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags) |
template<class T , class P > T* ACS::ThreadManager::create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags, const size_t stackSize) |
template<class T , class P > T* ACS::ThreadManager::create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del) |
template<class T , class P > T* ACS::ThreadManager::create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags) |
template<class T , class P > T* ACS::ThreadManager::create (const ACE_CString name, P &, const TimeInterval responseTime, const TimeInterval sleepTime) |
template<class T , class P > T* ACS::ThreadManager::create (const ACE_CString name, P &) create methods which create a user defined thread object of type T (= derived from ACS::Thread) with a parameter of type P and add it to the list of Threads. |
Exceptions: |
acsthreadErrType::ThreadAlreadyExistExImpl |
template<class T > T* ACS::ThreadManager::create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del, const long thrFlags, const size_t stackSize) |
template<class T > T* ACS::ThreadManager::create (const ACE_CString name, const TimeInterval responseTime, const TimeInterval sleepTime, bool del) |
void ACS::ThreadManager::destroy (ACS::Thread * thr) [inline] destoy method destroys a thread object |
Parameters: |
the pointer to the thread object |
References ACS::ThreadBase::getName(). |
void ACS::ThreadManager::operator= (const ThreadManager &) [private] ALMA C++ coding standards state assignment operators should be disabled. |
friend class Thread [friend] |
ACE_TSS<ThreadManagerTSS> ACS::ThreadManager::threadManagerTSS [static, private] Thread Manager TSS used for sending thread manager pointer to thread objects |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |