PICurrent_Loader.cpp

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 // =================================================================
00004 /**
00005  * @file PICurrent_Loader.cpp
00006  *
00007  * $Id: PICurrent_Loader.cpp 77409 2007-02-26 23:48:49Z ossama $
00008  *
00009  * @author Johnny Willemsen  <jwillemsen@remedy.nl>
00010  *
00011  */
00012 // =================================================================
00013 
00014 #include "tao/PI/PICurrent_Loader.h"
00015 
00016 #if TAO_HAS_INTERCEPTORS == 1
00017 
00018 #include "tao/PI/PICurrent.h"
00019 
00020 #include "tao/ORB.h"
00021 #include "tao/ORB_Core.h"
00022 #include "tao/debug.h"
00023 
00024 ACE_RCSID (PI,
00025            PICurrent_Loader,
00026            "$Id: PICurrent_Loader.cpp 77409 2007-02-26 23:48:49Z ossama $")
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 CORBA::Object_ptr
00031 TAO_PICurrent_Loader::create_object (CORBA::ORB_ptr orb,  int, ACE_TCHAR *[])
00032 {
00033   CORBA::Object_ptr obj = CORBA::Object_ptr ();
00034   ACE_NEW_RETURN (obj,
00035                   TAO::PICurrent (*orb->orb_core ()),
00036                   CORBA::Object::_nil ());
00037   return obj;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL
00041 
00042 ACE_STATIC_SVC_DEFINE (TAO_PICurrent_Loader,
00043                        ACE_TEXT ("PICurrent_Loader"),
00044                        ACE_SVC_OBJ_T,
00045                        &ACE_SVC_NAME (TAO_PICurrent_Loader),
00046                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00047                        0)
00048 ACE_FACTORY_DEFINE (TAO_PI, TAO_PICurrent_Loader)
00049 
00050 #endif  /* TAO_HAS_INTERCEPTORS == 1 */

Generated on Sun Jan 27 13:29:59 2008 for TAO_PI by doxygen 1.3.6