TAO_CosTime  2.0.8
Public Member Functions | Protected Types | Protected Attributes
Timer_Helper Class Reference

Timer Helper for the clerk. More...

#include <Timer_Helper.h>

Inheritance diagram for Timer_Helper:
Inheritance graph
[legend]
Collaboration diagram for Timer_Helper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 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)

Protected Types

typedef ACE_Array_Base
< CosTime::TimeService_var > 
IORS
 The set of server IORs.

Protected Attributes

TAO_Time_Service_Clerkclerk_
 Clerk's instance that this class helps to update time.

Detailed Description

Timer Helper for the clerk.

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.


Member Typedef Documentation

typedef ACE_Array_Base<CosTime::TimeService_var> Timer_Helper::IORS [protected]

The set of server IORs.


Constructor & Destructor Documentation

Timer_Helper::Timer_Helper ( void  )

Constructor.

Timer_Helper::~Timer_Helper ( void  )

Destructor.

Timer_Helper::Timer_Helper ( TAO_Time_Service_Clerk clerk)

Constructor that sets the clerk.


Member Function Documentation

int Timer_Helper::handle_timeout ( const ACE_Time_Value time,
const void *  arg 
) [virtual]

This method is called periodically by the Reactor to update the clerk's time.

Reimplemented from ACE_Event_Handler.


Member Data Documentation

Clerk's instance that this class helps to update time.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines