KrisLibrary
1.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
utils
SignalHandler.h
1
#ifndef UTILS_SIGNAL_HANDLER_H
2
#define UTILS_SIGNAL_HANDLER_H
3
13
class
SignalHandler
14
{
15
public
:
16
virtual
~
SignalHandler
();
17
18
void
SetCurrent(
int
signum);
19
bool
IsCurrent(
int
signum)
const
;
20
void
UnsetCurrent(
int
signum);
21
static
SignalHandler
* GetCurrent(
int
signum);
22
23
virtual
void
OnRaise(
int
signum)=0;
24
};
25
26
27
#endif
SignalHandler
A base class for an object-oriented signal handler. Properly restores old signal handlers once the cl...
Definition:
SignalHandler.h:13
Generated by
1.8.11