Function Aux::SignalHandling::init

Function Documentation

void Aux::SignalHandling::init(SignalHandler *caller)

Registers the function setRunning to be invoked, when CTRL+C/SIGINT is received. Also registers caller to be the root calling object, if none is registered yet.

Parameters:

caller – address of the calling object