A simple criterion based on force calculation. More...
#include <Force.h>
Public Member Functions | |
ForceCriterion (mml::Force *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr) | |
constructor More... | |
std::string | getName () override |
get stopping criterion name More... | |
~ForceCriterion () override | |
destructor More... | |
Public Member Functions inherited from Criterion | |
bool | checkCriterion () override |
return true if the criterion is reach More... | |
Criterion (mml::Criteria *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr) | |
constructor More... | |
StoppingCriterion * | getChild (const unsigned int i) override |
get the child repered by index, return null if no child More... | |
std::string | getMethodString () |
get Method Name More... | |
int | getNumberOfChildren () override |
get number of childre; return -1 for non multiple criteria More... | |
std::string | scopeToString () |
get Method scope as string More... | |
~Criterion () override | |
destructor More... | |
Public Member Functions inherited from StoppingCriterion | |
MultipleCriterion * | getParent () |
get parent multiple criteria More... | |
StoppingCriterion (MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr) | |
constructor More... | |
virtual | ~StoppingCriterion ()=default |
destructor More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Criterion | |
void | write () |
write values in the mmlOut file More... | |
Protected Attributes inherited from Criterion | |
double | factor |
factor to multiplate for conversion to SI More... | |
mml::Criteria * | mappedObject |
the xsdcxx object representing criterion, used for serialization More... | |
Method * | meth |
the computationnal method used to check if criterion is true More... | |
std::string | unit |
unit More... | |
std::vector< double > | values |
vector that stores current data of the stopping criteria More... | |
Protected Attributes inherited from StoppingCriterion | |
MonitoringManager * | monitoringManager |
monitoring manager More... | |
MultipleCriterion * | parent |
parent stopping Criterion More... | |
A simple criterion based on force calculation.
ForceCriterion::ForceCriterion | ( | mml::Force * | c, |
MonitoringManager * | monitoringManager, | ||
MultipleCriterion * | parent = nullptr |
||
) |
constructor
c | the xsdcxx generated Force criterion |
References Criterion::factor, and Criterion::unit.
|
override |
destructor
|
overridevirtual |
get stopping criterion name
Implements Criterion.