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

Sema Class Reference

#include <sema.h>

List of all members.

Public Member Functions

 Sema (int init_value=1, char *title=0)
 ~Sema ()
void lock (char *location=0)
void unlock ()
int get_value ()
void reset ()

Public Attributes

sem_t sem
char * title
int init_value


Detailed Description

Definition at line 7 of file sema.h.


Constructor & Destructor Documentation

Sema::Sema int  init_value = 1,
char *  title = 0
 

Definition at line 7 of file sema.C.

Sema::~Sema  ) 
 

Definition at line 14 of file sema.C.


Member Function Documentation

int Sema::get_value  ) 
 

Definition at line 34 of file sema.C.

void Sema::lock char *  location = 0  ) 
 

Definition at line 21 of file sema.C.

void Sema::reset  ) 
 

Definition at line 41 of file sema.C.

void Sema::unlock  ) 
 

Definition at line 28 of file sema.C.


Member Data Documentation

int Sema::init_value
 

Definition at line 20 of file sema.h.

sem_t Sema::sem
 

Definition at line 18 of file sema.h.

char* Sema::title
 

Definition at line 19 of file sema.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4