|
openscenegraph
|
#include <Block>
Public Member Functions | |
| BlockCount (unsigned int blockCount) | |
| ~BlockCount () | |
| void | completed () |
| void | block () |
| void | reset () |
| void | release () |
| void | setBlockCount (unsigned int blockCount) |
| unsigned int | getBlockCount () const |
| unsigned int | getCurrentCount () const |
Protected Attributes | |
| OpenThreads::Mutex | _mut |
| OpenThreads::Condition | _cond |
| unsigned int | _blockCount |
| unsigned int | _currentCount |
BlockCount is a block that can be used to halt a thread that is waiting for a specified number of operations to be completed.
|
inline |
References _blockCount, and _currentCount.
Referenced by osg::RefBlockCount::RefBlockCount().
|
inline |
References _blockCount, and release().
|
inline |
References _cond, _currentCount, and _mut.
|
inline |
References _cond, _currentCount, and _mut.
|
inline |
References _blockCount.
|
inline |
References _currentCount.
|
inline |
References _cond, _currentCount, and _mut.
Referenced by ~BlockCount().
|
inline |
References _blockCount, _cond, _currentCount, and _mut.
|
inline |
References _blockCount.
|
protected |
Referenced by BlockCount(), getBlockCount(), reset(), setBlockCount(), and ~BlockCount().
|
protected |
Referenced by block(), completed(), release(), and reset().
|
protected |
Referenced by block(), BlockCount(), completed(), getCurrentCount(), release(), and reset().
|
protected |
Referenced by block(), completed(), release(), and reset().