Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::sys::IteratorProducer< T, I > Class Template Reference

#include <elm/sys/JobScheduler.h>

+ Inheritance diagram for elm::sys::IteratorProducer< T, I >:

Public Member Functions

 IteratorProducer (const I &iter)
 
virtual Jobnext (void)
 
virtual void harvest (Job *job)
 
virtual void harvest (T *job)
 
- Public Member Functions inherited from elm::sys::JobProducer
virtual ~JobProducer (void)
 

Constructor & Destructor Documentation

template<class T , class I >
elm::sys::IteratorProducer< T, I >::IteratorProducer ( const I &  iter)

Member Function Documentation

template<class T , class I >
virtual void elm::sys::IteratorProducer< T, I >::harvest ( Job job)
virtual

Called in a mutual exclusive way by the thread that performed the job to let the used process the result of the job.

Reimplemented from elm::sys::JobProducer.

References elm::sys::IteratorProducer< T, I >::harvest().

Referenced by elm::sys::IteratorProducer< T, I >::harvest().

template<class T , class I >
virtual void elm::sys::IteratorProducer< T, I >::harvest ( T *  job)
virtual
template<class T , class I >
virtual Job* elm::sys::IteratorProducer< T, I >::next ( void  )
virtual

Get the next job to be processed.

Returns
Next job or null.

Implements elm::sys::JobProducer.


The documentation for this class was generated from the following file: