POA_Current_Factory.cpp

Go to the documentation of this file.
00001 // POA_Current_Factory.cpp,v 1.3 2006/03/10 07:19:13 jtc Exp
00002 
00003 #include "tao/PortableServer/POA_Current_Factory.h"
00004 #include "tao/PortableServer/POA_Current.h"
00005 #include "tao/ORB_Core.h"
00006 
00007 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 CORBA::Object_ptr
00010 TAO_POA_Current_Factory::create_object (CORBA::ORB_ptr,
00011                                         int,
00012                                         ACE_TCHAR * []
00013                                         ACE_ENV_ARG_DECL_NOT_USED)
00014     ACE_THROW_SPEC ((CORBA::SystemException))
00015 {
00016   TAO::Portable_Server::POA_Current* adapter = 0;
00017   ACE_NEW_RETURN (adapter,
00018                   TAO::Portable_Server::POA_Current (),
00019                   0);
00020   return adapter;
00021 }
00022 
00023 TAO_END_VERSIONED_NAMESPACE_DECL
00024 
00025 ACE_FACTORY_DEFINE (TAO_PortableServer, TAO_POA_Current_Factory)
00026 ACE_STATIC_SVC_DEFINE (TAO_POA_Current_Factory,
00027                        ACE_TEXT ("TAO_POA_Current_Factory"),
00028                        ACE_SVC_OBJ_T,
00029                        &ACE_SVC_NAME (TAO_POA_Current_Factory),
00030                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00031                        0)
00032 

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