GCBM
Public Member Functions | Private Attributes | List of all members
DynamicGrowthCurveLookupTransform Class Reference

#include <dynamicgrowthcurvelookuptransform.h>

Inherits ITransform.

Collaboration diagram for DynamicGrowthCurveLookupTransform:
Collaboration graph

Public Member Functions

 DynamicGrowthCurveLookupTransform (std::shared_ptr< std::map< int, std::map< std::string, DynamicVar >>> gcCache)
 
void configure (DynamicObject config, const flint::ILandUnitController &landUnitController, datarepository::DataRepository &dataRepository) override
 
void controllerChanged (const flint::ILandUnitController &controller) override
 
const DynamicVar & value () const override
 

Private Attributes

const flint::ILandUnitController * _landUnitController
 
DynamicVar _value
 
const flint::IVariable * _gcIdVar
 
std::string _forestTypeFilter
 
std::shared_ptr< std::map< int, std::map< std::string, DynamicVar > > > _gcCache
 

Detailed Description

Looks up a merchantable volume curve generated by DynamicGrowthCurveTransform.

Constructor & Destructor Documentation

◆ DynamicGrowthCurveLookupTransform()

DynamicGrowthCurveLookupTransform ( std::shared_ptr< std::map< int, std::map< std::string, DynamicVar >>>  gcCache)

Member Function Documentation

◆ configure()

void configure ( DynamicObject  config,
const flint::ILandUnitController &  landUnitController,
datarepository::DataRepository &  dataRepository 
)
override

Configuration function

Assign DynamicGrowthCurveLookupTransform._landUnitController as parameter &landUnitController,
DynamicGrowthCurveLookupTransform._forestTypeFilter as variable "forest_type" in parameter config,
DynamicGrowthCurveLookupTransform._gcIdVar as variable "growth_curve_id" in DynamicGrowthCurveLookupTransform._landUnitController

Parameters
DynamicObjectconfig
flint::ILandUnitController&landUnitController
datarepository::DataRepository&dataRepository
Returns
void

◆ controllerChanged()

void controllerChanged ( const flint::ILandUnitController &  controller)
override

Set DynamicGrowthCurveLookupTransform._landUnitController as &controller

Parameters
flint::ILandUnitController&controller
Returns
void

◆ value()

const DynamicVar & value ( ) const
override

Member Data Documentation

◆ _forestTypeFilter

std::string _forestTypeFilter
mutableprivate

◆ _gcCache

std::shared_ptr<std::map<int, std::map<std::string, DynamicVar> > > _gcCache
private

◆ _gcIdVar

const flint::IVariable* _gcIdVar
mutableprivate

◆ _landUnitController

const flint::ILandUnitController* _landUnitController
private

◆ _value

DynamicVar _value
mutableprivate

The documentation for this class was generated from the following files: