2#ifndef LM_EVENTHANDLER_CUT_H_
3#define LM_EVENTHANDLER_CUT_H_
5#include "mbe_legacymodel.h"
6#include "state/mbe_state.h"
7#include "ld_eventqueue.h"
9namespace ldndc {
namespace event {
15class LDNDC_API EventHandlerCut :
public MBE_LegacyModel
17 LMOD_EXPORT_MODULE_INFO(EventHandlerCut,
"eventhandler:cut",
"EventHandler Cut");
21 MoBiLE_State *, cbm::io_kcomm_t *, timemode_e);
24 lerr_t configure( ldndc::config_file_t
const *) {
return LDNDC_ERR_OK; }
25 lerr_t register_ports( cbm::io_kcomm_t *);
26 lerr_t initialize() {
return LDNDC_ERR_OK; }
29 lerr_t unregister_ports( cbm::io_kcomm_t *);
30 lerr_t finalize() {
return LDNDC_ERR_OK; }
32 lerr_t wake() {
return LDNDC_ERR_OK; }
33 lerr_t sleep() {
return LDNDC_ERR_OK; }
52 MoBiLE_PlantVegetation *,
53 species_groups_selector_t
const & _groups);
56 cbm::io_kcomm_t * io_kcomm;
57 input_class_setup_t
const & m_setup;
58 input_class_siteparameters_t
const & sipar_;
59 input_class_soillayers_t
const * sl_;
60 substate_physiology_t * ph_;
61 substate_soilchemistry_t & sc_;
63 EventQueue m_CutEvents;
64 CBM_Handle m_CutHandle;
70 MoBiLE_PlantVegetation *,
71 species_groups_selector_t
const &,
72 ldndc::EventAttributes);
80 species_groups_selector_t
const &,
85 update_biomass_after_cut_(
Spatially explicit groundwater model.
Definition airchemistryput.h:15