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