iJobQueue Struct Reference
Interface to simple job management. More...
|virtual void||Enqueue (iJob *job)=0|
|Add a job to the queue. |
|virtual bool||IsFinished ()=0|
|Return true if all enqueued jobs are finished. |
|virtual void||PullAndRun (iJob *job)=0|
|Check if a job is still in the queue. |
|virtual void||Unqueue (iJob *job, bool waitIfCurrent=true)=0|
|Remove a job from the queue. |
Interface to simple job management.
Jobs are enqueued and run one after another, e.g. in another thread.
- See also:
Member Function Documentation
|virtual void iJobQueue::Enqueue||(||iJob *||job||)||
Add a job to the queue.
|virtual bool iJobQueue::IsFinished||(||)||
Return true if all enqueued jobs are finished.
|virtual void iJobQueue::PullAndRun||(||iJob *||job||)||
Check if a job is still in the queue.
If yes, remove it from the queue and run it immediately.
|virtual void iJobQueue::Unqueue||(||iJob *||job,|
|bool|| waitIfCurrent = |
Remove a job from the queue.
If the job is currently running and waitIfCurrent is true, wait until the job has finished. This guarantees that the queue won't hold any reference to the job object.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.4.1 by doxygen 1.7.1