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

◆ Node() [3/7]

DataStorm::Node::Node ( int & argc,
const wchar_t * argv[],
std::optional< std::string_view > configFile = std::nullopt,
std::function< void(std::function< void()> call)> customExecutor = nullptr )

Constructs a DataStorm node.

A node is the main DataStorm object. It is required to construct topics.

Parameters
argcThe number of arguments in argv.
argvThe configuration arguments.
configFileThe path to an optional Ice configuration file.
customExecutorAn optional executor used to execute user callbacks, if no callback executor is provided the Node will use the default callback executor that executes callback in a dedicated thread.
Remarks
Windows only.