JoynrClusterControllerRuntime* JoynrClusterControllerRuntime::create(Settings* settings) { // Only allow one QCoreApplication instance static int argc = 0; static char* argv[] = {nullptr}; static QCoreApplication* coreApplication = (QCoreApplication::instance() == nullptr) ? new QCoreApplication(argc, argv) : nullptr; JoynrClusterControllerRuntime* runtime = new JoynrClusterControllerRuntime(coreApplication, settings); runtime->start(); return runtime; }
void SetUp() { runtime->start(); }
void SetUp() { runtime1->start(); runtime2->start(); }