osgEarth 2.1.1
|
Public Member Functions | |
MultiEvent (int num=1) | |
~MultiEvent () | |
bool | wait () |
bool | waitAndReset () |
void | notify () |
void | reset (int num=0) |
Protected Attributes | |
OpenThreads::Mutex | _m |
OpenThreads::Condition | _cond |
int | _set |
int | _num |
Same as an Event, but waits on multiple notifications before releasing its wait.
Definition at line 99 of file ThreadingUtils.
osgEarth::Threading::MultiEvent::MultiEvent | ( | int | num = 1 | ) | [inline] |
Definition at line 102 of file ThreadingUtils.
osgEarth::Threading::MultiEvent::~MultiEvent | ( | ) | [inline] |
void osgEarth::Threading::MultiEvent::notify | ( | ) | [inline] |
void osgEarth::Threading::MultiEvent::reset | ( | int | num = 0 | ) | [inline] |
bool osgEarth::Threading::MultiEvent::wait | ( | ) | [inline] |
bool osgEarth::Threading::MultiEvent::waitAndReset | ( | ) | [inline] |
OpenThreads::Condition osgEarth::Threading::MultiEvent::_cond [protected] |
Definition at line 145 of file ThreadingUtils.
OpenThreads::Mutex osgEarth::Threading::MultiEvent::_m [protected] |
Definition at line 144 of file ThreadingUtils.
int osgEarth::Threading::MultiEvent::_num [protected] |
Definition at line 146 of file ThreadingUtils.
int osgEarth::Threading::MultiEvent::_set [protected] |
Definition at line 146 of file ThreadingUtils.