diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h deleted file mode 100644 index 20f0ef93545..00000000000 --- a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h +++ /dev/null @@ -1,72 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Time_Service -// -// = FILENAME -// Timer_Helper.cpp -// -// = DESCRIPTION -// This class is registered with the Reactor and extends from the -// event handler.It is a friend of the TAO_Time_Service_Clerk and -// helps to update the clerk's notion of globally synchronized -// time. This class obviates the need for multiple inheritance in -// the clerk. -// -// = AUTHOR -// Vishal Kachroo <vishal@cs.wustl.edu> -// -// ============================================================================ - -#ifndef TIMER_HELPER_H -#define TIMER_HELPER_H - -#include "ace/Event_Handler.h" -#include "ace/Containers.h" - -#include "orbsvcs/TimeServiceS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class TAO_Time_Service_Clerk; - -class TAO_ORBSVCS_Export Timer_Helper : public ACE_Event_Handler -{ - // = TITLE - // Timer Helper for the clerk. - // - // = DESCRIPTION - // The handle timeout method of this class is called periodically - // by the reactor. This method updates the clerk's notion of - // globally synchronized time by contacting the various Time - // Servers. -public: - // = Initialization and termination methods. - Timer_Helper (void); - // Constructor. - - ~Timer_Helper (void); - // Destructor. - - Timer_Helper (TAO_Time_Service_Clerk *clerk); - // Constructor that sets the clerk. - - int handle_timeout (const ACE_Time_Value &time, - const void *arg); - // This method is called periodically by the Reactor to update the - // clerk's time. - -protected: - TAO_Time_Service_Clerk *clerk_; - // Clerk's instance that this class helps to update time. - - typedef ACE_Array_Base<CosTime::TimeService_var> IORS; - // The set of server IORs. -}; - -#endif /* TIMER_HELPER_H */ |