#include <IoJobs.h>
Definition at line 71 of file IoJobs.h.
◆ SaveFileJob()
SaveFileJob::SaveFileJob |
( |
const std::string & |
name | ) |
|
|
explicit |
◆ className()
virtual std::string SaveFileJob::className |
( |
| ) |
const |
|
inlineoverridevirtual |
Name representing the type of the job (e.e. "SPH").
Implements IJob.
Definition at line 87 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 222 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 204 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 91 of file IoJobs.h.
◆ instanceName()
virtual std::string SaveFileJob::instanceName |
( |
| ) |
const |
|
inlineoverridevirtual |
Unique name representing this job.
Reimplemented from IJob.
Definition at line 78 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