library of assembled shared sources

http://lass.cocamware.com

lass::util::Condition Class Reference
[Threading]

Condition. More...

#include <thread.h>

Inheritance diagram for lass::util::Condition:

Inheritance graph
[legend]
Collaboration diagram for lass::util::Condition:

Collaboration graph
[legend]

Public Member Functions

 Condition ()
 ~Condition ()
void wait ()
const WaitResult wait (unsigned long iMilliSeconds)
void signal ()
void broadcast ()

Private Member Functions

void swap (NonCopyable &)

Private Attributes

impl::ConditionInternalpimpl_

Detailed Description

Condition.

A condition can be used to synchronize using messages were a condition waits for a signal or broadcast. A signal will only release one waiter, a broadcast will release all current waiting wait-conditions.

Definition at line 170 of file thread.h.


Constructor & Destructor Documentation

lass::util::Condition::Condition ( void   ) 

Definition at line 164 of file thread.cpp.

References pimpl_.

lass::util::Condition::~Condition ( void   ) 

Definition at line 169 of file thread.cpp.

References pimpl_.


Member Function Documentation

void lass::util::Condition::wait (  ) 

const WaitResult lass::util::Condition::wait ( unsigned long  iMilliSeconds  ) 

Definition at line 181 of file thread.cpp.

References LASS_ASSERT, pimpl_, and lass::util::impl::ConditionInternal::wait().

void lass::util::Condition::signal (  ) 

void lass::util::Condition::broadcast (  ) 

void lass::util::NonCopyable::swap ( NonCopyable  )  [inline, protected, inherited]

Definition at line 60 of file non_copyable.h.

Referenced by lass::io::Image::readLine().


Field Documentation

Definition at line 180 of file thread.h.

Referenced by broadcast(), Condition(), signal(), wait(), and ~Condition().


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

Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo