SmartSpin2k
SmartSpin2k copied to clipboard
[FR] Refactor SmartSpin_Parameters with generic Parameter template
Is your feature request related to a problem? Please describe. SmartSpin_Parameters has many identical set and get functions for variables. In order to clean up code and simplify, I'd like to create an overloaded class which will include the set and get so that they don't need to be repeated, sort of like we have for the Measurement class (although we don't need to track time stamps for most things.) This will also make adding and removing variables to RunTimeParameters and UserParameters classes easier.
The downside is that this will ripple changes throughout the entire program, requiring existing calls to the setters and getters to be fixed.