dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

Remove monitoring property as separate type #1239

Open jensschmeink opened 2 months ago

jensschmeink commented 2 months ago

The separate class GtMonitoringProperty and the specific classes GtDoubleMonitoring (and int and string) are not necessary if the abstract property has a flag if it is a monitoring one.

Description

The class GtMonitoringProperty is removed.
The GtAbstractProperty now has a flag for monitoring properties.
The existing usages are replaced by "normal" properties. To reduce the need of code changes a "using" is added to read e.g. GtDoubleMonitoringProperties as gtDoubleProperties.
The setting of the monitoring flag is done in the "registerMonitoringProperty" function.

With this kind of changes the developers of other modules have to recompile but not to change their code.

How Has This Been Tested?

Manual. Please check the usage also while the review.

Checklist: