blob: 3414508183dad911f8d8c03a660feb100c9e67f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
// -*- C++ -*-
// $Id$
//=============================================================================
/**
* @file LWFT_Client_Init.h
*
* $Id$
*
* Encapsulates LWFT replicated application initialization steps.
*
* @author Jeff Parsons <j.parsons@vanderbilt.edu>
*/
//=============================================================================
#ifndef TAO_LWFT_SERVER_INIT_H
#define TAO_LWFT_SERVER_INIT_H
#include /**/ "ace/pre.h"
#include "lwft_server_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Versioned_Namespace.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class LWFT_Server_Export LWFT_Server_Init
{
public:
LWFT_Server_Init (void);
~LWFT_Server_Init (void);
CORBA::ORB_ptr pre_init (int &argc, char *argv[]);
/// Used to force the registration of interceptors.
static int Initializer (void);
private:
static bool initialized_;
};
static int
TAO_Requires_LWFT_Server_Initializer = LWFT_Server_Init::Initializer ();
TAO_END_VERSIONED_NAMESPACE_DECL
ACE_STATIC_SVC_DECLARE (LWFT_Server_Init)
ACE_FACTORY_DECLARE (LWFT_Server, LWFT_Server_Init)
#include /**/ "ace/post.h"
#endif // TAO_LWFT_SERVER_INIT_H
|