score::SettingsCommand< T > Class Template Reference
A Command class that modifies a parameter given its trait class. More...
Inheritance diagram for score::SettingsCommand< T >:
Detailed Description
template<typename T>
class score::SettingsCommand< T >
A Command class that modifies a parameter given its trait class.
This is used to have a very fast application of many settings.
- See also
- score::SettingsParameterMetadata
Public Types | |
using | model_t = typename T::model_type |
using | parameter_t = T |
using | parameter_pass_t = typename boost::call_traits< typename T::param_type >::param_type |
Public Member Functions | |
SettingsCommand (model_t &obj, parameter_pass_t newval) | |
void | undo () const final override |
void | redo () const final override |
void | update (model_t &, parameter_pass_t newval) |
The documentation for this class was generated from the following file: