Public Member Functions

Celartem::Event Class Reference

#include <cel_syncobjs.h>

List of all members.

Public Member Functions

 Event ()
 ~Event ()
void signal ()
void wait ()

Detailed Description

Event class provides thread-safe wake up on signal mechanism. This class has its own DataTraits structure and it can be used with SimpleArray with some special restrictions; you can create, allocate, release the array of Event instances but you could not reallocate (resize) the array.

See also:
SimpleArray, Mutex, Semaphore

Constructor & Destructor Documentation

Celartem::Event::Event (  ) 

Event object is usually initialized as class member variable.

Celartem::Event::~Event (  ) 

Removes the Event instance.


Member Function Documentation

void Celartem::Event::signal (  ) 

This method changes the Event to signal state. The thread that waits for the Event object by wait call will be wake up.

void Celartem::Event::wait (  ) 

This method is to sleep the current thread until the Event instance is signal state.


The documentation for this class was generated from the following file:

This document is made with doxygen 1.7.1 at Sun Sep 5 2010 13:03:39.
Caminova Logo