Public Member Functions

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_Default_Stub_Factory::~TAO_Default_Stub_Factory ( void   )  [virtual]

Destructor.

Definition at line 16 of file Default_Stub_Factory.cpp.

{
}


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.

{
  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;
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines