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
32 /// Creates a PICurrent and returns it.
33 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
38 ACE_STATIC_SVC_DECLARE (TAO_POA_Current_Factory
)
39 ACE_FACTORY_DECLARE (TAO_PortableServer
, TAO_POA_Current_Factory
)
41 TAO_END_VERSIONED_NAMESPACE_DECL
43 #include /**/ "ace/post.h"
45 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */