##// END OF EJS Templates
Merge branch 'feature/AmdaAnalysis' into develop
Merge branch 'feature/AmdaAnalysis' into develop

File last commit:

r331:d786589b2e4c
r443:f3d61f9f6572 merge
Show More
VariableCacheController.h
46 lines | 1.3 KiB | text/x-c | CLexer
/ core / include / Variable / VariableCacheController.h
Create a variable notify the variable cache parameter
r225 #ifndef SCIQLOP_VARIABLECACHECONTROLLER_H
#define SCIQLOP_VARIABLECACHECONTROLLER_H
Alexandre Leroux
Variable deletion (2)...
r331 #include <QLoggingCategory>
Create a variable notify the variable cache parameter
r225 #include <QObject>
#include <Data/SqpDateTime.h>
Add method to display cache....
r293 #include <QLoggingCategory>
Create a variable notify the variable cache parameter
r225 #include <Common/spimpl.h>
Alexandre Leroux
Variable deletion (2)...
r331 Q_DECLARE_LOGGING_CATEGORY(LOG_VariableCacheController)
Create a variable notify the variable cache parameter
r225 class Variable;
Add method to display cache....
r293 Q_DECLARE_LOGGING_CATEGORY(LOG_VariableCacheController)
Correction for pull request
r243 /// This class aims to store in the cache all of the dateTime already requested to the variable.
Create a variable notify the variable cache parameter
r225 class VariableCacheController : public QObject {
Q_OBJECT
public:
explicit VariableCacheController(QObject *parent = 0);
void addDateTime(std::shared_ptr<Variable> variable, const SqpDateTime &dateTime);
Alexandre Leroux
Variable deletion (2)...
r331 /// Clears cache concerning a variable
void clear(std::shared_ptr<Variable> variable) noexcept;
Implementation of the addDateTime method of the cache
r230 /// Return all of the SqpDataTime part of the dateTime whose are not in the cache
QVector<SqpDateTime> provideNotInCacheDateTimeList(std::shared_ptr<Variable> variable,
const SqpDateTime &dateTime);
QVector<SqpDateTime> dateCacheList(std::shared_ptr<Variable> variable) const noexcept;
Correction MR
r300 void displayCache(std::shared_ptr<Variable> variable) const;
Add method to display cache....
r293
Create a variable notify the variable cache parameter
r225 private:
class VariableCacheControllerPrivate;
spimpl::unique_impl_ptr<VariableCacheControllerPrivate> impl;
};
#endif // SCIQLOP_VARIABLECACHECONTROLLER_H