FEDEM Solver
R8.0
Source code of the dynamics solver
|
Static class with methods for signal handling. More...
#include <SignalHandler.H>
Static Public Member Functions | |
static void | init (const char *program, VoidFuncPtr f1=NULL, VoidFuncPtr f2=NULL, VoidFuncPtr f3=NULL) |
Initializes the signal handler. More... | |
Static Protected Member Functions | |
static void | processSignal (int sig) |
Invokes the appropriate exit method based on the given signal. More... | |
static void | dummy () |
Empty dummy method (used for function pointer initialization). More... | |
Static Protected Attributes | |
static VoidFuncPtr | emergencyExit = &SignalHandler::dummy |
Function to invoke when exiting without saving. More... | |
static VoidFuncPtr | emergencySaveExit = &SignalHandler::dummy |
Function to invoke when exiting with save. More... | |
static VoidFuncPtr | killAllChilds = &SignalHandler::dummy |
Function to invoke when sub-processes should go away also. More... | |
static std::string | myProgName = "Fedem" |
Name of executable. More... | |
Static class with methods for signal handling.
|
inlinestaticprotected |
Empty dummy method (used for function pointer initialization).
|
static |
Initializes the signal handler.
[in] | program | Name of executable |
[in] | f1 | Function to invoke when exiting without saving |
[in] | f2 | Function to invoke when exiting with save |
[in] | f3 | Function to invoke when sub-processes should go away also |
|
staticprotected |
Invokes the appropriate exit method based on the given signal.
|
staticprotected |
Function to invoke when exiting without saving.
|
staticprotected |
Function to invoke when exiting with save.
|
staticprotected |
Function to invoke when sub-processes should go away also.
|
staticprotected |
Name of executable.