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:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACE_Sig_Guard (ACE_Sig_Set *mask=0, bool condition=true)
 ~ACE_Sig_Guard (void)
 Restore blocked signals.
void dump (void) const
 Dump the state of an object.

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.

Private Attributes

ACE_Sig_Set omask_
 Original signal mask.
bool condition_
 Guard Condition.


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,
bool  condition = true 
)

This is kind of conditional Guard, needed when guard should be activated only when a spcific condition met. When condition == true (default), Guard is activated

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

Declare the dynamic allocation hooks.

Original signal mask.

bool ACE_Sig_Guard::condition_ [private]

Guard Condition.


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

Generated on Wed Apr 23 02:41:31 2008 for ACE by  doxygen 1.5.5