#include <MainProgram.h>
Inheritance diagram for MainProgram:
Public Member Functions | |
MainProgram (ThreadManager *MTHREAD) | |
~MainProgram () | |
void | run () |
Run the program. |
There is only one istance of this class. It is responsable to load the setting files, call the Init class, "speack" with the Scheduler and finally end the program.
Definition at line 43 of file MainProgram.h.
MainProgram | ( | ThreadManager * | MTHREAD | ) |
Definition at line 26 of file MainProgram.cpp.
~MainProgram | ( | ) |
Definition at line 39 of file MainProgram.cpp.
void run | ( | ) |
Run the program.
This is the main call of the program.
It firstly create the objects (and keep track of them trough pointers) of the main functional objects of the program.
Then it call the INIT object to do its jobs and when it ends, it gives control to SCD (Scheduler) for the year loops.
Finally it clean-up and returns.
Definition at line 50 of file MainProgram.cpp.
Referenced by ThreadManager::run(), and ThreadManager::runFromConsole().
Here is the caller graph for this function: