blob: f6f28ddf5fe7944bfe8ab42646a7cb368f07af8b (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file Dynamic_Component_Servant_T.h
*
* $Id$
*
* This file contains the declaration of a mixin base class for
* the generated home servant class.
*
*/
//=============================================================================
#ifndef CIAO_DYNAMIC_COMPONENT_SERVANT_T_H
#define CIAO_DYNAMIC_COMPONENT_SERVANT_T_H
#include /**/ "ace/pre.h"
#include "Dynamic_Component_Servant_Base.h"
#include "SwapExecC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/PortableServer/Key_Adapters.h"
#include "ace/Hash_Map_Manager_T.h"
namespace CIAO
{
template <typename COMP_SVNT, typename COMP_EXEC,
typename COMP_EXEC_VAR, typename EXEC, typename EXEC_VAR,
typename COMP>
class Dynamic_Component_Servant
: public virtual Dynamic_Component_Servant_Base
{
public:
Dynamic_Component_Servant (Components::EnterpriseComponent_ptr ec,
Components::CCMHome_ptr home,
Swapping_Container *c);
virtual ~Dynamic_Component_Servant (void);
virtual PortableServer::Servant create (void);
protected:
Components::EnterpriseComponent_var executor_;
Components::CCMHome_var home_;
};
}
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "Dynamic_Component_Servant_T.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
#pragma implementation ("Dynamic_Component_Servant_T.cpp")
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
#include /**/ "ace/post.h"
#endif /* CIAO_DYNAMIC_COMPONENT_SERVANT_T_H */
|