##// END OF EJS Templates
Implementation of automatic cancel for request that failed
Implementation of automatic cancel for request that failed

File last commit:

r471:d00d6fd96c10
r704:ff170594501a
Show More
VariableCacheController.h
45 lines | 1.3 KiB | text/x-c | CLexer
/ core / include / Variable / VariableCacheController.h
Create a variable notify the variable cache parameter
r209 #ifndef SCIQLOP_VARIABLECACHECONTROLLER_H
#define SCIQLOP_VARIABLECACHECONTROLLER_H
Alexandre Leroux
Exports core module as a shared library...
r425 #include "CoreGlobal.h"
Alexandre Leroux
Variable deletion (2)...
r305 #include <QLoggingCategory>
Create a variable notify the variable cache parameter
r209 #include <QObject>
Change SqpRange for SqpDateTime
r471 #include <Data/SqpRange.h>
Create a variable notify the variable cache parameter
r209
Add method to display cache....
r271 #include <QLoggingCategory>
Create a variable notify the variable cache parameter
r209 #include <Common/spimpl.h>
Alexandre Leroux
Variable deletion (2)...
r305 Q_DECLARE_LOGGING_CATEGORY(LOG_VariableCacheController)
Create a variable notify the variable cache parameter
r209 class Variable;
Correction for pull request
r227 /// This class aims to store in the cache all of the dateTime already requested to the variable.
Alexandre Leroux
Exports core module as a shared library...
r425 class SCIQLOP_CORE_EXPORT VariableCacheController : public QObject {
Create a variable notify the variable cache parameter
r209 Q_OBJECT
public:
explicit VariableCacheController(QObject *parent = 0);
Change SqpRange for SqpDateTime
r471 void addDateTime(std::shared_ptr<Variable> variable, const SqpRange &dateTime);
Create a variable notify the variable cache parameter
r209
Alexandre Leroux
Variable deletion (2)...
r305 /// Clears cache concerning a variable
void clear(std::shared_ptr<Variable> variable) noexcept;
Implementation of the addDateTime method of the cache
r214 /// Return all of the SqpDataTime part of the dateTime whose are not in the cache
Change SqpRange for SqpDateTime
r471 QVector<SqpRange> provideNotInCacheDateTimeList(std::shared_ptr<Variable> variable,
const SqpRange &dateTime);
Implementation of the addDateTime method of the cache
r214
Change SqpRange for SqpDateTime
r471 QVector<SqpRange> dateCacheList(std::shared_ptr<Variable> variable) const noexcept;
Implementation of the addDateTime method of the cache
r214
Correction MR
r278 void displayCache(std::shared_ptr<Variable> variable) const;
Add method to display cache....
r271
Create a variable notify the variable cache parameter
r209 private:
class VariableCacheControllerPrivate;
spimpl::unique_impl_ptr<VariableCacheControllerPrivate> impl;
};
#endif // SCIQLOP_VARIABLECACHECONTROLLER_H