ACE
6.4.2
|
Provide a C++ wrapper for the C sigset_t interface. More...
#include <Signal.h>
Public Member Functions | |
ACE_Sig_Set (sigset_t *sigset) | |
ACE_Sig_Set (ACE_Sig_Set *sigset) | |
ACE_Sig_Set (int fill=0) | |
~ACE_Sig_Set (void) | |
int | empty_set (void) |
Create a set that excludes all signals defined by the system. More... | |
int | fill_set (void) |
Create a set that includes all signals defined by the system. More... | |
int | sig_add (int signo) |
Adds the individual signal specified by signo to the set. More... | |
int | sig_del (int signo) |
Deletes the individual signal specified by signo from the set. More... | |
int | is_member (int signo) const |
Checks whether the signal specified by signo is in the set. More... | |
operator sigset_t * () | |
Returns a pointer to the underlying sigset_t . More... | |
sigset_t | sigset (void) const |
Returns a copy of the underlying sigset_t . More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Private Attributes | |
sigset_t | sigset_ |
Set of signals. More... | |
Provide a C++ wrapper for the C sigset_t interface.
Handle signals via a more elegant C++ interface (e.g., doesn't require the use of global variables or global functions in an application).
|
inline |
Initialize <sigset_> with sigset. If sigset == 0 then fill the set.
|
inline |
Initialize <sigset_> with sigset. If sigset == 0 then fill the set.
|
inline |
If fill == 0 then initialize the <sigset_> to be empty, else full.
ACE_Sig_Set::~ACE_Sig_Set | ( | void | ) |
void ACE_Sig_Set::dump | ( | void | ) | const |
Dump the state of an object.
|
inline |
Create a set that excludes all signals defined by the system.
|
inline |
Create a set that includes all signals defined by the system.
|
inline |
Checks whether the signal specified by signo is in the set.
|
inline |
Returns a pointer to the underlying sigset_t
.
|
inline |
Adds the individual signal specified by signo to the set.
|
inline |
Deletes the individual signal specified by signo from the set.
|
inline |
Returns a copy of the underlying sigset_t
.
ACE_Sig_Set::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Set of signals.