Registers an entity to measure and performs a measurement if this entity has not been previously registered.
The entity to measure.
A promise that resolves with the results after registering this entity.
Clears all entities and returns a promise that resolves with an empty list of measurement results.
Deregisters an entity and performs a measurement if this entity was removed.
The entity to remove.
A promise that resolves with the results after removing this entity.
Registers a set of entities and performs a measurement
The entities to measure.
A promise that resolves with the results after registering these entities.
The
MeasurementController
is responsible for performing measurements of registered entities, and updating the model with their measurement results.