|
CARMA C++
|
Class to encapsulate signal handling. More...
#include <carma/szautil/Signal.h>
Public Member Functions | |
| void | installHandler (void(*handler)(int sigNo)) |
| Install a handler, in case we want to declare a global Signal type before the handler is declared. More... | |
| void | installHandler (void(*action)(int sigNo, siginfo_t *sigInfo, void *arg)) |
| Overloaded method to install an action as the handler, in case we want to declare a global Signal type before the handler is declared. More... | |
| Signal (int sigNo) | |
| Constructor with no sigset or handler. More... | |
| Signal (int sigNo, void(*handler)(int sigNo)) | |
| Handler constructor with no sigset. More... | |
| Signal (int sigNo, void(*handler)(int sigNo), sigset_t *sigSet) | |
| Handler constructor with sigset. More... | |
| Signal (int sigNo, void(*action)(int sigNo, siginfo_t *sigInfo, void *arg)) | |
| Action constructor with no sigset. More... | |
| Signal (int sigNo, void(*action)(int sigNo, siginfo_t *sigInfo, void *arg), sigset_t *sigSet) | |
| Action constructor with sigset. More... | |
| ~Signal () | |
| Destructor. More... | |
| sza::util::Signal::Signal | ( | int | sigNo | ) |
Constructor with no sigset or handler.
| sza::util::Signal::Signal | ( | int | sigNo, |
| void(*)(int sigNo) | handler | ||
| ) |
Handler constructor with no sigset.
| sza::util::Signal::Signal | ( | int | sigNo, |
| void(*)(int sigNo) | handler, | ||
| sigset_t * | sigSet | ||
| ) |
Handler constructor with sigset.
| sza::util::Signal::Signal | ( | int | sigNo, |
| void(*)(int sigNo, siginfo_t *sigInfo, void *arg) | action | ||
| ) |
Action constructor with no sigset.
| sza::util::Signal::Signal | ( | int | sigNo, |
| void(*)(int sigNo, siginfo_t *sigInfo, void *arg) | action, | ||
| sigset_t * | sigSet | ||
| ) |
Action constructor with sigset.
| sza::util::Signal::~Signal | ( | ) |
Destructor.
| void sza::util::Signal::installHandler | ( | void(*)(int sigNo) | handler | ) |
Install a handler, in case we want to declare a global Signal type before the handler is declared.
| void sza::util::Signal::installHandler | ( | void(*)(int sigNo, siginfo_t *sigInfo, void *arg) | action | ) |
Overloaded method to install an action as the handler, in case we want to declare a global Signal type before the handler is declared.