TAO_PortableServer  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO::ORT_Adapter_Factory Class Referenceabstract

ORT_Adapter_Factory. More...

#include <ORT_Adapter_Factory.h>

Inheritance diagram for TAO::ORT_Adapter_Factory:
Inheritance graph
Collaboration diagram for TAO::ORT_Adapter_Factory:
Collaboration graph

Public Member Functions

virtual ~ORT_Adapter_Factory (void)
 Destructor. More...
virtual TAO::ORT_Adaptercreate ()=0
 Create a new adapter, in case not possible to allocate, returns 0. More...
virtual void destroy (TAO::ORT_Adapter *adapter)=0
 Destroy the passed adapter. More...

Detailed Description


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

TAO::ORT_Adapter_Factory::~ORT_Adapter_Factory ( void  )


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 files: