18 #ifndef QGSRASTERDATAPROVIDERTEMPORALCAPABILITIES_H
19 #define QGSRASTERDATAPROVIDERTEMPORALCAPABILITIES_H
21 #include "qgis_core.h"
57 FindClosestMatchToEndOfRange
67 IntervalHandlingMethod intervalHandlingMethod()
const;
75 void setIntervalHandlingMethod( IntervalHandlingMethod method );
82 void setAvailableTemporalRange(
const QgsDateTimeRange &range );
89 const QgsDateTimeRange &availableTemporalRange()
const;
97 void setAvailableReferenceTemporalRange(
const QgsDateTimeRange &range );
105 const QgsDateTimeRange &availableReferenceTemporalRange()
const;
111 const QgsDateTimeRange &requestedTemporalRange()
const;
125 void setRequestedTemporalRange(
const QgsDateTimeRange &range );
135 QgsDateTimeRange mAvailableTemporalRange;
138 QgsDateTimeRange mRequestedRange;
143 QgsDateTimeRange mAvailableReferenceRange;
146 IntervalHandlingMethod mIntervalMatchMethod = MatchUsingWholeRange;
149 friend class TestQgsRasterDataProviderTemporalCapabilities;
Base class for handling properties relating to a data provider's temporal capabilities.
Implementation of data provider temporal properties for QgsRasterDataProviders.
IntervalHandlingMethod
Method to use when resolving a temporal range to a data provider layer or band.
@ MatchExactUsingStartOfRange
Match the start of the temporal range to a corresponding layer or band, and only use exact matching r...
@ MatchExactUsingEndOfRange
Match the end of the temporal range to a corresponding layer or band, and only use exact matching res...
@ MatchUsingWholeRange
Use an exact match to the whole temporal range.
@ FindClosestMatchToStartOfRange
Implementation of threaded rendering for raster layers.