Commit 79b70b54 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Expose the number of matched sensors on aggregate sensors

So it can be used when calculating values for aggregates.
parent e1fe8f46
......@@ -174,6 +174,11 @@ void AggregateSensor::removeSensor(const QString &sensorPath)
int AggregateSensor::matchCount() const
return m_sensors.size();
void AggregateSensor::updateSensors()
if (!m_matchObjects.isValid()) {
......@@ -54,6 +54,8 @@ public:
void addSensor(SensorProperty *sensor);
void removeSensor(const QString &sensorPath);
int matchCount() const;
void updateSensors();
void sensorDataChanged(SensorProperty *sensor);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment