00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Valuetype_Adapter_Factory.h 00006 * 00007 * $Id: Valuetype_Adapter_Factory.h 76995 2007-02-11 12:51:42Z johnnyw $ 00008 * 00009 * @author Kees van Marle <kvmarle@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef TAO_VALUETYPE_ADAPTER_FACTORY_H 00015 #define TAO_VALUETYPE_ADAPTER_FACTORY_H 00016 00017 #include /**/ "ace/pre.h" 00018 #include "ace/Service_Object.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/orbconf.h" 00025 #include "tao/TAO_Export.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 class TAO_Valuetype_Adapter; 00030 00031 /** 00032 * @class TAO_Valuetype_Adapter_Factory 00033 * 00034 * @brief TAO_Valuetype_Adapter_Factory. 00035 * 00036 * Class that creates one instance of TAO_Valuetype_Adapter per 00037 * ORB on the ORB's first usage of its valuetype_adapter_. This is a base 00038 * class for the actual implementation in the TAO_Valuetype library. 00039 */ 00040 class TAO_Export TAO_Valuetype_Adapter_Factory 00041 : public ACE_Service_Object 00042 { 00043 public: 00044 virtual ~TAO_Valuetype_Adapter_Factory (void); 00045 00046 virtual TAO_Valuetype_Adapter * create (void) = 0; 00047 }; 00048 00049 TAO_END_VERSIONED_NAMESPACE_DECL 00050 00051 #include /**/ "ace/post.h" 00052 00053 #endif /* TAO_VALUETYPE_ADAPTER_FACTORY_H */