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

ACE_Sig_Handlers_Set Class Reference

Collaboration diagram for ACE_Sig_Handlers_Set:

Collaboration graph
List of all members.

Static Public Methods

ACE_SIG_HANDLERS_SETinstance (int signum)

Static Private Attributes


Member Function Documentation

ACE_SIG_HANDLERS_SET * ACE_Sig_Handlers_Set::instance int    signum [static]

Definition at line 548 of file Signal.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.

00549 {
00550   if (signum <= 0 || signum >= ACE_NSIG)
00551     return 0; // This will cause problems...
00552   else if (ACE_Sig_Handlers_Set::sig_handlers_[signum] == 0)
00553     ACE_NEW_RETURN (ACE_Sig_Handlers_Set::sig_handlers_[signum],
00554                     ACE_SIG_HANDLERS_SET,
00555                     0);
00556   return ACE_Sig_Handlers_Set::sig_handlers_[signum];
00557 }

Member Data Documentation

ACE_SIG_HANDLERS_SET * ACE_Sig_Handlers_Set::sig_handlers_ [static, private]

Definition at line 544 of file Signal.cpp.

Referenced by instance.

The documentation for this class was generated from the following file:
Generated on Mon Jun 16 12:56:11 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002