PLearn 0.1
Public Member Functions | Public Attributes
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)
 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.

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

Definition at line 91 of file Semaphores.h.

: id(semid.id) {}

Member Data Documentation

Definition at line 89 of file Semaphores.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines