summaryrefslogtreecommitdiff
path: root/TAO/tao/poa_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/poa_T.cpp')
-rw-r--r--TAO/tao/poa_T.cpp94
1 files changed, 94 insertions, 0 deletions
diff --git a/TAO/tao/poa_T.cpp b/TAO/tao/poa_T.cpp
new file mode 100644
index 00000000000..f81093139b1
--- /dev/null
+++ b/TAO/tao/poa_T.cpp
@@ -0,0 +1,94 @@
+#if !defined (POA_T_CPP)
+#define POA_T_CPP
+
+#include "tao/poa_T.h"
+
+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 */