Signal handler for interrupt defined by OptimisationSwitches::writeNowSignal. More...
Public Member Functions | |
sigWriteNow () | |
Construct null. More... | |
sigWriteNow (const bool verbose, Time &runTime) | |
Construct from components. More... | |
~sigWriteNow () | |
Destructor. More... | |
bool | active () const |
Is active? More... | |
Static Public Member Functions | |
static void | set (const bool verbose) |
(re)set signal catcher More... | |
Friends | |
class | sigStopAtWriteNow |
class | addwriteNowSignalToOpt |
wip. Have setter have access to signal_ More... | |
Signal handler for interrupt defined by OptimisationSwitches::writeNowSignal.
Definition at line 52 of file sigWriteNow.H.
sigWriteNow | ( | ) |
Construct null.
Definition at line 95 of file sigWriteNow.C.
sigWriteNow | ( | const bool | verbose, |
Time & | runTime | ||
) |
~sigWriteNow | ( | ) |
Destructor.
Definition at line 110 of file sigWriteNow.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
static |
(re)set signal catcher
Definition at line 127 of file sigWriteNow.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, and Foam::Info.
Referenced by addwriteNowSignalToOpt::readData().
bool active | ( | ) | const |
Is active?
Definition at line 152 of file sigWriteNow.C.
|
friend |
Definition at line 73 of file sigWriteNow.H.
|
friend |
wip. Have setter have access to signal_
Definition at line 76 of file sigWriteNow.H.