RENEWLab  1.1.0
RENEW project
SignalHandler Class Reference

#include <signalHandler.hpp>

Public Member Functions

 SignalHandler ()
 
 ~SignalHandler ()
 
void setupSignalHandlers ()
 

Static Public Member Functions

static bool gotExitSignal ()
 
static void setExitSignal (bool _bExitSignal)
 
static void exitSignalHandler (int _ignored)
 

Static Protected Attributes

static bool mbGotExitSignal = false
 

Constructor & Destructor Documentation

◆ SignalHandler()

SignalHandler::SignalHandler ( )

Default Contructor.

◆ ~SignalHandler()

SignalHandler::~SignalHandler ( )

Destructor.

Member Function Documentation

◆ exitSignalHandler()

void SignalHandler::exitSignalHandler ( int  _ignored)
static

Sets exit signal to true.

Parameters
[in]_ignoredNot used but required by function prototype to match required handler.
Here is the caller graph for this function:

◆ gotExitSignal()

bool SignalHandler::gotExitSignal ( )
static

Returns the bool flag indicating whether we received an exit signal

Returns
Flag indicating shutdown of program
Here is the caller graph for this function:

◆ setExitSignal()

void SignalHandler::setExitSignal ( bool  _bExitSignal)
static

Sets the bool flag indicating whether we received an exit signal

◆ setupSignalHandlers()

void SignalHandler::setupSignalHandlers ( )

Set up the signal handlers for CTRL-C.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ mbGotExitSignal

bool SignalHandler::mbGotExitSignal = false
staticprotected

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