GCBM
cbmbuildlandunitmodule.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_CBMBUILDLANDUNITMODULE_H_
2 #define MOJA_MODULES_CBM_CBMBUILDLANDUNITMODULE_H_
3 
5 
6 namespace moja {
7 namespace modules {
8 namespace cbm {
9 
11  public:
14 
15  void configure(const DynamicObject& config) override;
16  void subscribe(NotificationCenter& notificationCenter) override;
17 
18  void doLocalDomainInit() override;
19  void doPreTimingSequence() override;
20 
21  private:
22  // Mask IN: a pixel is simulated if all mask variables have values.
23  std::vector<std::string> _maskVarNames;
24  std::vector<const flint::IVariable*> _maskVars;
25 
26  const flint::IVariable* _initialAge;
27  const flint::IVariable* _initialCSet;
28  const flint::IVariable* _initialHistoricLandClass;
29  const flint::IVariable* _initialCurrentLandClass;
30 
31  flint::IVariable* _age;
32  flint::IVariable* _buildWorked;
33  flint::IVariable* _cset;
34  flint::IVariable* _historicLandClass;
35  flint::IVariable* _currentLandClass;
36  flint::IVariable* _isForest;
37  };
38 
39 }}} // namespace moja::Modules::cbm
40 #endif // MOJA_MODULES_CBM_CBMBUILDLANDUNITMODULE_H_
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::CBMBuildLandUnitModule::_cset
flint::IVariable * _cset
Definition: cbmbuildlandunitmodule.h:33
moja::modules::cbm::CBMModuleBase
Definition: cbmmodulebase.h:22
moja::modules::cbm::CBMBuildLandUnitModule::_maskVars
std::vector< const flint::IVariable * > _maskVars
Definition: cbmbuildlandunitmodule.h:24
moja::modules::cbm::CBMBuildLandUnitModule::_isForest
flint::IVariable * _isForest
Definition: cbmbuildlandunitmodule.h:36
moja::modules::cbm::CBMBuildLandUnitModule::doPreTimingSequence
void doPreTimingSequence() override
Definition: cbmbuildlandunitmodule.cpp:102
moja::modules::cbm::CBMBuildLandUnitModule::subscribe
void subscribe(NotificationCenter &notificationCenter) override
Definition: cbmbuildlandunitmodule.cpp:46
moja::modules::cbm::CBMBuildLandUnitModule::_initialCurrentLandClass
const flint::IVariable * _initialCurrentLandClass
Definition: cbmbuildlandunitmodule.h:29
moja::modules::cbm::CBMBuildLandUnitModule::doLocalDomainInit
void doLocalDomainInit() override
Definition: cbmbuildlandunitmodule.cpp:61
moja::modules::cbm::CBMBuildLandUnitModule
Definition: cbmbuildlandunitmodule.h:10
moja::modules::cbm::CBMBuildLandUnitModule::_historicLandClass
flint::IVariable * _historicLandClass
Definition: cbmbuildlandunitmodule.h:34
moja::modules::cbm::CBMBuildLandUnitModule::_initialAge
const flint::IVariable * _initialAge
Definition: cbmbuildlandunitmodule.h:26
moja::modules::cbm::CBMBuildLandUnitModule::~CBMBuildLandUnitModule
virtual ~CBMBuildLandUnitModule()
Definition: cbmbuildlandunitmodule.h:13
moja::modules::cbm::CBMBuildLandUnitModule::_maskVarNames
std::vector< std::string > _maskVarNames
Definition: cbmbuildlandunitmodule.h:23
moja::modules::cbm::CBMBuildLandUnitModule::configure
void configure(const DynamicObject &config) override
Definition: cbmbuildlandunitmodule.cpp:31
moja::modules::cbm::CBMBuildLandUnitModule::_initialHistoricLandClass
const flint::IVariable * _initialHistoricLandClass
Definition: cbmbuildlandunitmodule.h:28
moja::modules::cbm::CBMBuildLandUnitModule::CBMBuildLandUnitModule
CBMBuildLandUnitModule()
Definition: cbmbuildlandunitmodule.h:12
moja::modules::cbm::CBMBuildLandUnitModule::_currentLandClass
flint::IVariable * _currentLandClass
Definition: cbmbuildlandunitmodule.h:35
moja::modules::cbm::CBMBuildLandUnitModule::_buildWorked
flint::IVariable * _buildWorked
Definition: cbmbuildlandunitmodule.h:32
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::CBMBuildLandUnitModule::_initialCSet
const flint::IVariable * _initialCSet
Definition: cbmbuildlandunitmodule.h:27
cbmmodulebase.h
moja::modules::cbm::CBMBuildLandUnitModule::_age
flint::IVariable * _age
Definition: cbmbuildlandunitmodule.h:31