Overview | Maps ReferenceData to a local object, and prepares that object for export. |
Original class | CORBA module: BOA Class |
Exceptions | CORBA::SystemException |
Intended Usage
Typical server applications need never use this method.
This method is part of the CORBA specification.
Syntax
virtual CORBA::Object_ptr create (const CORBA::ReferenceData& refdata, CORBA::InterfaceDef_ptr intf, CORBA::ImplementationDef_ptr impldef);
Input parameters
Return value
Example
#include "corba.h" extern CORBA::BOA_ptr srvboa; /* assume previously initialized using CORBA::ORB::BOA_init */ ... ::CORBA::ReferenceData * rd = (::CORBA::ReferenceData *) NULL; rd = srvboa->get_id(this); ::CORBA::Object_ptr objPtr = srvboa->create(*rd, CORBA::InterfaceDef::_nil(), CORBA::ImplementationDef::_nil()); ...