ACE
6.3.1
|
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>
Public Member Functions | |
ACE_Sig_Guard (ACE_Sig_Set *mask=0, bool condition=true) | |
~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... | |
bool | condition_ |
Guard Condition. More... | |
Hold signals in MASK for duration of a C++ statement block. Note that a "0" for mask causes all signals to be held.
|
inline |
This is kind of conditional Guard, needed when guard should be activated only when a specific condition met. When condition == true (default), Guard is activated
ACE_Sig_Guard::~ACE_Sig_Guard | ( | void | ) |
Restore blocked signals.
void ACE_Sig_Guard::dump | ( | void | ) | const |
Dump the state of an object.
ACE_Sig_Guard::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Guard Condition.
|
private |
Original signal mask.