MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / sigInt

Class sigInt

src/OSspecific/POSIX/signals/sigInt.H:55–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53\*---------------------------------------------------------------------------*/
54
55class sigInt
56{
57 // Private data
58
59 //- Saved old signal trapping setting
60 static struct sigaction oldAction_;
61
62
63 // Private Member Functions
64
65 static void sigHandler(int);
66
67
68public:
69
70 // Constructors
71
72 //- Construct null
73 sigInt();
74
75
76 //- Destructor
77 ~sigInt();
78
79
80 // Member functions
81
82 //- Activate SIGINT signal handler
83 void set(const bool verbose);
84};
85
86
87// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 1

sigInt.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected