3 //=============================================================================
5 * @file Fault_Tolerance_Service.h
7 * A collection of the ORB and ORB core related properties that are
8 * specific to FT service. The TAO_ORB_Core holds an instance of this
11 * @author Bala Natarajan <bala@cs.wustl.edu>
13 //=============================================================================
14 #ifndef TAO_FAULT_TOLERANCE_SERVICE_H
15 #define TAO_FAULT_TOLERANCE_SERVICE_H
17 #include /**/ "ace/pre.h"
19 #include /**/ "tao/TAO_Export.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/Basic_Types.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_Service_Callbacks
;
33 * @class TAO_Fault_Tolerance_Service
35 * @brief TAO_Fault_Tolerant_Service
37 * A class that holds an FT service call back instance.
39 class TAO_Export TAO_Fault_Tolerance_Service
43 TAO_Fault_Tolerance_Service () = default;
46 ~TAO_Fault_Tolerance_Service ();
48 /// Initialize the internal data structures
49 void init (TAO_ORB_Core
*orb_core
);
51 /// Return the underlying callback object
52 TAO_Service_Callbacks
*service_callback ();
55 void operator= (const TAO_Fault_Tolerance_Service
&);
56 TAO_Fault_Tolerance_Service (const TAO_Fault_Tolerance_Service
&);
59 /// hook to callback on to the service
60 TAO_Service_Callbacks
*ft_service_callback_
{};
63 TAO_END_VERSIONED_NAMESPACE_DECL
65 #if defined (__ACE_INLINE__)
66 # include "tao/Fault_Tolerance_Service.inl"
67 #endif /* __ACE_INLINE__ */
69 #include /**/ "ace/post.h"
70 #endif /*TAO_FAULT_TOLERANCE_SERVICE_H*/