TAO_Codeset_Manager_Factory_Base Class Reference

Base class for creating instances of the codeset manager. More...

#include <Codeset_Manager_Factory_Base.h>

Inheritance diagram for TAO_Codeset_Manager_Factory_Base:

Inheritance graph
[legend]
Collaboration diagram for TAO_Codeset_Manager_Factory_Base:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_Codeset_Manager_Factory_Base ()
virtual TAO_Codeset_Managercreate (void)
virtual bool is_default (void) const

Static Public Member Functions

int initialize (void)
 Static initializer ensures the factory is loaded.


Detailed Description

Base class for creating instances of the codeset manager.

The base also provides a default implementation which instantiates nothing. This default impl is replaced by the actual implementation if libTAO_Codeset is loaded.

Definition at line 46 of file Codeset_Manager_Factory_Base.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Codeset_Manager_Factory_Base::~TAO_Codeset_Manager_Factory_Base  )  [virtual]
 

Definition at line 13 of file Codeset_Manager_Factory_Base.cpp.

00014 {
00015 }


Member Function Documentation

TAO_Codeset_Manager * TAO_Codeset_Manager_Factory_Base::create void   )  [virtual]
 

Create makes a new instance of the codeset manager for every call. This allows multiple ORBs to have their own (or none). This default implementation returns a null pointer only.

Definition at line 24 of file Codeset_Manager_Factory_Base.cpp.

Referenced by TAO_Default_Resource_Factory::codeset_manager().

00025 {
00026   return 0;
00027 
00028 }

int TAO_Codeset_Manager_Factory_Base::initialize void   )  [static]
 

Static initializer ensures the factory is loaded.

Definition at line 31 of file Codeset_Manager_Factory_Base.cpp.

00032 {
00033   return ACE_Service_Config::process_directive
00034     (ace_svc_desc_TAO_Codeset_Manager_Factory_Base);
00035 }

bool TAO_Codeset_Manager_Factory_Base::is_default void   )  const [virtual]
 

Is_default is called by the ORB Core to determine if it needs to reload the factory with a dynamically linked libTAO_Codeset. Statically linked applications get derive implementation by including "tao/Codeset/Codeset.h" somewhere in their source code.

Definition at line 18 of file Codeset_Manager_Factory_Base.cpp.

Referenced by TAO_END_VERSIONED_NAMESPACE_DECL::register_global_services_i().

00019 {
00020   return true;
00021 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:12:38 2006 for TAO by doxygen 1.3.6