1
//=============================================================================
3
* @file FT_ServerService_Activate.h
5
* FT_ServerService_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_SERVERACTIVATE_H
14
#define TAO_FT_SERVERACTIVATE_H
15
#include /**/ "ace/pre.h"
17
#include "FT_ServerORB_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_ServerService_Activate
32
* @brief A class to dynamically load the FT callback implementations in
36
class TAO_FT_ServerORB_Export TAO_FT_ServerService_Activate : public ACE_Service_Object
41
TAO_FT_ServerService_Activate (void);
44
virtual ~TAO_FT_ServerService_Activate (void);
46
/// Used to force the initialization.
47
static int Initializer (void);
51
ACE_STATIC_SVC_DECLARE (TAO_FT_ServerService_Activate)
52
ACE_FACTORY_DECLARE (TAO_FT_ServerORB, TAO_FT_ServerService_Activate)
54
#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
56
typedef int (*TAO_Module_Initializer) (void);
58
static TAO_Module_Initializer
59
TAO_FT_Requires_ServerService_Activate = &TAO_FT_ServerService_Activate::Initializer;
64
TAO_FT_Requires_ServerService_Activate = TAO_FT_ServerService_Activate::Initializer ();
66
#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
68
#include /**/ "ace/post.h"
69
#endif /*TAO_FT_ACTIVATE_H*/