TAO 2.0.4
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

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.

Returns:
0 if successful, -1 with errno set if failure.
void TAO::ORB::default_svc_conf_entries ( char const *  rf_args,
char const *  ssf_args,
char const *  csf_args 
)

Set default `svc.conf' content. This function must be called before first ORB initialization.

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 value 0 means OK, -1 spells major trouble ...

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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines