#include <SigSet.h>
|
| SigSet () |
| Default constructor creates SigSet object with an empty signal set. More...
|
|
| SigSet (sigset_t *source_) |
| Copy constructor from source_ . More...
|
|
| ~SigSet () |
| Destructor. More...
|
|
int | empty (void) |
| This function initializes a signal set to be empty, no signals in it. More...
|
|
int | fill (void) |
| This function initializes a signal set to be full; all the signals defined by POSIX will be in the set. More...
|
|
int | add (int signo_) |
| This function adds the signal numbered signo_ to the set. More...
|
|
int | del (int signo_) |
| This function removes the signal signo_ from the set. More...
|
|
int | is_member (int signo_) |
| Use this function to tell whether the signal signo_ is in the set. More...
|
|
| operator sigset_t * () |
| Conversion operator to sigset_t structure. More...
|
|
Definition at line 52 of file SigSet.h.
Default constructor creates SigSet object with an empty signal set.
Definition at line 118 of file SigSet.h.
References m_sigset.
sigset_t m_sigset
POSIX signal set.
ASSA::SigSet::SigSet |
( |
sigset_t * |
source_ | ) |
|
|
inline |
Copy constructor from source_
.
Definition at line 122 of file SigSet.h.
References m_sigset.
sigset_t m_sigset
POSIX signal set.
ASSA::SigSet::~SigSet |
( |
| ) |
|
|
inline |
int ASSA::SigSet::add |
( |
int |
signo_ | ) |
|
|
inline |
This function adds the signal numbered signo_
to the set.
- Returns
- 0 on success, -1 on error, with errno set to error number.
Definition at line 138 of file SigSet.h.
References m_sigset.
138 {
return sigaddset(&
m_sigset,signo_); }
sigset_t m_sigset
POSIX signal set.
int ASSA::SigSet::del |
( |
int |
signo_ | ) |
|
|
inline |
This function removes the signal signo_
from the set.
- Returns
- 0 on success, -1 on error, with errno set to error number.
Definition at line 142 of file SigSet.h.
References m_sigset.
142 {
return sigdelset(&
m_sigset,signo_); }
sigset_t m_sigset
POSIX signal set.
int ASSA::SigSet::empty |
( |
void |
| ) |
|
|
inline |
This function initializes a signal set to be empty, no signals in it.
- Returns
- 0 on success, -1 on error, with errno set to error number.
Definition at line 130 of file SigSet.h.
References m_sigset.
sigset_t m_sigset
POSIX signal set.
int ASSA::SigSet::fill |
( |
void |
| ) |
|
|
inline |
This function initializes a signal set to be full; all the signals defined by POSIX will be in the set.
- Returns
- 0 on success, -1 on error, with errno set to error number.
Definition at line 134 of file SigSet.h.
References m_sigset.
sigset_t m_sigset
POSIX signal set.
int ASSA::SigSet::is_member |
( |
int |
signo_ | ) |
|
|
inline |
Use this function to tell whether the signal signo_
is in the set.
- Returns
- 0 on success, -1 on error, with errno set to error number.
Definition at line 146 of file SigSet.h.
References m_sigset.
146 {
return sigismember(&
m_sigset,signo_); }
sigset_t m_sigset
POSIX signal set.
ASSA::SigSet::operator sigset_t * |
( |
| ) |
|
|
inline |
Conversion operator to sigset_t
structure.
- Returns
- pointer to the internal
sigset_t
structure.
Definition at line 150 of file SigSet.h.
sigset_t m_sigset
POSIX signal set.
sigset_t ASSA::SigSet::m_sigset |
|
private |
The documentation for this class was generated from the following file:
- /build/libassa-d_hhwy/libassa-3.5.1/assa/SigSet.h