TAO::ORT_Adapter_Factory Class Reference

ORT_Adapter_Factory. More...

#include <ORT_Adapter_Factory.h>

Inheritance diagram for TAO::ORT_Adapter_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO::ORT_Adapter_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~ORT_Adapter_Factory (void)
 Destructor.

virtual TAO::ORT_Adaptercreate ()=0
 Create a new adapter, in case not possible to allocate, returns 0.

virtual void destroy (TAO::ORT_Adapter *adapter)=0
 Destroy the passed adapter.


Detailed Description

ORT_Adapter_Factory.

Class that creates one instance of TAO::ORT_Adapter per POA on the POA's first usage of its objectreferencetemplate_adapter. This is a base class for the actual implementation in the TAO_ObjectReferenceTemplate library.

Definition at line 47 of file ORT_Adapter_Factory.h.


Constructor & Destructor Documentation

TAO::ORT_Adapter_Factory::~ORT_Adapter_Factory void   )  [virtual]
 

Destructor.

Note:
Even though this class only defines an interface, a destructor is necessary to avoid dynamic_cast<> failures when using g++ 4.0's -fvisibility-inlines-hidden command line option. Apparently the compiler generated destructor is inlined.

Definition at line 13 of file ORT_Adapter_Factory.cpp.

00014   {
00015   }


Member Function Documentation

virtual TAO::ORT_Adapter* TAO::ORT_Adapter_Factory::create  )  [pure virtual]
 

Create a new adapter, in case not possible to allocate, returns 0.

Referenced by TAO_Root_POA::ORT_adapter_i().

virtual void TAO::ORT_Adapter_Factory::destroy TAO::ORT_Adapter adapter  )  [pure virtual]
 

Destroy the passed adapter.

Referenced by TAO_Root_POA::destroy_i().


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