ACE_Sig_Handlers_Set Class Reference

Collaboration diagram for ACE_Sig_Handlers_Set:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

ACE_SIG_HANDLERS_SETinstance (int signum)

Static Private Attributes

ACE_SIG_HANDLERS_SETsig_handlers_ [ACE_NSIG]

Member Function Documentation

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

Definition at line 319 of file Sig_Handler.cpp.

References ACE_NEW_RETURN, ACE_NSIG, ACE_SIG_HANDLERS_SET, and sig_handlers_.

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

00320 {
00321   if (signum <= 0 || signum >= ACE_NSIG)
00322     return 0; // This will cause problems...
00323   else if (ACE_Sig_Handlers_Set::sig_handlers_[signum] == 0)
00324     ACE_NEW_RETURN (ACE_Sig_Handlers_Set::sig_handlers_[signum],
00325                     ACE_SIG_HANDLERS_SET,
00326                     0);
00327   return ACE_Sig_Handlers_Set::sig_handlers_[signum];
00328 }


Member Data Documentation

ACE_SIG_HANDLERS_SET * ACE_Sig_Handlers_Set::sig_handlers_ [static, private]
 

Definition at line 315 of file Sig_Handler.cpp.

Referenced by instance().


The documentation for this class was generated from the following file:
Generated on Sun Jan 27 12:57:36 2008 for ACE by doxygen 1.3.6