#include "tao/TAO_Internal.h"
#include "tao/default_server.h"
#include "tao/default_client.h"
#include "tao/default_resource.h"
#include "tao/IIOP_Factory.h"
#include "tao/MCAST_Parser.h"
#include "tao/CORBANAME_Parser.h"
#include "tao/CORBALOC_Parser.h"
#include "tao/FILE_Parser.h"
#include "tao/DLL_Parser.h"
#include "tao/ORB_Core.h"
#include "tao/Adapter_Factory.h"
#include "tao/Default_Stub_Factory.h"
#include "tao/Default_Endpoint_Selector_Factory.h"
#include "tao/Default_Protocols_Hooks.h"
#include "tao/Default_Thread_Lane_Resources_Manager.h"
#include "tao/Default_Collocation_Resolver.h"
#include "tao/debug.h"
#include "tao/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/OS_NS_stdio.h"
#include "ace/Static_Object_Lock.h"
Include dependency graph for TAO_Internal.cpp:
Namespaces | |
namespace | TAO_END_VERSIONED_NAMESPACE_DECL |
Defines | |
#define | TAO_DEFAULT_RESOURCE_FACTORY_ARGS 0 |
#define | TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS 0 |
#define | TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS 0 |
Functions | |
int | open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file=false, bool skip_service_config_open=false) |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL int | TAO::ORB::open_services (int &argc, ACE_TCHAR **argv) |
int | TAO::ORB::close_services (void) |
void | TAO::ORB::default_svc_conf_entries (char const *rf_args, char const *ssf_args, char const *csf_args) |
int | TAO_END_VERSIONED_NAMESPACE_DECL::open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file, bool skip_service_config_open) |
Variables | |
long | service_open_count = 0 |
char const * | resource_factory_args |
char const * | server_strategy_factory_args |
char const * | client_strategy_factory_args |
#define TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS 0 |
#define TAO_DEFAULT_RESOURCE_FACTORY_ARGS 0 |
#define TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS 0 |
int @0::open_services_i | ( | int & | argc, | |
char ** | argv, | |||
bool | ignore_default_svc_conf_file = false , |
|||
bool | skip_service_config_open = false | |||
) | [static] |
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.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.
char const* client_strategy_factory_args [static] |
Initial value:
char const* resource_factory_args [static] |
Initial value:
char const* server_strategy_factory_args [static] |
Initial value:
long service_open_count = 0 [static] |