summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp')
-rw-r--r--ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp b/ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp
new file mode 100644
index 00000000000..5acd660e5c4
--- /dev/null
+++ b/ACE/TAO/orbsvcs/performance-tests/RTEvent/lib/Auto_Disconnect.cpp
@@ -0,0 +1,24 @@
+/**
+ * @file Auto_Disconnect.cpp
+ *
+ * $Id$
+ *
+ * @author Carlos O'Ryan <coryan@uci.edu>
+ */
+#ifndef TAO_PERF_RTEC_AUTO_DISCONNECT_CPP
+#define TAO_PERF_RTEC_AUTO_DISCONNECT_CPP
+
+#include "Auto_Disconnect.h"
+
+#if !defined(__ACE_INLINE__)
+#include "Auto_Disconnect.inl"
+#endif /* __ACE_INLINE__ */
+
+template<class Client> Auto_Disconnect<Client>&
+Auto_Disconnect<Client>::operator= (Client *client)
+{
+ this->reset(client);
+ return *this;
+}
+
+#endif /* TAO_PERF_RTEC_AUTO_DISCONNECT_CPP */