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.
argc | The number of arguments in argv. |
argv | The configuration arguments. |
configFile | The path to an optional Ice configuration file. |
customExecutor | An 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. |