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

#include <cbmsequencer.h>

Inherits SequencerModuleBase.

Collaboration diagram for CBMSequencer:
Collaboration graph

Public Member Functions

 CBMSequencer ()
 
virtual ~CBMSequencer ()
 
void configure (flint::ITiming &timing) override
 
bool Run (NotificationCenter &_notificationCenter, flint::ILandUnitController &luc) override
 

Private Attributes

DateTime _startDate
 
DateTime _endDate
 

Constructor & Destructor Documentation

◆ CBMSequencer()

◆ ~CBMSequencer()

virtual ~CBMSequencer ( )
virtual

Member Function Documentation

◆ configure()

void configure ( flint::ITiming &  timing)
override

◆ Run()

bool Run ( NotificationCenter &  _notificationCenter,
flint::ILandUnitController &  luc 
)
override

Post event notifications

Post event notifications for signals TimingInit and TimingPostInit.
While CBMSequencer._startDate is less than CBMSequencer._endDate, post event notifications for signals
TimingPreEndStep, TimingEndStep. OutputStep and TimingPostStep. In every iteration, increment the value of curStepDate by 1 year
Post event notifications for signal TimingShutdown at the end of the iteration and return True if no exception

Parameters
notificationCenterNotificationCenter&
lucflint::ILandUnitController&
Exceptions
SimulationError&Handle exceptions during simulation
exceptionHandle exceptions
Returns
bool

Member Data Documentation

◆ _endDate

DateTime _endDate
private

◆ _startDate

DateTime _startDate
private

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