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

LOW_semaphoreSet Class Reference

Abstract base class for sets of integer semaphores. More...

#include <LOW_semaphoreSet.h>

Inheritance diagram for LOW_semaphoreSet:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void decSem (const unsigned int inSemNo) const=0
 Decrease a semaphore. More...

virtual void incSem (const unsigned int inSemNo) const=0
 Increase a semaphore. More...


Detailed Description

Abstract base class for sets of integer semaphores.

Each instance represents one set of integer semaphores.

Specific platforms dereive their implementation classes from this class.

The instances are created by LOW_semaphoreSetFactory, following the factory design pattern.

Note: There is no prescribed constructor. A class deriving from this class should give the opportunity to specify the number of semaphores in the set and their initial value.

See also:
LOW_semaphoreSetFactory
Author:
Harald Roelle, Helmut Reiser

Definition at line 41 of file LOW_semaphoreSet.h.


Member Function Documentation

virtual void LOW_semaphoreSet::decSem const unsigned int    inSemNo const [pure virtual]
 

Decrease a semaphore.

Parameters:
inSemNo  Number of the semaphore in the set.

Reimplemented in LOW_semaphoreSet_SysV.

Referenced by LOW_link::commLock::commLock(), LOW_compJalousieController::jcLock::jcLock(), LOW_helper_msglog::msgLock::msgLock(), and LOW_link::commLock::~commLock().

virtual void LOW_semaphoreSet::incSem const unsigned int    inSemNo const [pure virtual]
 

Increase a semaphore.

Parameters:
inSemNo  Number of the semaphore in the set.

Reimplemented in LOW_semaphoreSet_SysV.

Referenced by LOW_link::commLock::commLock(), LOW_link::commLock::~commLock(), LOW_compJalousieController::jcLock::~jcLock(), and LOW_helper_msglog::msgLock::~msgLock().


The documentation for this class was generated from the following file:
Generated on Sun Jan 12 21:07:58 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001