Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Adapter_Factory.h
blob20105ad3964ab2181fdf78ae74dc7451a198d183
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Adapter_Factory.h
7 * @author Carlos O'Ryan (coryan@uci.edu)
8 */
9 //=============================================================================
11 #ifndef TAO_ADAPTER_FACTORY_H
12 #define TAO_ADAPTER_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include /**/ "tao/Versioned_Namespace.h"
24 #include "ace/Service_Object.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_Adapter;
30 class TAO_ORB_Core;
32 class TAO_Export TAO_Adapter_Factory : public ACE_Service_Object
34 public:
35 /// Destructor
36 virtual ~TAO_Adapter_Factory ();
38 /// Create a new adapter
39 virtual TAO_Adapter *create (TAO_ORB_Core *orb_core) = 0;
42 TAO_END_VERSIONED_NAMESPACE_DECL
44 #include /**/ "ace/post.h"
46 #endif /* TAO_ADAPTER_FACTORY_H */