59 if (dataFields.size() != 1)
62 throw InvalidConditionException(
63 "Wrong number of datafields for condition updated ");
#define ARMARXCORE_IMPORT_EXPORT
ConditionCheck * clone() override
Clones the current check.
bool evaluate(const StringVariantMap &dataFields) override
Evaluate the condition based on the current data field values.
A ConditionCheck implements a check on the sensor data stream of a Sensor-Actor Unit.
void setNumberParameters(int numberParameters)
Sets the number of paramaters required for this check.
ConditionCheck()
Creates and initializes a ConditionCheck instance.
void addSupportedType(VariantTypeId dataFieldType=0, ParameterTypeList parameterTypes=ParameterTypeList())
Add a supported type for elementary condition check marks pairs of (dataFieldType,...
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::map< std::string, Variant > StringVariantMap