A AndMultipleCriterion is a MultipleCriterion where a call of checkCriteria methof is true if every single Criterion of the Criteria vector is reached. More...
#include <AndMultipleCriterion.h>
Public Member Functions | |
AndMultipleCriterion (mml::MultipleCriteria *m, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr) | |
constructor More... | |
bool | checkCriterion () override |
return true if every single Criterion is reached More... | |
std::string | getName () override |
get stopping criterion name More... | |
~AndMultipleCriterion () override=default | |
destructor More... | |
Public Member Functions inherited from MultipleCriterion | |
void | addChild (StoppingCriterion *sc) |
add child More... | |
StoppingCriterion * | getChild (const unsigned int i) override |
get the child repered by index, return null if no child More... | |
int | getNumberOfChildren () override |
get number of childre; return -1 for non multiple criteria More... | |
MultipleCriterion (mml::MultipleCriteria *m, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr) | |
constructor More... | |
void | removeChild (const unsigned int i) |
remove child by index More... | |
~MultipleCriterion () 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 Attributes inherited from MultipleCriterion | |
std::vector< StoppingCriterion * > | criterias |
the set of criteria to check More... | |
mml::MultipleCriteria * | mappedObject |
the xsdcxx object representing MultipleCriterion, used for serialization More... | |
Protected Attributes inherited from StoppingCriterion | |
MonitoringManager * | monitoringManager |
monitoring manager More... | |
MultipleCriterion * | parent |
parent stopping Criterion More... | |
A AndMultipleCriterion is a MultipleCriterion where a call of checkCriteria methof is true if every single Criterion of the Criteria vector is reached.
AndMultipleCriterion::AndMultipleCriterion | ( | mml::MultipleCriteria * | m, |
MonitoringManager * | monitoringManager, | ||
MultipleCriterion * | parent = nullptr |
||
) |
constructor
m | the xsdcxx generated MultipleCriterion |
monitoringManager | the monitoring manager that holds this criteria |
parent | the parent multiple criteria |
|
overridedefault |
destructor
|
overridevirtual |
return true if every single Criterion is reached
Implements MultipleCriterion.
References MultipleCriterion::criterias.
|
overridevirtual |
get stopping criterion name
Implements MultipleCriterion.