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

◆ Node() [2/7]

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

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.

Definition at line 49 of file Node.h.