diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/PortableServer/ORT_Adapter_Factory.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/PortableServer/ORT_Adapter_Factory.h')
-rw-r--r-- | TAO/tao/PortableServer/ORT_Adapter_Factory.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/TAO/tao/PortableServer/ORT_Adapter_Factory.h b/TAO/tao/PortableServer/ORT_Adapter_Factory.h deleted file mode 100644 index d5c7570f93f..00000000000 --- a/TAO/tao/PortableServer/ORT_Adapter_Factory.h +++ /dev/null @@ -1,74 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file ORT_Adapter_Factory.h - * - * $Id$ - * - * @author Johnny Willemsen <jwillemsen@remedy.nl> - */ -//============================================================================= - - -#ifndef TAO_ORT_ADAPTER_FACTORY_H -#define TAO_ORT_ADAPTER_FACTORY_H - -#include /**/ "ace/pre.h" - -#include "tao/PortableServer/portableserver_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Versioned_Namespace.h" -#include "ace/Service_Object.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - class ORT_Adapter; -} - -namespace TAO -{ - /** - * @class ORT_Adapter_Factory - * - * @brief ORT_Adapter_Factory - * - * Class that creates one instance of TAO::ORT_Adapter per - * POA on the POA's first usage of its objectreferencetemplate_adapter. - * This is a base class for the actual implementation in the - * TAO_ObjectReferenceTemplate library. - */ - class TAO_PortableServer_Export ORT_Adapter_Factory - : public ACE_Service_Object - { - public: - - /// Destructor. - /** - * @note Even though this class only defines an interface, a - * destructor is necessary to avoid dynamic_cast<> failures - * when using g++ 4.0's -fvisibility-inlines-hidden command - * line option. Apparently the compiler generated - * destructor is inlined. - */ - virtual ~ORT_Adapter_Factory (void); - - /// Create a new adapter, in case not possible to allocate, returns 0 - virtual TAO::ORT_Adapter * create () = 0; - - /// Destroy the passed adapter - virtual void destroy (TAO::ORT_Adapter * adapter) = 0; - }; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* TAO_ORT_ADAPTER_FACTORY_H */ |