ACE_Sig_Handlers_Set Class Reference

Collaboration diagram for ACE_Sig_Handlers_Set:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static ACE_SIG_HANDLERS_SETinstance (int signum)

Static Private Attributes

static ACE_SIG_HANDLERS_SETsig_handlers_ [ACE_NSIG]

Detailed Description

Definition at line 300 of file Sig_Handler.cpp.


Member Function Documentation

ACE_SIG_HANDLERS_SET * ACE_Sig_Handlers_Set::instance ( int  signum  )  [static]

Definition at line 314 of file Sig_Handler.cpp.

References ACE_NEW_RETURN, ACE_NSIG, and sig_handlers_.

Referenced by ACE_Sig_Handlers::dispatch(), ACE_Sig_Handlers::handler(), ACE_Sig_Handlers::register_handler(), and ACE_Sig_Handlers::remove_handler().

00315 {
00316   if (signum <= 0 || signum >= ACE_NSIG)
00317     return 0; // This will cause problems...
00318   else if (ACE_Sig_Handlers_Set::sig_handlers_[signum] == 0)
00319     ACE_NEW_RETURN (ACE_Sig_Handlers_Set::sig_handlers_[signum],
00320                     ACE_SIG_HANDLERS_SET,
00321                     0);
00322   return ACE_Sig_Handlers_Set::sig_handlers_[signum];
00323 }


Member Data Documentation

ACE_SIG_HANDLERS_SET * ACE_Sig_Handlers_Set::sig_handlers_ [static, private]

Definition at line 306 of file Sig_Handler.cpp.

Referenced by instance().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 17:35:36 2010 for ACE by  doxygen 1.4.7