Signal handler for interrupt defined by OptimisationSwitches::stopAtWriteNowSignal. More...
Public Member Functions | |
sigStopAtWriteNow () | |
Construct null. More... | |
sigStopAtWriteNow (const bool verbose, const Time &runTime) | |
Construct from components. More... | |
~sigStopAtWriteNow () | |
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 | addstopAtWriteNowSignalToOpt |
wip. Have setter have access to signal_ More... | |
Signal handler for interrupt defined by OptimisationSwitches::stopAtWriteNowSignal.
Definition at line 53 of file sigStopAtWriteNow.H.
Construct null.
Definition at line 109 of file sigStopAtWriteNow.C.
sigStopAtWriteNow | ( | const bool | verbose, |
const Time & | runTime | ||
) |
~sigStopAtWriteNow | ( | ) |
Destructor.
Definition at line 127 of file sigStopAtWriteNow.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
static |
(re)set signal catcher
Definition at line 144 of file sigStopAtWriteNow.C.
References Foam::abort(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::Info.
Referenced by addstopAtWriteNowSignalToOpt::readData().
bool active | ( | ) | const |
Is active?
Definition at line 180 of file sigStopAtWriteNow.C.
|
friend |
wip. Have setter have access to signal_
Definition at line 75 of file sigStopAtWriteNow.H.