osgEarth 2.1.1
|
Public Member Functions | |
ParallelTask () | |
ParallelTask (Threading::MultiEvent *ev) | |
ParallelTask (Threading::Event *ev) | |
void | operator() (ProgressCallback *pc) |
Public Attributes | |
Threading::MultiEvent * | _mev |
Threading::Event * | _sev |
Convenience template for creating a task that synchronized with an event. Initialze multiple ParallelTask's with a common MultiEvent (semaphore) to run them in parallel and wait for them all to complete.
Definition at line 103 of file TaskService.
osgEarth::ParallelTask< T >::ParallelTask | ( | ) | [inline] |
Definition at line 105 of file TaskService.
osgEarth::ParallelTask< T >::ParallelTask | ( | Threading::MultiEvent * | ev | ) | [inline] |
Definition at line 106 of file TaskService.
osgEarth::ParallelTask< T >::ParallelTask | ( | Threading::Event * | ev | ) | [inline] |
Definition at line 107 of file TaskService.
void osgEarth::ParallelTask< T >::operator() | ( | ProgressCallback * | pc | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 109 of file TaskService.
Threading::MultiEvent* osgEarth::ParallelTask< T >::_mev |
Definition at line 118 of file TaskService.
Threading::Event* osgEarth::ParallelTask< T >::_sev |
Definition at line 119 of file TaskService.