52 #include <QElapsedTimer>
59 using namespace RTPROCESSINGLIB;
60 using namespace CONNECTIVITYLIB;
68 if(this->thread()->isInterruptionRequested()) {
72 if(connectivitySettings.getConnectivityMethods().isEmpty()) {
73 qDebug()<<
"RtConnectivityWorker::doWork() - Network methods are empty";
83 QList<Network> finalNetworks = Connectivity::calculate(connectivitySettingsTemp);
97 emit resultReady(finalNetworks, connectivitySettingsTemp);
111 worker, &QObject::deleteLater);
113 connect(
this, &RtConnectivity::operate,
116 connect(worker, &RtConnectivityWorker::resultReady,
117 this, &RtConnectivity::newConnectivityResultAvailable);
133 emit operate(connectivitySettings);
146 worker, &QObject::deleteLater);
148 connect(
this, &RtConnectivity::operate,
151 connect(worker, &RtConnectivityWorker::resultReady,
152 this, &RtConnectivity::newConnectivityResultAvailable);