#include <timeseriesidxfromflintdatatransform.h>
Inherits ITransform.
◆ TimeSeriesIdxFromFlintDataTransform()
◆ configure()
void configure |
( |
DynamicObject |
config, |
|
|
const flint::ILandUnitController & |
landUnitController, |
|
|
datarepository::DataRepository & |
dataRepository |
|
) |
| |
|
override |
Configuration function
Assign TimeSeriesIdxFromFlintDataTransform._landUnitController as parameter landUnitController&, TimeSeriesIdxFromFlintDataTransform._subsame, TimeSeriesIdxFromFlintDataTransform._startYear, TimeSeriesIdxFromFlintDataTransform._dataPerYear, TimeSeriesIdxFromFlintDataTransform._nYears value of "sub_same", "start_year", "data_per_year" in parameter config, _origin, value of "origin" if it exists in parameter config, else the string "start_sim", TimeSeriesIdxFromFlintDataTransform._spatialLocationInfo value of variable "spatialLocationInfo" in parameter landUnitController
Assign the value of the getProvider() on parameter dataRepository with argument config["provider"] to a variable provider, set the result of the indexer() method on variable provider to TimeSeriesIdxFromFlintDataTransform._providerIndex, and result of getLayer() on variable provider with argument config["data_id"] to TimeSeriesIdxFromFlintDataTransform._layer
- Parameters
-
config | DynamicObject |
controller | flint::ILandUnitController& |
dataRepository | moja::datarepository::DataRepository& |
- Returns
- void
◆ controllerChanged()
void controllerChanged |
( |
const flint::ILandUnitController & |
landUnitController | ) |
|
|
override |
◆ value()
const DynamicVar & value |
( |
| ) |
const |
|
override |
◆ _cachedValue
◆ _dataPerYear
◆ _landUnitController
const flint::ILandUnitController* _landUnitController |
|
private |
◆ _lastCellHash
◆ _layer
const datarepository::IProviderLayer* _layer |
|
private |
◆ _nYears
◆ _origin
◆ _providerIndexer
const datarepository::TileBlockCellIndexer* _providerIndexer |
|
private |
◆ _spatialLocationInfo
std::shared_ptr<const flint::SpatialLocationInfo> _spatialLocationInfo |
|
mutableprivate |
◆ _startYear
◆ _subsame
The documentation for this class was generated from the following files: