00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Adapter_Factory.h 00006 * 00007 * $Id: Adapter_Factory.h 74014 2006-08-14 13:52:22Z johnnyw $ 00008 * 00009 * @author Carlos O'Ryan (coryan@uci.edu) 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_ADAPTER_FACTORY_H 00014 #define TAO_ADAPTER_FACTORY_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include /**/ "tao/TAO_Export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include /**/ "tao/Versioned_Namespace.h" 00025 00026 #include "ace/Service_Object.h" 00027 00028 00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00030 00031 class TAO_Adapter; 00032 class TAO_ORB_Core; 00033 00034 class TAO_Export TAO_Adapter_Factory : public ACE_Service_Object 00035 { 00036 public: 00037 /// Destructor 00038 virtual ~TAO_Adapter_Factory (void); 00039 00040 /// Create a new adapter 00041 virtual TAO_Adapter *create (TAO_ORB_Core *orb_core) = 0; 00042 }; 00043 00044 TAO_END_VERSIONED_NAMESPACE_DECL 00045 00046 #include /**/ "ace/post.h" 00047 00048 #endif /* TAO_ADAPTER_FACTORY_H */