ACS::ThreadManager

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Friends And Related Function Documentation
Member Data Documentation
Author

NAME

ACS::ThreadManager −

SYNOPSIS

#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

Detailed Description

This clas is an extension of ACS::ThreadManagerBase which is used with ACS::Thread

Constructor & Destructor Documentation

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.

Member Function Documentation

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
acsthreadErrType::CanNotCreateThreadExImpl

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
acsthreadErrType::CanNotCreateThreadExImpl

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.

Friends And Related Function Documentation

friend class Thread [friend]

Member Data Documentation

ACE_TSS<ThreadManagerTSS> ACS::ThreadManager::threadManagerTSS [static, private] Thread Manager TSS used for sending thread manager pointer to thread objects

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.