#include <IoJobs.h>
Definition at line 14 of file IoJobs.h.
◆ LoadFileJob()
LoadFileJob::LoadFileJob |
( |
const Path & |
path = Path("file.ssf") | ) |
|
|
inline |
◆ className()
virtual std::string LoadFileJob::className |
( |
| ) |
const |
|
inlineoverridevirtual |
Name representing the type of the job (e.e. "SPH").
Implements IJob.
Definition at line 32 of file IoJobs.h.
◆ evaluate()
Runs the operation provided by the job.
Function may be called only after required inputs are assigned; this is provided by class JobNode, the job should not be used directly.
- Parameters
-
global | Global settings, shared by all jobs. Contains parameters like number of threads, etc. |
callbacks | Interface allowing to get notified about current progress of the job. |
- Exceptions
-
InvalidSetup | if required input is missing or job encountered a problem in initialization. |
Implements IJob.
Definition at line 36 of file IoJobs.cpp.
◆ getSettings()
Returns a settings object which allows to query and modify the state of the job.
It is not necessary to expose all state variables this way. This is mainly intended for (de)serialization of the job state and for connection with UI controls.
Implements IJob.
Definition at line 24 of file IoJobs.cpp.
◆ getSlots()
Lists all potential inputs of the job.
This is the superset of slots returned by function requires and it has to be fixed, i.e. cannot change when internal state of the job changes.
Implements IJob.
Definition at line 36 of file IoJobs.h.
◆ instanceName()
virtual std::string LoadFileJob::instanceName |
( |
| ) |
const |
|
inlineoverridevirtual |
Unique name representing this job.
Reimplemented from IJob.
Definition at line 24 of file IoJobs.h.
The documentation for this class was generated from the following files:
- /home/pavel/projects/astro/sph/src/core/run/jobs/IoJobs.h
- /home/pavel/projects/astro/sph/src/core/run/jobs/IoJobs.cpp