#include <acsThreadManager.h>
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.
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.
acsthreadErrType::ThreadAlreadyExistExImpl | ||
acsthreadErrType::CanNotCreateThreadExImpl |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime | |||
) |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime, | |||
bool | del, | |||
const long | thrFlags | |||
) |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
P & | , | |||
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime, | |||
bool | del, | |||
const long | thrFlags, | |||
const size_t | stackSize | |||
) |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
P & | , | |||
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime, | |||
bool | del | |||
) |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
P & | , | |||
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime, | |||
bool | del, | |||
const long | thrFlags | |||
) |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
P & | , | |||
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime | |||
) |
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.
acsthreadErrType::ThreadAlreadyExistExImpl | ||
acsthreadErrType::CanNotCreateThreadExImpl |
T* ACS::ThreadManager::create | ( | const ACE_CString | name, | |
const TimeInterval | responseTime, | |||
const TimeInterval | sleepTime, | |||
bool | del, | |||
const long | thrFlags, | |||
const size_t | stackSize | |||
) |
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
the | pointer to the thread object |
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