Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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 Methods

virtual ~TAO_Default_Stub_Factory (void)
virtual TAO_Stubcreate_stub (const char *repository_id, const TAO_MProfile &profiles, TAO_ORB_Core *orb_core ACE_ENV_ARG_DECL)
 Creates a Stub Object. More...


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 38 of file Default_Stub_Factory.h.


Constructor & Destructor Documentation

TAO_Default_Stub_Factory::~TAO_Default_Stub_Factory void    [virtual]
 

Definition at line 8 of file Default_Stub_Factory.cpp.

00009 {
00010   // No-Op.
00011 }


Member Function Documentation

TAO_Stub * TAO_Default_Stub_Factory::create_stub const char *    repository_id,
const TAO_MProfile   profiles,
TAO_ORB_Core *orb_core    ACE_ENV_ARG_DECL
[virtual]
 

Creates a Stub Object.

Implements TAO_Stub_Factory.

Definition at line 14 of file Default_Stub_Factory.cpp.

References ACE_CHECK_RETURN, ACE_ENV_ARG_DECL, ACE_NEW_THROW_EX, and TAO_DEFAULT_MINOR_CODE.

00018 {
00019   TAO_Stub *retval = 0;
00020 
00021   ACE_NEW_THROW_EX (retval,
00022                     TAO_Stub (repository_id, profiles, orb_core),
00023                     CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
00024                                       CORBA::COMPLETED_MAYBE));
00025   ACE_CHECK_RETURN (retval);
00026 
00027   return retval;
00028 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:13:50 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002