Functions | |
int | open_private_services_i (ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > pcfg, int &argc, ACE_TCHAR **argv, bool skip_service_config_open, bool ignore_default_svc_conf_file) |
Open services, belonging to the gestalt instance. | |
void | register_global_services_i (ACE_Service_Gestalt *pcfg) |
registers all process-wide (global) services, available to all ORBs | |
void | register_additional_services_i (ACE_Service_Gestalt *pcfg) |
int | parse_svcconf_args_i (int &argc, ACE_TCHAR **argv, ACE_ARGV &svc_config_argv) |
Modifies the argc to reflect any arguments it has "consumed". | |
int | parse_private_args_i (int &argc, ACE_TCHAR **argv, ACE_ARGV &svc_config_argv, bool &skip_service_config_open) |
Modifies the argc to reflect any arguments it has "consumed". | |
int | parse_global_args_i (int &argc, ACE_TCHAR **argv, ACE_ARGV &svc_config_argv, bool apply_values) |
Modifies the argc to reflect any arguments it has "consumed". |
int TAO_END_VERSIONED_NAMESPACE_DECL::open_private_services_i | ( | ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > | pcfg, | |
int & | argc, | |||
ACE_TCHAR ** | argv, | |||
bool | skip_service_config_open = false , |
|||
bool | ignore_default_svc_conf_file = false | |||
) |
Open services, belonging to the gestalt instance.
Initialize ORB-local (private) ACE Service Configurator repository.
0
if successful, -1
with errno
set if failure. int TAO_END_VERSIONED_NAMESPACE_DECL::parse_global_args_i | ( | int & | argc, | |
ACE_TCHAR ** | argv, | |||
ACE_ARGV & | svc_config_argv, | |||
bool | apply_values | |||
) |
Modifies the argc to reflect any arguments it has "consumed".
Parses the supplied command-line arguments to extract any that apply to the process (globally)
When multiple ORBs are being configured, the global options are only processed for the first ORB loaded. However subsequent ORBs may be supplied with some of these options, so they need to be eliminated as though they were processed. For this reason, this function is called for every ORB, but only the first call sets apply_values to true
int TAO_END_VERSIONED_NAMESPACE_DECL::parse_private_args_i | ( | int & | argc, | |
ACE_TCHAR ** | argv, | |||
ACE_ARGV & | svc_config_argv, | |||
bool & | skip_service_config_open | |||
) |
Modifies the argc to reflect any arguments it has "consumed".
Parses the supplied command-line arguments to extract any instance-specific ones.
int TAO_END_VERSIONED_NAMESPACE_DECL::parse_svcconf_args_i | ( | int & | argc, | |
ACE_TCHAR ** | argv, | |||
ACE_ARGV & | svc_config_argv | |||
) |
Modifies the argc to reflect any arguments it has "consumed".
Parses the supplied command-line arguments to extract any that specify a Service Configurator file (-ORBSvcConf). This is done separately, because depending on the context, the configuration file may apply to the process-wide service repository, or to the orb-specific (private) one.
void TAO_END_VERSIONED_NAMESPACE_DECL::register_additional_services_i | ( | ACE_Service_Gestalt * | pcfg | ) |
void TAO_END_VERSIONED_NAMESPACE_DECL::register_global_services_i | ( | ACE_Service_Gestalt * | pcfg | ) |
registers all process-wide (global) services, available to all ORBs
Initialize the ACE Service Configurator with the process-global services (available to any ORB).
0
if successful, -1
with errno
set if failure.default_svc_conf_entries()
before calling open_global_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_Config, since the ACE_Service_Config was non-reentrant. However, the ACE_Service_Config is now reentrant meaning that it is really no longer necessary to do so.