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) |
| 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.
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 | ||
| ) |
1.7.2