joque
task orchestration library
|
Implementation of job interface, storing the specific job type that shall be used. More...
#include <job.hpp>
Public Member Functions | |
job (T thing) | |
inval_result | is_invalidated () override |
Returns true in case the job is invalidated. More... | |
run_result | run (const task &t) override |
Executes one run of the task. More... | |
![]() | |
virtual | ~job_iface ()=default |
Public Attributes | |
T | thing |
Implementation of job interface, storing the specific job type that shall be used.
Uses job_traits of the job type to run specific behavior. Use the traits for any customization over overriding this.
|
inline |
|
inlineoverridevirtual |
Returns true in case the job is invalidated.
Implements joque::job_iface.
References joque::job_traits< T >::is_invalidated(), and joque::job< T >::thing.
|
inlineoverridevirtual |
Executes one run of the task.
Implements joque::job_iface.
References joque::job_traits< T >::run(), and joque::job< T >::thing.
T joque::job< T >::thing |