Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/JobScheduler.h>
Public Member Functions | |
virtual | ~JobProducer (void) |
virtual Job * | next (void)=0 |
virtual void | harvest (Job *job) |
Interface used by the sys::JobSheduler class to obtain the list of jobs to execute. When a new job is needed, the method next() is called and the processing stops when a null pointer is returned. Each time a job is ended, harvest() method is called in an exclusive way to exploit results of the job.
|
inlinevirtual |
Called in a mutual exclusive way by the thread that performed the job to let the used process the result of the job.
Reimplemented in IteratorProducer< T, I >.