##// END OF EJS Templates
Variable update signal forwards variable ID...
Variable update signal forwards variable ID Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r9:b3317a5111ec
r32:6b6270b07547
Show More
VariableCacheStrategy.h
32 lines | 732 B | text/x-c | CLexer
/ include / Variable / VariableCacheStrategy.h
#ifndef SCIQLOP_VARIABLECACHESTRATEGY_H
#define SCIQLOP_VARIABLECACHESTRATEGY_H
#include "CoreGlobal.h"
#include <QLoggingCategory>
#include <QObject>
#include <Data/DateTimeRange.h>
#include <QLoggingCategory>
#include <Common/spimpl.h>
#include <utility>
Q_DECLARE_LOGGING_CATEGORY(LOG_VariableCacheStrategy)
class Variable;
/// This class aims to hande the cache strategy.
class SCIQLOP_CORE_EXPORT VariableCacheStrategy {
public:
virtual ~VariableCacheStrategy() noexcept = default;
virtual DateTimeRange computeRange(const DateTimeRange &currentCacheRange,
const DateTimeRange &rangeRequested)
= 0;
};
#endif // SCIQLOP_VARIABLECACHESTRATEGY_H