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

Condition Class Reference

#include <condition.h>

List of all members.

Public Member Functions

 Condition (int init_value=0, char *title=0)
 ~Condition ()
void reset ()
void lock (char *location=0)
void unlock ()
int timed_lock (int microseconds, char *location=0)
int get_value ()

Public Attributes

pthread_cond_t cond
pthread_mutex_t mutex
int value
int init_value
char * title


Detailed Description

Definition at line 6 of file condition.h.


Constructor & Destructor Documentation

Condition::Condition int  init_value = 0,
char *  title = 0
 

Definition at line 8 of file condition.C.

Condition::~Condition  ) 
 

Definition at line 16 of file condition.C.


Member Function Documentation

int Condition::get_value  ) 
 

Definition at line 86 of file condition.C.

void Condition::lock char *  location = 0  ) 
 

Definition at line 32 of file condition.C.

void Condition::reset  ) 
 

Definition at line 23 of file condition.C.

int Condition::timed_lock int  microseconds,
char *  location = 0
 

Definition at line 51 of file condition.C.

void Condition::unlock  ) 
 

Definition at line 42 of file condition.C.


Member Data Documentation

pthread_cond_t Condition::cond
 

Definition at line 23 of file condition.h.

int Condition::init_value
 

Definition at line 26 of file condition.h.

pthread_mutex_t Condition::mutex
 

Definition at line 24 of file condition.h.

char* Condition::title
 

Definition at line 27 of file condition.h.

int Condition::value
 

Definition at line 25 of file condition.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