CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
SignalSet Class Reference

A set of system signals. More...

#include <cc/SignalSet>

Public Member Functions

 SignalSet ()=default
 Create an undefined signal set.
 
SignalSetinsert (Signal signal)
 Add signal.
 
SignalSetremove (Signal signal)
 Remove signal.
 
bool contains (Signal signal) const
 Check if signal is member.
 
 operator sigset_t * ()
 Convert to low-level datatype.
 
 operator const sigset_t * () const
 Convert to low-level datatype.
 

Static Public Member Functions

static SignalSet full ()
 Get a full signal set.
 
static SignalSet empty ()
 Get an empty signal set.
 

Detailed Description

A set of system signals.

Constructor & Destructor Documentation

◆ SignalSet()

SignalSet ( )
default

Create an undefined signal set.

Member Function Documentation

◆ full()

static SignalSet full ( )
static

Get a full signal set.

◆ empty()

static SignalSet empty ( )
static

Get an empty signal set.

◆ insert()

SignalSet & insert ( Signal signal)

Add signal.

◆ remove()

SignalSet & remove ( Signal signal)

Remove signal.

◆ contains()

bool contains ( Signal signal) const

Check if signal is member.

◆ operator sigset_t *()

operator sigset_t * ( )

Convert to low-level datatype.

◆ operator const sigset_t *()

operator const sigset_t * ( ) const

Convert to low-level datatype.