diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-01-22 12:32:21 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-01-22 12:32:21 +0000 |
commit | 7c8f45bdaeb371b3bb333bd9586466b98fa62114 (patch) | |
tree | 48c0c852d60821c9af6f0598ca21cd4fa69415aa /TAO | |
parent | 48febbbfe69309fab2d8233c75f4711fbcd6925b (diff) | |
download | ATCD-7c8f45bdaeb371b3bb333bd9586466b98fa62114.tar.gz |
ChangeLogTag: Sat Jan 22 12:32:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Shutdown_Utilities.cpp | 16 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Shutdown_Utilities.h | 8 |
2 files changed, 17 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.cpp b/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.cpp index 26f1a46526a..d3d31499310 100644 --- a/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.cpp +++ b/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.cpp @@ -1,9 +1,19 @@ // $Id$ -//ACE_RCSID(orbsvcs, Shutdown_Utilities, "$Id$") - #include "Shutdown_Utilities.h" +ACE_RCSID(orbsvcs, + Shutdown_Utilities, + "$Id$") + +Shutdown_Functor::Shutdown_Functor (void) +{ +} + +Shutdown_Functor::~Shutdown_Functor (void) +{ +} + Service_Shutdown::Service_Shutdown (Shutdown_Functor& sf) : functor_(sf) { @@ -29,7 +39,7 @@ Service_Shutdown::Service_Shutdown (Shutdown_Functor& sf, ACE_Sig_Set& which_sig // // It would be even nicer if the register_handler() method just took // an ACE_Sig_Set as an argument and handled all this stuff itself. -// +// void Service_Shutdown::set_signals (ACE_Sig_Set& which_signals) { diff --git a/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.h b/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.h index a5133521f90..77a53946532 100644 --- a/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.h +++ b/TAO/orbsvcs/orbsvcs/Shutdown_Utilities.h @@ -9,7 +9,6 @@ #include "orbsvcs/svc_utils_export.h" -class TAO_Svc_Utils_Export Shutdown_Functor /** * \brief Abstract definition for a Functor that shuts down a particular service. * @@ -19,16 +18,16 @@ class TAO_Svc_Utils_Export Shutdown_Functor * implementation of operator()(int which_signal) that actually performs * the shutdown. */ +class TAO_Svc_Utils_Export Shutdown_Functor { public: virtual void operator() (int which_signal) = 0; protected: - Shutdown_Functor() { } - virtual ~Shutdown_Functor() { } + Shutdown_Functor (void); + virtual ~Shutdown_Functor (void); }; -class TAO_Svc_Utils_Export Service_Shutdown : public ACE_Event_Handler /** * \brief Class that permits graceful shutdown of a service. * @@ -39,6 +38,7 @@ class TAO_Svc_Utils_Export Service_Shutdown : public ACE_Event_Handler * This class can be used to capture signals and gracefully shut down * the service. */ +class TAO_Svc_Utils_Export Service_Shutdown : public ACE_Event_Handler { public: Service_Shutdown (Shutdown_Functor& sf); |