#include <Signal.h>
Public Methods | |
ACE_Sig_Action (void) | |
Default constructor. Initializes everything to 0. | |
ACE_Sig_Action (ACE_SignalHandler handler, sigset_t *sigmask = 0, int flags = 0) | |
Assigns the various fields of a <sigaction> struct but doesn't register for signal handling via the <sigaction> function. | |
ACE_Sig_Action (ACE_SignalHandler handler, const ACE_Sig_Set &sigmask, int flags = 0) | |
Assigns the various fields of a <sigaction> struct but doesn't register for signal handling via the <sigaction> function. | |
ACE_Sig_Action (ACE_SignalHandler handler, int signum, sigset_t *sigmask = 0, int flags = 0) | |
ACE_Sig_Action (ACE_SignalHandler handler, int signum, const ACE_Sig_Set &sigmask, int flags = 0) | |
ACE_Sig_Action (const ACE_Sig_Set &signalss, ACE_SignalHandler handler, const ACE_Sig_Set &sigmask, int flags = 0) | |
ACE_Sig_Action (const ACE_Sig_Set &signalss, ACE_SignalHandler handler, sigset_t *sigmask = 0, int flags = 0) | |
ACE_Sig_Action (const ACE_Sig_Action &s) | |
Copy constructor. | |
~ACE_Sig_Action (void) | |
Default dtor. | |
int | register_action (int signum, ACE_Sig_Action *oaction = 0) |
Register <this> as the current disposition and store old disposition into <oaction> if it is non-NULL. | |
int | restore_action (int signum, ACE_Sig_Action &oaction) |
Assign the value of <oaction> to <this> and make it become the new signal disposition. | |
int | retrieve_action (int signum) |
Retrieve the current disposition into <this>. | |
void | set (struct sigaction *) |
struct sigaction* | get (void) |
operator ACE_SIGACTION * () | |
void | flags (int) |
int | flags (void) |
void | mask (sigset_t *) |
void | mask (ACE_Sig_Set &) |
sigset_t* | mask (void) |
void | handler (ACE_SignalHandler) |
ACE_SignalHandler | handler (void) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
struct sigaction | sa_ |
Controls signal behavior. |
|
Default constructor. Initializes everything to 0.
|
|
Assigns the various fields of a <sigaction> struct but doesn't register for signal handling via the <sigaction> function.
|
|
Assigns the various fields of a <sigaction> struct but doesn't register for signal handling via the <sigaction> function.
|
|
Assigns the various fields of a <sigaction> struct and registers the <handler> to process signal <signum> via the <sigaction> function. |
|
Assigns the various fields of a <sigaction> struct and registers the <handler> to process signal <signum> via the <sigaction> function. |
|
Assigns the various fields of a <sigaction> struct and registers the <handler> to process all <signals> via the <sigaction> function. |
|
Assigns the various fields of a <sigaction> struct and registers the <handler> to process all <signals> via the <sigaction> function. |
|
Copy constructor.
|
|
Default dtor.
|
|
Dump the state of an object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Register <this> as the current disposition and store old disposition into <oaction> if it is non-NULL.
|
|
Assign the value of <oaction> to <this> and make it become the new signal disposition.
|
|
Retrieve the current disposition into <this>.
|
|
|
|
Declare the dynamic allocation hooks.
|
|
Controls signal behavior.
|