GCBM
|
#include <disturbancemonitormodule.h>
Public Member Functions | |
DisturbanceMonitorModule () | |
virtual | ~DisturbanceMonitorModule ()=default |
void | subscribe (NotificationCenter ¬ificationCenter) override |
flint::ModuleTypes | moduleType () |
virtual void | doLocalDomainInit () override |
virtual void | doTimingInit () override |
virtual void | doOutputStep () override |
virtual void | doDisturbanceEvent (DynamicVar) override |
Public Member Functions inherited from CBMModuleBase | |
virtual | ~CBMModuleBase ()=default |
void | onSystemInit () override |
void | onSystemShutdown () override |
void | onLocalDomainInit () override |
void | onLocalDomainShutdown () override |
void | onLocalDomainProcessingUnitInit () override |
void | onLocalDomainProcessingUnitShutdown () override |
void | onPreTimingSequence () override |
void | onTimingInit () override |
void | onTimingPrePostInit () override |
void | onTimingPostInit () override |
void | onTimingPostInit2 () override |
void | onTimingShutdown () override |
void | onTimingStep () override |
void | onTimingPreEndStep () override |
void | onTimingEndStep () override |
void | onTimingPostStep () override |
void | onOutputStep () override |
void | onPrePostDisturbanceEvent () override |
void | onPostDisturbanceEvent () override |
void | onPostDisturbanceEvent2 () override |
void | onError (std::string msg) override |
void | onDisturbanceEvent (DynamicVar e) override |
void | onPostNotification (short preMessageSignal) override |
virtual void | doSystemInit () |
virtual void | doSystemShutdown () |
virtual void | doLocalDomainShutdown () |
virtual void | doLocalDomainProcessingUnitInit () |
virtual void | doLocalDomainProcessingUnitShutdown () |
virtual void | doPreTimingSequence () |
virtual void | doTimingPrePostInit () |
virtual void | doTimingPostInit () |
virtual void | doTimingPostInit2 () |
virtual void | doTimingShutdown () |
virtual void | doTimingStep () |
virtual void | doTimingPreEndStep () |
virtual void | doTimingEndStep () |
virtual void | doTimingPostStep () |
virtual void | doError (std::string msg) |
virtual void | doPrePostDisturbanceEvent () |
virtual void | doPostDisturbanceEvent () |
virtual void | doPostDisturbanceEvent2 () |
virtual void | doPostNotification (short preMessageSignal) |
Private Attributes | |
bool | _moduleEnabled = true |
flint::IVariable * | _currentDisturbance |
|
virtualdefault |
|
overridevirtual |
doDisturbanceEvent
If DisturbanceMonitorModule._moduleEnabled is true, then assign the value of "disturbance_type_code" in parameter e to DisturbanceMonitorModule._currentDisturbance
DynamicVar | e |
Reimplemented from CBMModuleBase.
|
overridevirtual |
If _landUnitdata has the variable "current_disturbance", set DisturbanceMonitorModule._moduleEnabled as true,
DisturbanceMonitorModule._currentDisturbance as variable "current_disturbance" in _landUnitData
Reimplemented from CBMModuleBase.
|
overridevirtual |
If DisturbanceMonitorModule._moduleEnabled is true, set the value of DisturbanceMonitorModule._currentDisturbance to DynamicVar()
Reimplemented from CBMModuleBase.
|
overridevirtual |
If DisturbanceMonitorModule._moduleEnabled is true, set the value of DisturbanceMonitorModule._currentDisturbance to DynamicVar()
Reimplemented from CBMModuleBase.
flint::ModuleTypes moduleType | ( | ) |
|
override |
Subscribe to signals LocalDomainInit, TimingInit, OutputStep and DisturbanceEvent
|
private |
|
private |