summaryrefslogtreecommitdiff
path: root/TAO/tao/poa_T.cpp
blob: 9c669762f088c958c75e890a6c9db9654430e12d (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
92
93
94
95
96
97
98
// $Id$

#ifndef POA_T_CPP
#define POA_T_CPP

#include "tao/poa_T.h"

ACE_RCSID(tao, poa_T, "$Id$")

template <class ACE_LOCKING_MECHANISM>
TAO_Locked_POA<ACE_LOCKING_MECHANISM>::TAO_Locked_POA (const char *adapter_name,
                                                       PortableServer::POAManager_ptr poa_manager,
                                                       TAO_POA_Policies &policies,
                                                       PortableServer::POA_ptr parent,
                                                       CORBA::Environment &env)
  : TAO_POA (adapter_name,
             poa_manager,
             policies,
             parent,
             env)
{
}

template <class ACE_LOCKING_MECHANISM>
TAO_Locked_POA<ACE_LOCKING_MECHANISM>::TAO_Locked_POA (const char *adapter_name,
                                                       PortableServer::POAManager_ptr poa_manager,
                                                       TAO_POA_Policies &policies,
                                                       PortableServer::POA_ptr parent,
                                                       TAO_Object_Table &active_object_table,
                                                       CORBA::Environment &env)
  : TAO_POA (adapter_name,
             poa_manager,
             policies,
             parent,
             active_object_table,
             env)
{
}


template <class ACE_LOCKING_MECHANISM> TAO_POA *
TAO_Locked_POA<ACE_LOCKING_MECHANISM>::clone (const char *adapter_name,
                                              PortableServer::POAManager_ptr poa_manager,
                                              TAO_POA_Policies &policies,
                                              PortableServer::POA_ptr parent,
                                              CORBA::Environment &env)
{
  return new SELF (adapter_name,
                   poa_manager,
                   policies,
                   parent,
                   env);
}


template <class ACE_LOCKING_MECHANISM> TAO_POA *
TAO_Locked_POA<ACE_LOCKING_MECHANISM>::clone (const char *adapter_name,
                                              PortableServer::POAManager_ptr poa_manager,
                                              TAO_POA_Policies &policies,
                                              PortableServer::POA_ptr parent,
                                              TAO_Object_Table &active_object_table,
                                              CORBA::Environment &env)
{
  return new SELF (adapter_name,
                   poa_manager,
                   policies,
                   parent,
                   active_object_table,
                   env);
}


template <class ACE_LOCKING_MECHANISM> ACE_Lock &
TAO_Locked_POA<ACE_LOCKING_MECHANISM>::lock (void)
{
  return this->lock_;
}

template <class ACE_LOCKING_MECHANISM>
TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::TAO_Locked_POA_Manager (void)
  : TAO_POA_Manager ()
{
}


template <class ACE_LOCKING_MECHANISM> TAO_POA_Manager *
TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::clone (void)
{
  return new SELF;
}

template <class ACE_LOCKING_MECHANISM> ACE_Lock &
TAO_Locked_POA_Manager<ACE_LOCKING_MECHANISM>::lock (void)
{
  return this->lock_;
}

#endif /* POA_T_CPP */