1
//=============================================================================
3
* @file FT_ClientService_Activate.h
5
* FT_ClientService_Activate.h,v 1.2 2003/11/17 22:56:13 wilson_d Exp
7
* A concrete implementation of a service callback
9
* @author Bala Natarajan <bala@cs.wustl.edu>
11
//=============================================================================
13
#ifndef TAO_FT_CLIENTACTIVATE_H
14
#define TAO_FT_CLIENTACTIVATE_H
15
#include /**/ "ace/pre.h"
17
#include "FT_ClientORB_export.h"
19
#if !defined (ACE_LACKS_PRAGMA_ONCE)
21
#endif /* ACE_LACKS_PRAGMA_ONCE */
23
#include "tao/Services_Activate.h"
24
#include "ace/Service_Config.h"
26
class TAO_Service_Callbacks;
28
// Forward declarations
30
* @class TAO_FT_ClientService_Activate
32
* @brief A class to dynamically load the FT callback implementations in
35
* An implementation of the service callbacks that allows the
36
* loading of the FT ORB level library in to the ORB
38
class TAO_FT_ClientORB_Export TAO_FT_ClientService_Activate : public TAO_Services_Activate
43
TAO_FT_ClientService_Activate (void);
46
virtual ~TAO_FT_ClientService_Activate (void);
49
* Create and activate the service callbacks into the orb.
50
* This method cannot throw any exception, but it can return a nil
51
* object to indicate an error condition.
53
virtual TAO_Service_Callbacks *activate_services (TAO_ORB_Core *orb)
54
ACE_THROW_SPEC ((CORBA::SystemException));
56
/// Used to force the initialization.
57
static int Initializer (void);
61
ACE_STATIC_SVC_DECLARE (TAO_FT_ClientService_Activate)
62
ACE_FACTORY_DECLARE (TAO_FT_ClientORB, TAO_FT_ClientService_Activate)
64
#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
66
typedef int (*TAO_Module_Initializer) (void);
68
static TAO_Module_Initializer
69
TAO_FT_Requires_ClientService_Activate = &TAO_FT_ClientService_Activate::Initializer;
74
TAO_FT_Requires_ClientService_Activate = TAO_FT_ClientService_Activate::Initializer ();
76
#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
78
#include /**/ "ace/post.h"
79
#endif /*TAO_FT_CLIENTACTIVATE_H*/