3 //=============================================================================
5 * @file POA_Current_Factory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_POA_CURRENT_FACTORY_H
12 #define TAO_POA_CURRENT_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PortableServer/portableserver_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Object_Loader.h"
23 #include "ace/Service_Config.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 class TAO_PortableServer_Export TAO_POA_Current_Factory
28 : public TAO_Object_Loader
31 /// Creates a PICurrent and returns it.
32 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
37 ACE_STATIC_SVC_DECLARE (TAO_POA_Current_Factory
)
38 ACE_FACTORY_DECLARE (TAO_PortableServer
, TAO_POA_Current_Factory
)
40 TAO_END_VERSIONED_NAMESPACE_DECL
42 #include /**/ "ace/post.h"
44 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */