Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# ACE_Sig_Guard Class Reference

Hold signals in MASK for duration of a C++ statement block. Note that a "0" for mask causes all signals to be held. More...

`#include <Signal.h>`

Collaboration diagram for ACE_Sig_Guard:

[legend]
List of all members.

## Public Methods
| ACE_Sig_Guard (ACE_Sig_Set *mask=0)
| Block out signals in <mask>. Default is to block all signals! More...
| ~ACE_Sig_Guard (void)
| Restore blocked signals. 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
ACE_Sig_Set | omask_
| Original signal mask. More...

## Detailed Description

Hold signals in MASK for duration of a C++ statement block. Note that a "0" for mask causes all signals to be held.

## Constructor & Destructor Documentation

ACE_INLINE ACE_Sig_Guard::ACE_Sig_Guard | ( | ACE_Sig_Set * | mask = 0 | ) |

| Block out signals in <mask>. Default is to block all signals!

ACE_INLINE ACE_Sig_Guard::~ACE_Sig_Guard | ( | void |  | ) |

| Restore blocked signals.

## Member Function Documentation

void ACE_Sig_Guard::dump | ( | void |  | ) | const

| Dump the state of an object.

## Member Data Documentation

ACE_Sig_Guard::ACE_ALLOC_HOOK_DECLARE

| Declare the dynamic allocation hooks.

ACE_Sig_Set ACE_Sig_Guard::omask_`[private]`

| Original signal mask.

The documentation for this class was generated from the following files:

- Signal.h
- Signal.cpp
- Signal.i