##// END OF EJS Templates
Reads variable's metadata to retrieve the type of data series (scalar, vector, spectrogram)
Reads variable's metadata to retrieve the type of data series (scalar, vector, spectrogram)

File last commit:

r961:15899f42a907
r1279:88939ef97b8f
Show More
VariableCacheStrategy.h
32 lines | 722 B | text/x-c | CLexer
/ core / include / Variable / VariableCacheStrategy.h
#ifndef SCIQLOP_VARIABLECACHESTRATEGY_H
#define SCIQLOP_VARIABLECACHESTRATEGY_H
#include "CoreGlobal.h"
#include <QLoggingCategory>
#include <QObject>
#include <Data/SqpRange.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 std::pair<SqpRange, SqpRange> computeRange(const SqpRange &vRange,
const SqpRange &rangeRequested)
= 0;
};
#endif // SCIQLOP_VARIABLECACHESTRATEGY_H