#include <PICurrent_Loader.h>
Inheritance diagram for TAO_PICurrent_Loader:
Public Member Functions | |
virtual CORBA::Object_ptr | create_object (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[]) |
Creates a PICurrent and returns it. |
Definition at line 36 of file PICurrent_Loader.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::Object_ptr TAO_PICurrent_Loader::create_object | ( | CORBA::ORB_ptr | orb, | |
int | argc, | |||
ACE_TCHAR * | argv[] | |||
) | [virtual] |
Creates a PICurrent and returns it.
Implements TAO_Object_Loader.
Definition at line 31 of file PICurrent_Loader.cpp.
References CORBA::Object::_nil(), and ACE_NEW_RETURN.
00032 { 00033 CORBA::Object_ptr obj = CORBA::Object::_nil (); 00034 ACE_NEW_RETURN (obj, 00035 TAO::PICurrent (*orb->orb_core ()), 00036 CORBA::Object::_nil ()); 00037 return obj; 00038 }