00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file POA_Current_Factory.h 00006 * 00007 * $Id: POA_Current_Factory.h 76995 2007-02-11 12:51:42Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_POA_CURRENT_FACTORY_H 00014 #define TAO_POA_CURRENT_FACTORY_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/PortableServer/portableserver_export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/Object_Loader.h" 00025 #include "ace/Service_Config.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 class TAO_PortableServer_Export TAO_POA_Current_Factory 00030 : public TAO_Object_Loader 00031 { 00032 public: 00033 00034 /// Creates a PICurrent and returns it. 00035 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb, 00036 int argc, 00037 ACE_TCHAR *argv []); 00038 }; 00039 00040 TAO_END_VERSIONED_NAMESPACE_DECL 00041 00042 ACE_STATIC_SVC_DECLARE (TAO_POA_Current_Factory) 00043 ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_POA_Current_Factory) 00044 00045 #include /**/ "ace/post.h" 00046 00047 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */