Ardour
9.0-pre0-582-g084a23a80d
|
#include <Control.h>
Public Member Functions | |
Control (const Parameter ¶meter, const ParameterDescriptor &desc, std::shared_ptr< ControlList > list) | |
virtual | ~Control () |
virtual void | set_double (double val, Temporal::timepos_t const &when=Temporal::timepos_t(), bool to_list=false) |
virtual double | get_double () const |
void | set_list (std::shared_ptr< ControlList >) |
std::shared_ptr< ControlList > | list () |
std::shared_ptr< const ControlList > | list () const |
const Parameter & | parameter () const |
Public Attributes | |
PBD::Signal< void()> | ListMarkedDirty |
Protected Attributes | |
Parameter | _parameter |
std::shared_ptr< ControlList > | _list |
double | _user_value |
PBD::ScopedConnection | _list_marked_dirty_connection |
Private Member Functions | |
void | list_marked_dirty () |
Base class representing some kind of (automatable) control; a fader's gain, for example, or a compressor plugin's threshold.
The class knows the Evoral::Parameter that it is controlling, and has a list of values for automation.
Evoral::Control::Control | ( | const Parameter & | parameter, |
const ParameterDescriptor & | desc, | ||
std::shared_ptr< ControlList > | list | ||
) |
|
inlinevirtual |
|
inline |
|
inline |
|
private |
|
inline |
|
virtual |
void Evoral::Control::set_list | ( | std::shared_ptr< ControlList > | ) |
|
protected |
|
protected |
PBD::Signal<void()> Evoral::Control::ListMarkedDirty |
Emitted when the our ControlList is marked dirty