#include <Codeset_Manager_Factory_Base.h>
Inheritance diagram for TAO_Codeset_Manager_Factory_Base:
Public Member Functions | |
virtual | ~TAO_Codeset_Manager_Factory_Base () |
virtual TAO_Codeset_Manager * | create (void) |
virtual bool | is_default (void) const |
Static Public Member Functions | |
static int | initialize (void) |
Static initializer ensures the factory is loaded. |
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.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Codeset_Manager_Factory_Base::~TAO_Codeset_Manager_Factory_Base | ( | ) | [virtual] |
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().
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.
References ACE_Service_Config::process_directive().
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().