Helper class for recording information about run/finished jobs. More...
#include <OpenFOAM/JobInfo.H>
Helper class for recording information about run/finished jobs.
Definition at line 60 of file JobInfo.H.
Public Member Functions | |
JobInfo () | |
Construct null.
| |
~JobInfo () | |
void | write () const |
void | end () |
void | exit () |
void | abort () |
void | signalEnd () const |
Static Public Attributes | |
static bool | constructed |
static bool | writeJobInfo |
JobInfo | ( | ) |
Construct null.
Definition at line 41 of file JobInfo.C.
References JobInfo::constructed, Foam::debug::controlDict(), Foam::env(), JobInfo::exit(), Foam::FatalError, FatalErrorIn, dictionary::found(), Foam::getEnv(), Foam::home(), Foam::hostName(), Foam::isDir(), dictionary::lookup(), Pstream::master(), Foam::mkDir(), dictionaryName::name(), Foam::pid(), and JobInfo::writeJobInfo.
~JobInfo | ( | ) |
Definition at line 105 of file JobInfo.C.
References Pstream::master(), and Foam::mv().
void write | ( | ) | const |
Definition at line 139 of file JobInfo.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and Pstream::master().
void end | ( | ) |
Reimplemented from DLListBase.
void exit | ( | ) |
Definition at line 181 of file JobInfo.C.
Referenced by IOerror::exit(), error::exit(), and JobInfo::JobInfo().
void abort | ( | ) |
Definition at line 187 of file JobInfo.C.
Referenced by IOerror::abort(), and error::abort().
void signalEnd | ( | ) | const |
Definition at line 193 of file JobInfo.C.
References Pstream::master(), and Foam::mv().
bool constructed [static]
|
Definition at line 77 of file JobInfo.H.
Referenced by IOerror::abort(), error::abort(), IOerror::exit(), error::exit(), and JobInfo::JobInfo().
bool writeJobInfo [static]
|
Definition at line 78 of file JobInfo.H.
Referenced by JobInfo::JobInfo().