2 #include <samchon/library/Event.hpp> 84 return numerator / (double)denominator;
auto getDenominator() const -> size_t
Get denominator, number of total progress.
auto getNumerator() const -> size_t
Get numerator, number of current progress.
size_t denominator
The number of total progress.
EventDispatcher * source
Source of the event.
auto getPercent() const -> double
Get percentage of the progress.
Represent an event running on background.
ProgressEvent(EventDispatcher *source, size_t numerator, size_t denominator)
Construct from source and progress.
Event representing a progress.
Abstract class for dispatching Event.
size_t numerator
The number of current progress.