Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::SemId Class Reference

This class is defined in order to distinguish semaphore and shared memory id's from plain integers when constructing a Semaphore or a SharedMemory object. More...

#include <Semaphores.h>

Collaboration diagram for PLearn::SemId:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SemId (int i=-1)
 -1 means the id was not allocated

 SemId (SemId &semid)

Public Attributes

int id

Detailed Description

This class is defined in order to distinguish semaphore and shared memory id's from plain integers when constructing a Semaphore or a SharedMemory object.

Definition at line 87 of file Semaphores.h.


Constructor & Destructor Documentation

PLearn::SemId::SemId int  i = -1  )  [inline]
 

-1 means the id was not allocated

Definition at line 90 of file Semaphores.h.

References id.

PLearn::SemId::SemId SemId semid  )  [inline]
 

Definition at line 91 of file Semaphores.h.

References id.


Member Data Documentation

int PLearn::SemId::id
 

Definition at line 89 of file Semaphores.h.

Referenced by SemId().


The documentation for this class was generated from the following file:
Generated on Tue Aug 17 16:24:35 2004 for PLearn by doxygen 1.3.7