Antares Simulator
Power System Simulator
|
Progress meter about any operation performed on the attached study. More...
#include <progression.h>
Classes | |
class | Task |
Public Types | |
enum | Section { sectYear = 0 , sectOutput , sectTSGLoad , sectTSGSolar , sectTSGWind , sectTSGHydro , sectTSGThermal , sectImportTS , sectMax } |
enum | { npos = (uint)-1 } |
Public Member Functions | |
const char * | SectionToCStr (Section section) |
Default constructor | |
~Progression () | |
Destructor. | |
void | add (uint year, Section section, unsigned nbTicks) |
Declare a new part of the progression. | |
void | add (Section section, int nbTicks) |
bool | saveToFile (const Yuni::String &filename, IResultWriter &writer) |
void | setNumberOfParallelYears (uint nb) |
Progress meter about any operation performed on the attached study.
void Antares::Solver::Progression::add | ( | uint | year, |
Section | section, | ||
unsigned | nbTicks ) |
Declare a new part of the progression.
year | The associated year |
section | The section in this year |
nbTicks | The total number of ticks to achieve |