45 int preSimulationYears = initialSimulationYear-initialYear;
53 struct tm *current = localtime(&now);
54 string timemessage =
"("+
i2s(current->tm_hour)+
":"+
i2s(current->tm_min)+
":"+
i2s(current->tm_sec)+
")";
int getIntSetting(const string &name_h, int position=0, int reg=WORLD) const
bool getBoolSetting(const string &name_h, int position=0, int reg=WORLD) const
string i2s(const int &int_h) const
integer to string conversion
ThreadManager * MTHREAD
Pointer to the Thread manager.
ModelData * MD
the model data object
void msgOut(const int &msgCode_h, const string &msg_h, const bool &refreshGUI_h=true) const
Overloaded function to print the output log.
int getCachedInitialYear()
Gis * GIS
GIS information and methods.
Thread manager. Responsable to manage the main thread and "speak" with the GUI.
void upgradeYearSBLabel(int year)
ModelCore * CORE
Core of the model.
void upgradeMainSBLabel(const string message_h)
ModelCoreSpatial * SCORE
Core of the model (spatial version)
Scheduler(ThreadManager *MTHREAD_h)
Pixel * getPixel(int x_h, int y_h)
void treeViewerChangeGeneralPropertyValue(string propertyName, string newValue)