#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 | |
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.
|
Definition at line 13 of file Codeset_Manager_Factory_Base.cpp.
00014 { 00015 } |
|
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 }
|
|
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 } |
|
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 } |