Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO_Internal.cpp File Reference

#include "TAO_Internal.h"
#include "default_server.h"
#include "default_client.h"
#include "default_resource.h"
#include "IIOP_Factory.h"
#include "MCAST_Parser.h"
#include "CORBANAME_Parser.h"
#include "CORBALOC_Parser.h"
#include "FILE_Parser.h"
#include "DLL_Parser.h"
#include "ORB_Core.h"
#include "Adapter_Factory.h"
#include "Default_Stub_Factory.h"
#include "Default_Endpoint_Selector_Factory.h"
#include "Default_Protocols_Hooks.h"
#include "Default_Thread_Lane_Resources_Manager.h"
#include "Default_Collocation_Resolver.h"
#include "debug.h"
#include "StringSeqC.h"
#include "ace/Dynamic_Service.h"
#include "ace/Arg_Shifter.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/Env_Value_T.h"
#include "ace/ACE.h"
#include "ace/Atomic_Op.h"
#include "ace/OS_NS_stdio.h"

Include dependency graph for TAO_Internal.cpp:

Include dependency graph




const char * get_rcsid_tao_TAO_Internal (const char *)
int open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file=false, bool skip_service_config_open=false)
int open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file, bool skip_service_config_open)


const char * rcsid_tao_TAO_Internal = get_rcsid_tao_TAO_Internal ( rcsid_tao_TAO_Internal )
long > 
service_open_count (0)
char const * resource_factory_args
char const * server_strategy_factory_args
char const * client_strategy_factory_args

Define Documentation




Function Documentation

const char* get_rcsid_tao_TAO_Internal const char *   )  [inline, static]

int open_services_i int &  argc,
char **  argv,
bool  ignore_default_svc_conf_file,
bool  skip_service_config_open

int open_services_i int &  argc,
char **  argv,
bool  ignore_default_svc_conf_file = false,
bool  skip_service_config_open = false

Initialize the ACE Service Configurator. This is a one-shot method, i.e., it can be called multiple times but it will only do its work once. It does, however, track the number of times it's called (see open_services()). It is fully thread-safe.

0 if successful, -1 with errno set if failure.
You can provide your program a set of default `svc.conf' entries by setting ignore_default_svc_conf_file to non-zero and use default_svc_conf_entries() before calling open_services(). In addition, you can skip_service_config_open altogether, which used to be important when the ORB is linked in via the ACE_Service_Configurator, since the ACE_Service_Configurator was non-reentrant. However, the ACE_Service_Configurator is now reentrant meaning that it is really no longer necessary to do so.

Variable Documentation

char const* client_strategy_factory_args [static]

Initial value:

const char* rcsid_tao_TAO_Internal = get_rcsid_tao_TAO_Internal ( rcsid_tao_TAO_Internal ) [static]

char const* resource_factory_args [static]

Initial value:

char const* server_strategy_factory_args [static]

Initial value:

ACE_Atomic_Op<TAO_SYNCH_MUTEX, long> service_open_count(0) [static]

In/decrement operations are atomic.

Generated on Thu Feb 10 20:43:32 2005 for TAO by  doxygen