TAO 4.0.2
Loading...
Searching...
No Matches
Functions
TAO::ORB Namespace Reference

Functions

int open_global_services (int argc, ACE_TCHAR **argv)
 Note that the argument vector will be corrupted upon return.
 
int open_services (ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > cfg, int &argc, ACE_TCHAR **argv)
 
int close_services (ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > pcfg)
 
void default_svc_conf_entries (char const *rf_args, char const *ssf_args, char const *csf_args)
 

Function Documentation

◆ close_services()

int TAO::ORB::close_services ( ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > pcfg)

The complement to open_services(), this will perform appropriate ACE Service Configurator closure operations. It should be called as many times as open_services(), and will only actually close things down on the last call. It is fully thread-safe.

Return values
0if successful
-1failure with errno set

◆ default_svc_conf_entries()

void TAO::ORB::default_svc_conf_entries ( char const * rf_args,
char const * ssf_args,
char const * csf_args )

Set default `svc.conf' content, only non-null values are set. This function must be called before first ORB initialization.

  • rf_args Resource factory settings
  • ssf_args Server strategy factory settings
  • csf_args Client strategy factory settings

◆ open_global_services()

int TAO::ORB::open_global_services ( int argc,
ACE_TCHAR ** argv )

Note that the argument vector will be corrupted upon return.

If never done it before, extract ACE Service Configurator arguments from the given argument vector, and initialize the global configuration gestalt.

Return values
0means OK,
-1spells major trouble

◆ open_services()

int TAO::ORB::open_services ( ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > cfg,
int & argc,
ACE_TCHAR ** argv )

Extract ACE Service Configurator arguments from the given argument vector, and initialize the ACE Service Configurator.

Note
This method should be called before the ORB Core is initialized, and before any ORBInitializers are invoked.