##// END OF EJS Templates
Creates DataSeriesUtils file that will contain methods for handling data holes...
Creates DataSeriesUtils file that will contain methods for handling data holes Renames DataSeriesUtils file in unit tests to avoid conflicts

File last commit:

r751:34234d13df5c
r977:fce4a3cd44f3
Show More
NetworkController.h
53 lines | 1.5 KiB | text/x-c | CLexer
Intialization of network controller
r339 #ifndef SCIQLOP_NETWORKCONTROLLER_H
#define SCIQLOP_NETWORKCONTROLLER_H
Alexandre Leroux
Exports core module as a shared library...
r461 #include "CoreGlobal.h"
Intialization of network controller
r339 #include <QLoggingCategory>
#include <QObject>
Implement the network controller to permit the execution of a request...
r389 #include <QUuid>
Intialization of network controller
r339
request is now passed by shared pointer instead of const &
r751 #include <Common/MetaTypes.h>
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.
*/
Alexandre Leroux
Exports core module as a shared library...
r461 class SCIQLOP_CORE_EXPORT NetworkController : public QObject {
Intialization of network controller
r339 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:
Add implementation of progress bar on variable inspector connected to...
r401 /// Execute request and call callback when the reply is finished. Identifier is attached to the
/// callback
request is now passed by shared pointer instead of const &
r751 void onProcessRequested(std::shared_ptr<QNetworkRequest> request, QUuid identifier,
Implement the network controller to permit the execution of a request...
r389 std::function<void(QNetworkReply *, QUuid)> callback);
Add implementation of progress bar on variable inspector connected to...
r401 /// Cancel the request of identifier
Implement the network controller to permit the execution of a request...
r389 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);
request is now passed by shared pointer instead of const &
r751 void replyDownloadProgress(QUuid identifier, std::shared_ptr<QNetworkRequest> networkRequest,
Implementation of progression
r750 double progress);
Add execute skelleton Network
r386
Intialization of network controller
r339 private:
void waitForFinish();
class NetworkControllerPrivate;
spimpl::unique_impl_ptr<NetworkControllerPrivate> impl;
};
request is now passed by shared pointer instead of const &
r751 SCIQLOP_REGISTER_META_TYPE(NETWORKREQUEST_REGISTRY, std::shared_ptr<QNetworkRequest>)
Intialization of network controller
r339 #endif // SCIQLOP_NETWORKCONTROLLER_H