Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

LOW_thread_Factory Class Reference

Factory class for platform specific objects related to threads. More...

#include <LOW_thread_Factory.h>

List of all members.

Static Public Member Functions

LOW_thread_mutexnew_mutex (const LOW_thread_mutex::mutexKind_t inMutexKind)
 Platform aware replacement for creating dynamic instances of LOW_thread_mutex.

LOW_thread_rwlocknew_rwlock ()
 Platform aware replacement for creating dynamic instances of LOW_thread_rwlock.

LOW_thread_threadnew_thread (LOW_thread_runable *inRunable)
 Platform aware replacement for creating dynamic instances of LOW_thread_thread.


Private Member Functions

 LOW_thread_Factory ()
 Constructor.

 ~LOW_thread_Factory ()
 Destructor.


Detailed Description

Factory class for platform specific objects related to threads.

This class also contains platform specific type definitions.

This class is thread-safe.

See also:
LOW_thread_mutex

LOW_thread_thread

Author:
Harald Roelle

Definition at line 48 of file LOW_thread_Factory.h.


Constructor & Destructor Documentation

LOW_thread_Factory::LOW_thread_Factory  )  [private]
 

Constructor.

Private to prevent instaciation as this is a static factory.

Definition at line 30 of file LOW_thread_Factory.cpp.

LOW_thread_Factory::~LOW_thread_Factory  )  [private]
 

Destructor.

Private to prevent instaciation as this is a static factory.

Definition at line 35 of file LOW_thread_Factory.cpp.


Member Function Documentation

LOW_thread_mutex * LOW_thread_Factory::new_mutex const LOW_thread_mutex::mutexKind_t  inMutexKind  )  [static]
 

Platform aware replacement for creating dynamic instances of LOW_thread_mutex.

Parameters:
inMutexKind Kind of the new mutex.
Returns:
Pointer to new instance of LOW_thread_mutex.
See also:
LOW_thread_mutex

Definition at line 45 of file LOW_thread_Factory.cpp.

Referenced by LOW_compJalousieController::LOW_compJalousieController(), LOW_link::LOW_link(), and LOW_thread_thread_POSIX::LOW_thread_thread_POSIX().

LOW_thread_rwlock * LOW_thread_Factory::new_rwlock  )  [static]
 

Platform aware replacement for creating dynamic instances of LOW_thread_rwlock.

Returns:
Pointer to new instance of LOW_thread_rwlock.
See also:
LOW_thread_rwlock

Definition at line 53 of file LOW_thread_Factory.cpp.

Referenced by LOW_objectSynchronizer::__synchronizeStaticRead::__synchronizeStaticRead(), LOW_objectSynchronizer::__synchronizeStaticReadWeak::__synchronizeStaticReadWeak(), LOW_objectSynchronizer::__synchronizeStaticWrite::__synchronizeStaticWrite(), LOW_objectSynchronizer::__synchronizeStaticWriteWeak::__synchronizeStaticWriteWeak(), LOW_objectSynchronizer::LOW_objectSynchronizer(), and LOW_objectSynchronizer::operator=().

LOW_thread_thread * LOW_thread_Factory::new_thread LOW_thread_runable inRunable  )  [static]
 

Platform aware replacement for creating dynamic instances of LOW_thread_thread.

Parameters:
inRunable Object to be executed in the new thread.
Returns:
Pointer to new instance of LOW_thread_thread.
See also:
LOW_thread_thread

Definition at line 61 of file LOW_thread_Factory.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 3 11:31:07 2004 for OneWireLibrary++ by doxygen 1.3.2