All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sigInt Class Reference

Signal handler for INT interrupt. More...

Public Member Functions

 sigInt ()
 Construct null. More...
 
 ~sigInt ()
 Destructor. More...
 
void set (const bool verbose)
 Activate SIGINT signal handler. More...
 

Detailed Description

Signal handler for INT interrupt.

The standard interrupt handler is overridden to ensure that the runningJob file is removed.

See also
Foam::JobInfo
Source files

Definition at line 54 of file sigInt.H.

Constructor & Destructor Documentation

◆ sigInt()

sigInt ( )

Construct null.

Definition at line 58 of file sigInt.C.

◆ ~sigInt()

~sigInt ( )

Destructor.

Definition at line 66 of file sigInt.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

Member Function Documentation

◆ set()

void set ( const bool  verbose)

Activate SIGINT signal handler.

Definition at line 80 of file sigInt.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

The documentation for this class was generated from the following files: