Skip to content

GUI: macros for members definition are removed

Mikhail Svechnikov requested to merge from_macros into main

Macros VECTOR_PROPERTY, DOUBLE_PROPERTY, AXIS_PROPERTY, FF_PROPERTY were replaced by explicit definitions.

Also VectorProperty setters' name was changed to the more appropriate one.

Steps of Descriptor refactoring:

  1. reduce usage of functional pointers set() and get() of DoubleDescriptor
  2. move Descriptor functionality to Property
  3. use Property instead of Descriptor
  4. remove Descriptor from code
  5. refactor serialization of Property
  6. replace Property macro definitions like DOUBLE_PROPERTY(intensity, Intensity) by explicit member with setter and getter

This MR does (6) for DoubleProperty, VectorProperty and AxisProperty

Edited by Mikhail Svechnikov

Merge request reports

Loading