Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ initialize() [3/12]

CommunicatorPtr Ice::initialize ( int & argc,
char * argv[],
std::string_view configFile )
inline

Creates a new communicator.

Parameters
[in,out]argcThe 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.
argvThe command-line arguments. This function parses arguments starting with -- and one of the reserved prefixes (Ice, IceSSL, etc.) as properties for the new communicator.
configFileThe name of an Ice configuration file.
Returns
The new communicator.

Definition at line 144 of file Initialize.h.