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_Adapter * create ()=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.


Constructor & Destructor Documentation

virtual 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.

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.

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

Destroy the passed adapter.


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

Generated on Fri Sep 11 04:14:11 2009 for TAO_PortableServer by  doxygen 1.6.1