Creates a new communicator, using Ice properties parsed from the command-line arguments.
- Template Parameters
-
| ArgvT | The type of the argument vector, such as char**, const char**, or wchar_t** (on Windows). |
- Parameters
-
| [in,out] | argc | The number of arguments in argv. When this function parses properties from argv, it reshuffles the arguments so that the remaining arguments start at the beginning of argv, and updates argc accordingly. |
| argv | The command-line arguments. This function parses arguments starting with -- and one of the reserved prefixes (Ice, IceSSL, etc.) as properties for the new communicator. If there is an argument starting with --Ice.Config, this function loads the specified configuration file. When the same property is set in a configuration file and through a command-line argument, the command-line setting takes precedence. |
- Returns
- The new communicator.
Definition at line 97 of file Initialize.h.