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 Member Functions

void operator= (const TAO_Fault_Tolerance_Service &)
 TAO_Fault_Tolerance_Service (const TAO_Fault_Tolerance_Service &)

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_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_Fault_Tolerance_Service::~TAO_Fault_Tolerance_Service ( void   ) 

Dtor.

TAO_Fault_Tolerance_Service::TAO_Fault_Tolerance_Service ( const TAO_Fault_Tolerance_Service  )  [private]

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.

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 }

void TAO_Fault_Tolerance_Service::operator= ( const TAO_Fault_Tolerance_Service  )  [private]
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.

00015 {
00016   return this->ft_service_callback_;
00017 }


Member Data Documentation

hook to callback on to the service

Definition at line 65 of file Fault_Tolerance_Service.h.


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

Generated on Sun Nov 22 23:26:20 2009 for TAO by  doxygen 1.6.1