LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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...


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