POA_Current_Factory.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    POA_Current_Factory.h
00006  *
00007  *  POA_Current_Factory.h,v 1.3 2006/03/10 07:19:13 jtc Exp
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                                            ACE_ENV_ARG_DECL)
00039     ACE_THROW_SPEC ((CORBA::SystemException));
00040 };
00041 
00042 TAO_END_VERSIONED_NAMESPACE_DECL
00043 
00044 ACE_STATIC_SVC_DECLARE (TAO_POA_Current_Factory)
00045 ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_POA_Current_Factory)
00046 
00047 #include /**/ "ace/post.h"
00048 
00049 #endif /* TAO_OBJECT_ADAPTER_FACTORY_H */

Generated on Thu Nov 9 12:40:39 2006 for TAO_PortableServer by doxygen 1.3.6