LOOS  v2.3.2
loos::PercentTrigger Class Reference

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 *)
 

Detailed Description

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...

Definition at line 49 of file ProgressTriggers.hpp.


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