Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Progress Class Referencefinal
Inheritance diagram for Progress:

Public Types

enum  State { stJobs , stWrite , stReading , stSilent }
 Different states related to the progression.
 
using ThreadingPolicy = Yuni::Thread::Timer::ThreadingPolicy
 The threading policy.
 

Public Member Functions

bool completed () const
 Get if the task is complete.
 
template<class StringT >
void message (const StringT &msg)
 Set the message to display into logs.
 

Public Attributes

State state
 The current state in the progression.
 

Static Public Attributes

static std::atomic< int > Current = 0
 The number of jobs currently done.
 
static uint Total = 0
 The total number of jobs to execute.
 

Protected Member Functions

virtual bool onInterval (uint) override
 

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