LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Trigger whenever at least frac percent more iterations have happened. More...
#include <ProgressTriggers.hpp>
Public Member Functions | |
PercentTrigger (double frac) | |
void | setFraction (double) |
void | reset (void) |
bool | operator() (SimpleCounter *) |
Trigger whenever at least frac percent more iterations have happened.
This trigger tracks which fractional update it's in. If you want to reuse the trigger, you must reset it prior to starting up the counter again...