|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Abstract job interface for task execution. More...
#include <executor_interface.h>


Public Member Functions | |
| virtual | ~IJob ()=default |
| virtual VoidResult | execute ()=0 |
| Execute the job. | |
| virtual std::string | get_name () const |
| Get the name of the job (for logging/debugging) | |
| virtual int | get_priority () const |
| Get the priority of the job (higher = more important) | |
| virtual | ~IJob ()=default |
| virtual VoidResult | execute ()=0 |
| Execute the job. | |
| virtual std::string | get_name () const |
| Get the name of the job. | |
| virtual int | get_priority () const |
| Get the priority of the job. | |
Abstract job interface for task execution.
Phase 2: Job-based execution support for better control and testability
Definition at line 49 of file executor.cppm.
|
virtualdefault |
|
exportvirtualdefault |
|
pure virtual |
Execute the job.
Implemented in calculation_job, and function_job.
|
exportpure virtual |
Execute the job.
Implemented in calculation_job, and function_job.
|
inlinevirtual |
Get the name of the job (for logging/debugging)
Implemented in calculation_job, and function_job.
Definition at line 46 of file executor_interface.h.
|
inlineexportvirtual |
Get the name of the job.
Implemented in calculation_job, and function_job.
Definition at line 63 of file executor.cppm.
|
inlinevirtual |
Get the priority of the job (higher = more important)
Implemented in calculation_job.
Definition at line 52 of file executor_interface.h.
|
inlineexportvirtual |
Get the priority of the job.
Implemented in calculation_job.
Definition at line 69 of file executor.cppm.