Developer documentation
Version 3.0.3-105-gd3941f44
signal_handler.h File Reference
#include <string>

Go to the source code of this file.


namespace  MR
namespace  MR::SignalHandler


using MR::SignalHandler::cleanup_function_type = void(*)()
 the type of function expected for on_signal() More...


void MR::SignalHandler::init ()
 set up the signal handler More...
void MR::SignalHandler::on_signal (cleanup_function_type func)
 add function to be run when a signal is received and at program exit More...
void MR::SignalHandler::mark_file_for_deletion (const std::string &filename)
 mark the file for deletion when a signal is received or at program exit More...
void MR::SignalHandler::unmark_file_for_deletion (const std::string &filename)
 unmark the file from deletion More...