summaryrefslogtreecommitdiff
path: root/ACE/Kokyu/Kokyu.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
commitc4078c377d74290ebe4e66da0b4975da91732376 (patch)
tree1816ef391e42a07929304908ac0e21f4c2f6cb7b /ACE/Kokyu/Kokyu.cpp
parent700d1c1a6be348c6c70a2085e559baeb8f4a62ea (diff)
downloadATCD-c4078c377d74290ebe4e66da0b4975da91732376.tar.gz
swap in externals for ACE and TAO
Diffstat (limited to 'ACE/Kokyu/Kokyu.cpp')
-rw-r--r--ACE/Kokyu/Kokyu.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/ACE/Kokyu/Kokyu.cpp b/ACE/Kokyu/Kokyu.cpp
deleted file mode 100644
index 1146f1ee315..00000000000
--- a/ACE/Kokyu/Kokyu.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// $Id$
-
-#include "Kokyu.h"
-
-#include "Default_Dispatcher_Impl.h"
-
-#if ! defined (__ACE_INLINE__)
-#include "Kokyu.inl"
-#endif /* __ACE_INLINE__ */
-
-ACE_RCSID(Kokyu, Kokyu, "$Id$")
-
-namespace Kokyu
-{
-
-int Dispatcher::dispatch (const Dispatch_Command* cmd, const QoSDescriptor& qos)
-{
- return dispatcher_impl_->dispatch (cmd, qos);
-}
-
-int Dispatcher::shutdown ()
-{
- return dispatcher_impl_->shutdown ();
-}
-
-int Dispatcher::activate ()
-{
- return dispatcher_impl_->activate ();
-}
-
-void Dispatcher::implementation (Dispatcher_Impl* impl)
-{
- auto_ptr<Dispatcher_Impl> tmp_impl (impl);
- dispatcher_impl_ = tmp_impl;
-
- //I couldn't use reset because MSVC++ auto_ptr does not have reset method.
- //So in configurations where the auto_ptr maps to the std::auto_ptr instead
- //of ACE auto_ptr, this would be a problem.
- //dispatcher_impl_.reset (impl);
-}
-
-Dispatcher*
-Dispatcher_Factory::
-create_dispatcher(const Dispatcher_Attributes& attrs)
-{
- Dispatcher* disp;
- Dispatcher_Impl* tmp;
- ACE_NEW_RETURN (tmp, Default_Dispatcher_Impl, 0);
- ACE_NEW_RETURN (disp, Dispatcher, 0);
- disp->implementation (tmp);
- tmp->init (attrs);
- return disp;
-}
-
-}