00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_Object_Adapter_Factory.h 00006 * 00007 * $Id: RT_Object_Adapter_Factory.h 84281 2009-01-30 15:01:17Z wotte $ 00008 * 00009 * @author Frank Hunleth 00010 */ 00011 // =================================================================== 00012 00013 #ifndef TAO_RT_OBJECT_ADAPTER_FACTORY_H 00014 #define TAO_RT_OBJECT_ADAPTER_FACTORY_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/RTPortableServer/rtportableserver_export.h" 00018 00019 #include "tao/Adapter_Factory.h" 00020 #include "tao/orbconf.h" 00021 00022 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00023 00024 #include "ace/Service_Config.h" 00025 00026 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00027 # pragma once 00028 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00029 00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00031 00032 class TAO_RTPortableServer_Export TAO_RT_Object_Adapter_Factory 00033 : public TAO_Adapter_Factory 00034 { 00035 public: 00036 00037 /// Create adapter. 00038 virtual TAO_Adapter *create (TAO_ORB_Core *orb_core); 00039 }; 00040 00041 00042 ACE_STATIC_SVC_DECLARE (TAO_RT_Object_Adapter_Factory) 00043 ACE_FACTORY_DECLARE (TAO_RTPortableServer, TAO_RT_Object_Adapter_Factory) 00044 00045 TAO_END_VERSIONED_NAMESPACE_DECL 00046 00047 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */ 00048 00049 #include /**/ "ace/post.h" 00050 00051 #endif /* TAO_RT_OBJECT_ADAPTER_FACTORY_H */