FX::FXZeroedWait Class Reference

#include <QThread.h>

List of all members.


Detailed Description

A zero activated wait condition.

A very useful and commonly used form of wait condition is one combined with a count that signals when it reaches zero. You can think of it as similar to an inverse semaphore, but obviously it's not an exact fit because unlike semaphores there is no limit to the count.

By default, there is no checking of the count value for speed - however, you may enable checking for the count falling below zero. The exception is thrown with FXERRH_ISDEBUG and so is not language translated for the user's benefit.

Definition at line 752 of file QThread.h.

Public Member Functions

 FXZeroedWait (int initcount=0)
 operator int () const
int operator= (int i)
int operator++ (int)
int operator++ ()
int operator+= (int i)
int operator-- (int)
int operator-- ()
int operator-= (int i)
bool wait (FXuint time=FXINFINITE)
void setChecks (bool d)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:45 2009 for TnFOX by doxygen v1.4.7