#include <ParallelExecStreamScheduler.h>
Public Member Functions | |
ParallelExecTask (ParallelExecStreamScheduler &scheduler, ExecStream *pStream) | |
ExecStreamId | getStreamId () const |
void | execute () |
Private Attributes | |
ParallelExecStreamScheduler & | scheduler |
ExecStream * | pStream |
Definition at line 46 of file ParallelExecStreamScheduler.h.
ParallelExecTask::ParallelExecTask | ( | ParallelExecStreamScheduler & | scheduler, | |
ExecStream * | pStream | |||
) | [explicit] |
ExecStreamId ParallelExecTask::getStreamId | ( | ) | const [inline] |
Definition at line 56 of file ParallelExecStreamScheduler.h.
00057 { 00058 return pStream->getStreamId(); 00059 }
void ParallelExecTask::execute | ( | ) |
Definition at line 468 of file ParallelExecStreamScheduler.cpp.
References ParallelExecStreamScheduler::executeManager(), ParallelExecStreamScheduler::executeTask(), pStream, and scheduler.
00469 { 00470 if (pStream) { 00471 scheduler.executeTask(*pStream); 00472 } else { 00473 scheduler.executeManager(); 00474 } 00475 }
ExecStream* ParallelExecTask::pStream [private] |
Definition at line 49 of file ParallelExecStreamScheduler.h.
Referenced by execute(), and ParallelExecTask().