Ardour
9.0-pre0-427-gd2a3450e2f
|
#include <subview.h>
Public Types | |
enum | Mode { None , EQ , Dynamics , Sends , TrackView , Plugin } |
Public Member Functions | |
Subview (MackieControlProtocol &mcp, std::shared_ptr< ARDOUR::Stripable > subview_stripable) | |
virtual | ~Subview () |
virtual Mode | subview_mode () const =0 |
virtual void | update_global_buttons ()=0 |
virtual bool | permit_flipping_faders_and_pots () |
virtual void | setup_vpot (Strip *strip, Pot *vpot, std::string pending_display[2])=0 |
virtual void | handle_vselect_event (uint32_t global_strip_position) |
virtual bool | handle_cursor_right_press () |
virtual bool | handle_cursor_left_press () |
std::shared_ptr< ARDOUR::Stripable > | subview_stripable () const |
void | notify_subview_stripable_deleted () |
MackieControlProtocol & | mcp () |
PBD::ScopedConnectionList & | subview_stripable_connections () |
PBD::ScopedConnectionList & | subview_connections () |
void | do_parameter_display (std::string &display, const ARDOUR::ParameterDescriptor &pd, float param_val, Strip *strip, bool screen_hold) |
Static Public Member Functions | |
static bool | subview_mode_would_be_ok (Subview::Mode, std::shared_ptr< ARDOUR::Stripable >, std::string &reason_why_not) |
Protected Member Functions | |
void | init_strip_vectors () |
void | store_pointers (Strip *strip, Pot *vpot, std::string *pending_display, uint32_t global_strip_position) |
bool | retrieve_pointers (Strip **strip, Pot **vpot, std::string **pending_display, uint32_t global_strip_position) |
Protected Attributes | |
MackieControlProtocol & | _mcp |
std::shared_ptr< ARDOUR::Stripable > | _subview_stripable |
PBD::ScopedConnectionList | _subview_stripable_connections |
std::vector< Strip * > | _strips_over_all_surfaces |
std::vector< Pot * > | _strip_vpots_over_all_surfaces |
std::vector< std::string * > | _strip_pending_displays_over_all_surfaces |
PBD::ScopedConnectionList | _subview_connections |
Private Member Functions | |
void | reset_all_vpot_controls () |
This implements the subviews of the Mackie control in a Strategy pattern
ArdourSurface::MACKIE_NAMESPACE::Subview::Subview | ( | MackieControlProtocol & | mcp, |
std::shared_ptr< ARDOUR::Stripable > | subview_stripable | ||
) |
|
virtual |
void ArdourSurface::MACKIE_NAMESPACE::Subview::do_parameter_display | ( | std::string & | display, |
const ARDOUR::ParameterDescriptor & | pd, | ||
float | param_val, | ||
Strip * | strip, | ||
bool | screen_hold | ||
) |
|
inlinevirtual |
Reimplemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, and ArdourSurface::MACKIE_NAMESPACE::SendsSubview.
|
inlinevirtual |
Reimplemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, and ArdourSurface::MACKIE_NAMESPACE::SendsSubview.
|
virtual |
Reimplemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, and ArdourSurface::MACKIE_NAMESPACE::SendsSubview.
|
protected |
|
inline |
void ArdourSurface::MACKIE_NAMESPACE::Subview::notify_subview_stripable_deleted | ( | ) |
|
inlinevirtual |
Reimplemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, and ArdourSurface::MACKIE_NAMESPACE::SendsSubview.
|
private |
|
protected |
|
pure virtual |
Implemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, ArdourSurface::MACKIE_NAMESPACE::TrackViewSubview, ArdourSurface::MACKIE_NAMESPACE::SendsSubview, ArdourSurface::MACKIE_NAMESPACE::DynamicsSubview, ArdourSurface::MACKIE_NAMESPACE::EQSubview, and ArdourSurface::MACKIE_NAMESPACE::NoneSubview.
|
protected |
|
inline |
|
pure virtual |
Implemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, ArdourSurface::MACKIE_NAMESPACE::TrackViewSubview, ArdourSurface::MACKIE_NAMESPACE::SendsSubview, ArdourSurface::MACKIE_NAMESPACE::DynamicsSubview, ArdourSurface::MACKIE_NAMESPACE::EQSubview, and ArdourSurface::MACKIE_NAMESPACE::NoneSubview.
|
static |
|
inline |
|
inline |
|
pure virtual |
Implemented in ArdourSurface::MACKIE_NAMESPACE::PluginSubview, ArdourSurface::MACKIE_NAMESPACE::TrackViewSubview, ArdourSurface::MACKIE_NAMESPACE::SendsSubview, ArdourSurface::MACKIE_NAMESPACE::DynamicsSubview, ArdourSurface::MACKIE_NAMESPACE::EQSubview, and ArdourSurface::MACKIE_NAMESPACE::NoneSubview.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |