Service_Config.cpp File Reference

#include "ace/Service_Config.h"
#include "ace/Service_Types.h"
#include "ace/Reactor.h"
#include "ace/Singleton.h"
#include "ace/Service_Repository.h"
#include "ace/Sig_Adapter.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_time.h"
#include "ace/OS_NS_unistd.h"
#include "ace/Get_Opt.h"
#include "ace/ARGV.h"
#include "ace/Log_Msg.h"

Include dependency graph for Service_Config.cpp:


Variables

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
typedef ACE_Unmanaged_Singleton<
ACE_Service_Config, ACE_SYNCH_RECURSIVE_MUTEX > 
ACE_SERVICE_CONFIG_SINGLETON

Variable Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef ACE_Unmanaged_Singleton<ACE_Service_Config, ACE_SYNCH_RECURSIVE_MUTEX> ACE_SERVICE_CONFIG_SINGLETON

ACE_Service_Config is supposed to be a Singleton. This is the only Configuration Gestalt available for access from static initializers at proces start-up time. Using Unmanaged Singleton is safer because (a) the Object Manager may not yet be fully initialized in the context of a static initializer that uses SC, and (b) because we know that upon process exit the SC will still be automaticaly and explicitely closed by ACE_Object_Manager::fini().


Generated on Mon Apr 30 22:41:18 2007 for ACE by  doxygen 1.4.7-1