Public Member Functions | List of all members
Celartem::Event Class Reference

#include <cel_syncobjs.h>

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:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo