Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ACS::ThreadManager Class Reference

#include <acsThreadManager.h>

Inheritance diagram for ACS::ThreadManager:

Inheritance graph
[legend]
Collaboration diagram for ACS::ThreadManager:

Collaboration graph
[legend]
List of all members.

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

ACE_TSS< ThreadManagerTSSthreadManagerTSS

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, 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,
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
 

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,
const long  thrFlags
 

template<class T>
T * ACS::ThreadManager::create const ACE_CString  name,
const TimeInterval  responseTime,
const TimeInterval  sleepTime,
bool  del
 

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  ) 
 

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 

void ACS::ThreadManager::destroy ACS::Thread thr  )  [inline]
 

destoy method destroys a thread object

Parameters:
the pointer to the thread object

void ACS::ThreadManager::operator= const ThreadManager  )  [private]
 

ALMA C++ coding standards state assignment operators should be disabled.


Member Data Documentation

ACE_TSS<ThreadManagerTSS> ACS::ThreadManager::threadManagerTSS [static, private]
 

Thread Manager TSS used for sending thread manager pointer to thread objects


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:37:00 2009 for ACS C++ API by doxygen 1.3.8