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 42 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 17 of file Default_Stub_Factory.cpp.

00018 {
00019 }


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 22 of file Default_Stub_Factory.cpp.

References ACE_CHECK_RETURN, and ACE_NEW_THROW_EX.

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


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:13:24 2006 for TAO by doxygen 1.3.6