##// END OF EJS Templates
Creates constructor for ScalarSeries that directly takes vectors...
Creates constructor for ScalarSeries that directly takes vectors It is used in Amda result parser to avoid an extra loop

File last commit:

r389:13937fa7979a
r392:cae900f78dff
Show More
NetworkController.h
43 lines | 1.0 KiB | text/x-c | CLexer
Intialization of network controller
r339 #ifndef SCIQLOP_NETWORKCONTROLLER_H
#define SCIQLOP_NETWORKCONTROLLER_H
#include <QLoggingCategory>
#include <QObject>
Implement the network controller to permit the execution of a request...
r389 #include <QUuid>
Intialization of network controller
r339
#include <Common/spimpl.h>
Implement the network controller to permit the execution of a request...
r389 #include <functional>
Intialization of network controller
r339
Q_DECLARE_LOGGING_CATEGORY(LOG_NetworkController)
Add execute skelleton Network
r386 class QNetworkReply;
Implement the network controller to permit the execution of a request...
r389 class QNetworkRequest;
Add execute skelleton Network
r386
Intialization of network controller
r339 /**
* @brief The NetworkController class aims to handle all network connection of SciQlop.
*/
class NetworkController : public QObject {
Q_OBJECT
public:
explicit NetworkController(QObject *parent = 0);
void initialize();
void finalize();
Implement the network controller to permit the execution of a request...
r389 public slots:
void onProcessRequested(const QNetworkRequest &request, QUuid identifier,
std::function<void(QNetworkReply *, QUuid)> callback);
void onReplyCanceled(QUuid identifier);
Add execute skelleton Network
r386 signals:
Implement the network controller to permit the execution of a request...
r389 void replyFinished(QNetworkReply *reply, QUuid identifier);
void replyDownloadProgress(QUuid identifier);
Add execute skelleton Network
r386
Intialization of network controller
r339 private:
void waitForFinish();
class NetworkControllerPrivate;
spimpl::unique_impl_ptr<NetworkControllerPrivate> impl;
};
#endif // SCIQLOP_NETWORKCONTROLLER_H