18 #ifndef QGSRASTERDATAPROVIDERTEMPORALCAPABILITIES_H
19 #define QGSRASTERDATAPROVIDERTEMPORALCAPABILITIES_H
21 #include "qgis_core.h"
58 FindClosestMatchToEndOfRange
68 IntervalHandlingMethod intervalHandlingMethod()
const;
76 void setIntervalHandlingMethod( IntervalHandlingMethod method );
83 void setAvailableTemporalRange(
const QgsDateTimeRange &range );
90 const QgsDateTimeRange &availableTemporalRange()
const;
102 void setAllAvailableTemporalRanges(
const QList< QgsDateTimeRange > &ranges );
114 QList< QgsDateTimeRange > allAvailableTemporalRanges()
const;
122 void setAvailableReferenceTemporalRange(
const QgsDateTimeRange &range );
130 const QgsDateTimeRange &availableReferenceTemporalRange()
const;
136 const QgsDateTimeRange &requestedTemporalRange()
const;
154 void setDefaultInterval(
const QgsInterval &interval );
166 void setRequestedTemporalRange(
const QgsDateTimeRange &range )
SIP_SKIP;
178 QgsDateTimeRange mAvailableTemporalRange;
184 QList< QgsDateTimeRange > mAllAvailableTemporalRanges;
187 QgsDateTimeRange mRequestedRange;
192 QgsDateTimeRange mAvailableReferenceRange;
197 IntervalHandlingMethod mIntervalMatchMethod = MatchUsingWholeRange;
200 friend class TestQgsRasterDataProviderTemporalCapabilities;
Base class for handling properties relating to a data provider's temporal capabilities.
A representation of the interval between two datetime values.
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
Match the start of the temporal range to the least previous closest datetime.
Implementation of threaded rendering for raster layers.