Scheduler Class Reference

Manage the yearly loops. More...

#include <Scheduler.h>

Inheritance diagram for Scheduler:

Inheritance graph
[legend]
Collaboration diagram for Scheduler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Scheduler (ThreadManager *MTHREAD_h)
 ~Scheduler ()
void run ()
int getIteration ()
int getYear ()

Private Attributes

int iteration

Detailed Description

Manage the yearly loops.

This class is responsable to manage the time-dimension of the program.
It start its job when Init has ended and schedule the various operation to be done during the year loops.

Author:
Antonello Lobianco

Definition at line 40 of file Scheduler.h.


Constructor & Destructor Documentation

Scheduler ( ThreadManager MTHREAD_h  ) 

Definition at line 26 of file Scheduler.cpp.

~Scheduler (  ) 

Definition at line 31 of file Scheduler.cpp.


Member Function Documentation

void run (  ) 

Definition at line 35 of file Scheduler.cpp.

Referenced by Init::setInitLevel5().

Here is the caller graph for this function:

int getIteration (  )  [inline]

Definition at line 46 of file Scheduler.h.

Referenced by RegData::getBaseData(), RegActivities::getDecouplingOption(), RegActivities::getMatrixActRes(), RegActivities::getMatrixCoefficientByName(), RegActivities::getMatrixCoefficients(), RegActivities::getMatrixGrossMargin(), Gis::printBinMaps(), and Gis::printLayers().

Here is the caller graph for this function:

int getYear (  ) 

Definition at line 71 of file Scheduler.cpp.

Referenced by Pixel::acquireObject(), Agent_base::acquireObject(), Agent_base::answerStats(), Opt::debug(), ModelObject::getAge(), Agent_farmer::getDecoupledPayments(), Pixel::getRentingAge(), Pixel::newYear(), Manager_farmers::prepare(), Layers::print(), Output::printAggregatedData(), Layers::printBinMap(), Output::printLeavingAgent(), run(), ModelObject::setRandomAge(), Pixel::setRemainingRentingTerm(), and Agent_farmer::update().

Here is the caller graph for this function:


Member Data Documentation

int iteration [private]

Definition at line 50 of file Scheduler.h.

Referenced by getIteration(), getYear(), run(), and Scheduler().


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