TAO_Default_Stub_Factory Class Reference

#include <Default_Stub_Factory.h>

Inheritance diagram for TAO_Default_Stub_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_Default_Stub_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_Default_Stub_Factory (void)
 Destructor.

virtual TAO_Stubcreate_stub (const char *repository_id, const TAO_MProfile &profiles, TAO_ORB_Core *orb_core)
 Creates a Stub Object.


Detailed Description

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.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Default_Stub_Factory::~TAO_Default_Stub_Factory void   )  [virtual]
 

Destructor.

Definition at line 16 of file Default_Stub_Factory.cpp.

00017 {
00018 }


Member Function Documentation

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.

References ACE_NEW_THROW_EX.

00024 {
00025   TAO_Stub *retval = 0;
00026 
00027   ACE_NEW_THROW_EX (retval,
00028                     TAO_Stub (repository_id, profiles, orb_core),
00029                     CORBA::NO_MEMORY (0,
00030                                       CORBA::COMPLETED_MAYBE));
00031 
00032   return retval;
00033 }


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 13:14:28 2008 for TAO by doxygen 1.3.6