Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
 void SetUp() {
     runtime->start();
 }
Ejemplo n.º 3
0
 void SetUp() {
     runtime1->start();
     runtime2->start();
 }