TAO
2.3.3
|
The static (global) resoures of all ORB cores. More...
#include <ORB_Core.h>
Public Member Functions | |
TAO_ORB_Core_Static_Resources (void) | |
Constructor. More... | |
TAO_ORB_Core_Static_Resources & | operator= (const TAO_ORB_Core_Static_Resources &) |
Public Member Functions inherited from ACE_Service_Object | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object (void) |
virtual int | suspend (void) |
virtual int | resume (void) |
Public Member Functions inherited from ACE_Event_Handler | |
virtual | ~ACE_Event_Handler (void) |
virtual ACE_HANDLE | get_handle (void) const |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority (void) const |
virtual void | priority (int priority) |
virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
virtual int | resume_handler (void) |
virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual void | reactor (ACE_Reactor *reactor) |
virtual ACE_Reactor * | reactor (void) const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
virtual Reference_Count | add_reference (void) |
virtual Reference_Count | remove_reference (void) |
Reference_Counting_Policy & | reference_counting_policy (void) |
Public Member Functions inherited from ACE_Shared_Object | |
ACE_Shared_Object (void) | |
virtual | ~ACE_Shared_Object (void) |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
virtual int | fini (void) |
virtual int | info (ACE_TCHAR **info_string, size_t length=0) const |
Static Public Member Functions | |
static TAO_ORB_Core_Static_Resources * | instance (void) |
Return the context-specific singleton instance. More... | |
Static Public Member Functions inherited from ACE_Event_Handler | |
static ACE_THR_FUNC_RETURN | read_adapter (void *event_handler) |
static int | register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED) |
static int | remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr) |
Public Attributes | |
ACE_CString | network_priority_protocols_hooks_name_ |
TAO_ORB_Core::Timeout_Hook | connection_timeout_hook_ |
The hook to be set for the ConnectionTimeoutPolicy. More... | |
ACE_CString | resource_factory_name_ |
ACE_CString | dynamic_adapter_name_ |
ACE_CString | ifr_client_adapter_name_ |
ACE_CString | typecodefactory_adapter_name_ |
ACE_CString | iorinterceptor_adapter_factory_name_ |
ACE_CString | valuetype_adapter_factory_name_ |
TAO_ORB_Core::Timeout_Hook | alt_connection_timeout_hook_ |
An alternative hook to be set for the ConnectionTimeoutPolicy. More... | |
Public Attributes inherited from ACE_Event_Handler | |
LO_PRIORITY | |
HI_PRIORITY | |
NULL_MASK | |
READ_MASK | |
WRITE_MASK | |
EXCEPT_MASK | |
ACCEPT_MASK | |
CONNECT_MASK | |
TIMER_MASK | |
QOS_MASK | |
GROUP_QOS_MASK | |
SIGNAL_MASK | |
ALL_EVENTS_MASK | |
RWE_MASK | |
DONT_CALL | |
ACE_EVENT_HANDLER_NOT_RESUMED | |
ACE_REACTOR_RESUMES_HANDLER | |
ACE_APPLICATION_RESUMES_HANDLER | |
Static Private Attributes | |
static TAO_ORB_Core_Static_Resources * | initialization_reference_ |
Additional Inherited Members | |
Public Types inherited from ACE_Event_Handler | |
typedef long | Reference_Count |
Protected Types inherited from ACE_Event_Handler | |
typedef ACE_Atomic_Op< ACE_SYNCH_MUTEX, Reference_Count > | Atomic_Reference_Count |
Protected Member Functions inherited from ACE_Event_Handler | |
ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY) | |
Protected Attributes inherited from ACE_Event_Handler | |
Atomic_Reference_Count | reference_count_ |
The static (global) resoures of all ORB cores.
This class is used by the ORB_Core to store the resources global to all ORB_Cores. All instance variables that would have been declared "static" in TAO_ORB_Core, should be declared in this class to avoid the "static initialization order fiasco" as described in http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.11. Briefly, this is the problem that occurs if any static initializers in any other code call into set static members of TAO_ORB_Core. Since the order in which these initializers execute is unspecified, uninitialized members can be accessed.
TAO_ORB_Core_Static_Resources::TAO_ORB_Core_Static_Resources | ( | void | ) |
Constructor.
|
static |
Return the context-specific singleton instance.
TAO_ORB_Core_Static_Resources & TAO_ORB_Core_Static_Resources::operator= | ( | const TAO_ORB_Core_Static_Resources & | other | ) |
TAO_ORB_Core::Timeout_Hook TAO_ORB_Core_Static_Resources::alt_connection_timeout_hook_ |
An alternative hook to be set for the ConnectionTimeoutPolicy.
TAO_ORB_Core::Timeout_Hook TAO_ORB_Core_Static_Resources::connection_timeout_hook_ |
The hook to be set for the ConnectionTimeoutPolicy.
ACE_CString TAO_ORB_Core_Static_Resources::dynamic_adapter_name_ |
Name of the service object for DII request creation that needs to be instantiated. The default value is "Dynamic_Adaper". If TAO_DynamicInterface is linked, dynamic_adapter_name() will be called to set the value to "Concrete_Dynamic_Adapter".
ACE_CString TAO_ORB_Core_Static_Resources::ifr_client_adapter_name_ |
Name of the service object for functions that make calls on the Interface Repository. The default value is "IFR_Client_Adaper". If TAO_IFR_CLient is linked, ifr_client_adapter_name() will be called to set the value to "Concrete_IFR_Client_Adapter".
|
staticprivate |
Mostly unused variable whose sole purpose is to enforce the instantiation of a TAO_ORB_Core_Static_Resources instance at initialization time.
ACE_CString TAO_ORB_Core_Static_Resources::iorinterceptor_adapter_factory_name_ |
Name of the factory object used to adapt function calls on the PortableInterceptor interfaces IORInfo and IORInterceptor. The default value is "IORInterceptor_Adapter_Factory". If the IORInterceptor library is linked, the corresponding accessor function iorinterceptor_adapter_factory_name() will be called to set the value to "Concrete_IORInterceptor_Adapter_Factory".
ACE_CString TAO_ORB_Core_Static_Resources::network_priority_protocols_hooks_name_ |
Name of the network_priority_protocols_hooks that needs to be instantiated.
ACE_CString TAO_ORB_Core_Static_Resources::resource_factory_name_ |
Name of the resource factory that needs to be instantiated. The default value is "Resource_Factory". If TAO_Strategies is linked, the set_resource_factory will be called to set the value to be "Advanced_Resource_Factory".
ACE_CString TAO_ORB_Core_Static_Resources::typecodefactory_adapter_name_ |
Name of the service object used by the ORB create_*_tc functions. The default value is "TypeCodeFactory_Adapter". If the TypeCodeFactory library is linked, the corresponding accessor function typecodefactory_adapter_name() will be called to set the value to "Concrete_TypeCodeFactory_Adapter".
ACE_CString TAO_ORB_Core_Static_Resources::valuetype_adapter_factory_name_ |
Name of the factory object used to adapt function calls on the valuetype-related interfaces. The default value is "Valuetype_Adapter_Factory". If the Valuetype library is linked, the corresponding accessor function valuetype_adapter_factory_name() will be called to set the value to "Concrete_Valuetype_Adapter_Factory".