90 void jobEnding(
const word& terminationType);
96 void operator=(
const JobInfo&) =
delete;
JobInfo()
Default construct.
A class for handling file names.
Helper class for recording information about run/finished jobs, acts like global singleton.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
~JobInfo()
Destructor, relocates the job file from running to finished.
static void shutdown()
Simple shutdown (finalize) of JobInfo.
void signalEnd()
Relocate job file from "running" to "finished" directory.
static void disable() noexcept
Disallow JobInfo by forcing writeJobInfo (InfoSwitch) off.
A class for handling words, derived from Foam::string.
void write() const
Write job info to its file in the "running" jobs directory.
void stop()
Job end with "normal" termination.
static bool writeJobInfo
Global value for writeJobInfo enabled.
void abort()
Job end with "abort" termination.
static bool constructed
Global value for constructed job info.
void exit()
Job end with "exit" termination.
Starts timing CPU usage and return elapsed time from start.