TAO_Fault_Tolerance_Service Class Reference

TAO_Fault_Tolerant_Service. More...

#include <Fault_Tolerance_Service.h>

Collaboration diagram for TAO_Fault_Tolerance_Service:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Fault_Tolerance_Service (void)
 Ctor.
 ~TAO_Fault_Tolerance_Service (void)
 Dtor.
void init (TAO_ORB_Core *orb_core)
 Initialise the internal data structures.
TAO_Service_Callbacksservice_callback (void)
 Return the underlying callback object.

Private Attributes

TAO_Service_Callbacksft_service_callback_
 hook to callback on to the service

Detailed Description

TAO_Fault_Tolerant_Service.

A class that holds an FT service call back instance.

Definition at line 42 of file Fault_Tolerance_Service.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Fault_Tolerance_Service::TAO_Fault_Tolerance_Service ( void   ) 

Ctor.

Definition at line 8 of file Fault_Tolerance_Service.inl.

00009   : ft_service_callback_ (0)
00010 {
00011 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Fault_Tolerance_Service::~TAO_Fault_Tolerance_Service ( void   ) 

Dtor.

Definition at line 18 of file Fault_Tolerance_Service.cpp.

00019 {
00020   delete this->ft_service_callback_;
00021 }


Member Function Documentation

void TAO_Fault_Tolerance_Service::init ( TAO_ORB_Core orb_core  ) 

Initialise the internal data structures.

Definition at line 24 of file Fault_Tolerance_Service.cpp.

References TAO_Services_Activate::activate_services(), and ft_service_callback_.

Referenced by TAO_ORB_Core::services_callbacks_init().

00025 {
00026   // Look in to the svc conf stuff to get an instance of the
00027   // FT_Service.
00028   if (this->ft_service_callback_ == 0)
00029     {
00030       TAO_Services_Activate *service =
00031         ACE_Dynamic_Service <TAO_Services_Activate>::instance ("FT_ClientService_Activate");
00032 
00033       // Activate the callback
00034       if (service)
00035         this->ft_service_callback_ = service->activate_services (orb_core);
00036     }
00037 
00038   return;
00039 }

ACE_INLINE TAO_Service_Callbacks * TAO_Fault_Tolerance_Service::service_callback ( void   ) 

Return the underlying callback object.

Definition at line 14 of file Fault_Tolerance_Service.inl.

References ft_service_callback_.

00015 {
00016   return this->ft_service_callback_;
00017 }


Member Data Documentation

TAO_Service_Callbacks* TAO_Fault_Tolerance_Service::ft_service_callback_ [private]

hook to callback on to the service

Definition at line 61 of file Fault_Tolerance_Service.h.

Referenced by init(), and service_callback().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:28 2010 for TAO by  doxygen 1.4.7