fledge-iot / fledge

An open source platform for the Industrial Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems.

Home Page:https://www.lfedge.org/projects/fledge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReadingSet has inconsistent mCount / m_readings

jchabod opened this issue · comments

ReadingSet class handles inconsistently the fileds mCount towards m_readings.

For example removeAll does not update mCount, which is inconsistent with constructor with a vector of Reading*.

I also am not really sure that the actual meaning of getCount() is supposed to be... This should be documented (cases where this is releveant or not)