1 #ifndef EVENTAIDSSTAGE_H
3 #define EVENTAIDSSTAGE_H
5 #include "eventvariablefiretime.h"
7 class EventAIDSStage :
public SimpactEvent
10 EventAIDSStage(Person *pPerson,
bool final);
13 std::string getDescription(
double tNow)
const;
14 void writeLogs(
double tNow)
const;
15 void fire(
State *pState,
double t);
18 static void obtainConfig(ConfigWriter &config);
21 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
22 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
24 void checkFireTime(
double t0);
25 double getNewStageTime(
double currentTime)
const;
27 EventVariableFireTime_Helper m_eventHelper;
30 static double m_relativeStartTime;
31 static double m_relativeFinalTime;
34 #endif // EVENTAIDSSTAGE_H
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40
Helper class to read configuration settings, more advanced than ConfigReader.
Definition: configsettings.h:20
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16