blob: c6a2435b280e7882a73020000bb02ef653a5061b (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
// -*- C++ -*-
//=============================================================================
/**
* @file IFR_Client_Adapter_Impl.h
*
* $Id$
*
* @author Jeff Parsons <parsons@cs.wustl.edu>
*/
//=============================================================================
#ifndef TAO_IFR_CLIENT_ADAPTER_IMPL_H
#define TAO_IFR_CLIENT_ADAPTER_IMPL_H
#include /**/ "ace/pre.h"
#include "ifr_client_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/IFR_Client_Adapter.h"
#include "ace/Service_Config.h"
/**
* @class TAO_IFR_Client_Adapter_Impl
*
* @brief TAO_IFR_Client_Adapter_Impl.
*
* Class that adapts various functions in the CORBA namespace
* which use the Interface Repository. This is the derived class
* that contains the actual implementations.
*/
class TAO_IFR_Client_Export TAO_IFR_Client_Adapter_Impl
: public TAO_IFR_Client_Adapter
{
public:
virtual ~TAO_IFR_Client_Adapter_Impl (void);
virtual CORBA::Boolean interfacedef_cdr_insert (
TAO_OutputCDR &cdr,
CORBA::InterfaceDef_ptr object_type
);
virtual void interfacedef_any_insert (
CORBA::Any &any,
CORBA::InterfaceDef_ptr object_type
);
virtual void dispose (
CORBA::InterfaceDef_ptr orphan
);
virtual CORBA::InterfaceDef_ptr get_interface (
CORBA::ORB_ptr orb,
const char *repo_id
ACE_ENV_ARG_DECL
);
virtual CORBA::InterfaceDef_ptr get_interface_remote (
CORBA::Object_ptr target
ACE_ENV_ARG_DECL
);
#if (TAO_HAS_MINIMUM_CORBA == 0)
virtual void create_operation_list (
CORBA::ORB_ptr orb,
CORBA::OperationDef_ptr,
CORBA::NVList_ptr&
ACE_ENV_ARG_DECL
);
#endif /*TAO_HAS_MINIMUM_CORBA*/
// Used to force the initialization of the ORB code.
static int Initializer (void);
};
ACE_STATIC_SVC_DECLARE (TAO_IFR_Client_Adapter_Impl)
ACE_FACTORY_DECLARE (TAO_IFR_Client, TAO_IFR_Client_Adapter_Impl)
static int
TAO_Requires_IFR_Client_Initializer =
TAO_IFR_Client_Adapter_Impl::Initializer ();
#include /**/ "ace/post.h"
#endif /* TAO_IFR_CLIENT_ADAPTER_IMPL_H */
|