summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h
blob: 9b081c084a9d30cd045e5256bcc0ba9cfadf3080 (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
57
58
59
60
61
// -*- C++ -*-

//=============================================================================
/**
 * @file LWFT_Client_Init.h
 *
 * $Id$
 *
 * Encapsulates LWFT client initialization steps.
 *
 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
 */
//=============================================================================

#ifndef TAO_LWFT_CLIENT_INIT_H
#define TAO_LWFT_CLIENT_INIT_H

#include /**/ "ace/pre.h"

#include "lwft_client_export.h"

class ForwardingAgent_i;

#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_Client_Init
 *
 * @brief A class that encapsulates the special initialization
 *        requirements of LWFT clients.
 *
 */
namespace CORBA
{
  class ORB;
  typedef ORB *ORB_ptr;
}

class LWFT_Client_Export LWFT_Client_Init
{
public:
  LWFT_Client_Init (void);
  ~LWFT_Client_Init (void);
  
  CORBA::ORB_ptr init (int &argc,
                       ACE_TCHAR *argv[],
                       const ACE_TCHAR *orb_name = 0);
  
private:
  ForwardingAgent_i *agent_;
};

#include /**/ "ace/post.h"

#endif /*TAO_LWFT_CLIENT_INIT_H  */