#include <Default_Stub_Factory.h>


Public Member Functions | |
| virtual | ~TAO_Default_Stub_Factory (void) |
| Destructor. | |
| virtual TAO_Stub * | create_stub (const char *repository_id, const TAO_MProfile &profiles, TAO_ORB_Core *orb_core) |
| Creates a Stub Object. | |
This class is a factory whose product is the plain TAO_Stub used by TAO. Its subclasses build Stub object that are specialization of the TAO_Stub. As an example TAO_RT_Stub_Factory creates RT_TAO_Stub. This factory, or one of its subclasses is dynamically plugged into the ORB_Core, and is used by the ORB_Core to create Stub Objects.
Definition at line 41 of file Default_Stub_Factory.h.
| TAO_Default_Stub_Factory::~TAO_Default_Stub_Factory | ( | void | ) | [virtual] |
| TAO_Stub * TAO_Default_Stub_Factory::create_stub | ( | const char * | repository_id, | |
| const TAO_MProfile & | profiles, | |||
| TAO_ORB_Core * | orb_core | |||
| ) | [virtual] |
Creates a Stub Object.
Implements TAO_Stub_Factory.
Definition at line 21 of file Default_Stub_Factory.cpp.
{
TAO_Stub *retval = 0;
ACE_NEW_THROW_EX (retval,
TAO_Stub (repository_id, profiles, orb_core),
CORBA::NO_MEMORY (0,
CORBA::COMPLETED_MAYBE));
return retval;
}
1.7.0