Ardour  9.0-pre0-582-g084a23a80d
AxisView Class Referenceabstract

#include <axis_view.h>

Inheritance diagram for AxisView:
[legend]

Public Member Functions

virtual std::string name () const =0
 
virtual Gdk::Color color () const =0
 
virtual std::shared_ptr< ARDOUR::Stripablestripable () const =0
 
virtual std::shared_ptr< ARDOUR::AutomationControlcontrol () const
 
virtual std::string state_id () const =0
 
std::string gui_property (const std::string &property_name) const
 
bool get_gui_property (const std::string &property_name, std::string &value) const
 
template<typename T >
bool get_gui_property (const std::string &property_name, T &value) const
 
template<typename T >
bool get_gui_property (const std::string &state_id, const std::string &property_name, T &value) const
 
void set_gui_property (const std::string &property_name, const std::string &value)
 
void remove_gui_property (const std::string &property_name)
 
void set_gui_property (const std::string &property_name, const char *value)
 
template<typename T >
void set_gui_property (const std::string &property_name, const T &value)
 
void cleanup_gui_properties ()
 
void set_selected (bool yn)
 
virtual bool marked_for_display () const
 
virtual bool set_marked_for_display (bool)
 
void clear_property_cache ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from Selectable
 Selectable ()
 
virtual ~Selectable ()
 
virtual bool selected () const
 

Static Public Member Functions

static GUIObjectStategui_object_state ()
 
static Gdk::Color round_robin_palette_color ()
 

Public Attributes

sigc::signal< void > Hiding
 

Protected Member Functions

 AxisView ()
 
virtual ~AxisView ()
 
void set_name_ellipsize_mode ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

Gtk::Label name_label
 
Gtk::Label inactive_label
 
Gtk::Table inactive_table
 
std::unordered_map< std::string, std::string > property_hashtable
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Protected Attributes inherited from Selectable
bool _selected
 

Detailed Description

AxisView defines the abstract base class for horizontal and vertical presentations of Stripables.

Definition at line 57 of file axis_view.h.

Constructor & Destructor Documentation

◆ AxisView()

AxisView::AxisView ( )
protected

◆ ~AxisView()

virtual AxisView::~AxisView ( )
protectedvirtual

Member Function Documentation

◆ cleanup_gui_properties()

void AxisView::cleanup_gui_properties ( )
inline

Definition at line 111 of file axis_view.h.

◆ clear_property_cache()

void AxisView::clear_property_cache ( )
inline

Definition at line 123 of file axis_view.h.

◆ color()

virtual Gdk::Color AxisView::color ( ) const
pure virtual

◆ control()

virtual std::shared_ptr<ARDOUR::AutomationControl> AxisView::control ( ) const
inlinevirtual

Reimplemented in AutomationTimeAxisView.

Definition at line 66 of file axis_view.h.

◆ get_gui_property() [1/3]

bool AxisView::get_gui_property ( const std::string &  property_name,
std::string &  value 
) const

◆ get_gui_property() [2/3]

template<typename T >
bool AxisView::get_gui_property ( const std::string &  property_name,
T &  value 
) const
inline

Definition at line 76 of file axis_view.h.

◆ get_gui_property() [3/3]

template<typename T >
bool AxisView::get_gui_property ( const std::string &  state_id,
const std::string &  property_name,
T &  value 
) const
inline

Definition at line 87 of file axis_view.h.

◆ gui_object_state()

static GUIObjectState& AxisView::gui_object_state ( )
static

◆ gui_property()

std::string AxisView::gui_property ( const std::string &  property_name) const

◆ marked_for_display()

virtual bool AxisView::marked_for_display ( ) const
virtual

◆ name()

virtual std::string AxisView::name ( ) const
pure virtual

◆ remove_gui_property()

void AxisView::remove_gui_property ( const std::string &  property_name)

◆ round_robin_palette_color()

static Gdk::Color AxisView::round_robin_palette_color ( )
static

◆ set_gui_property() [1/3]

void AxisView::set_gui_property ( const std::string &  property_name,
const char *  value 
)
inline

Definition at line 101 of file axis_view.h.

◆ set_gui_property() [2/3]

void AxisView::set_gui_property ( const std::string &  property_name,
const std::string &  value 
)

◆ set_gui_property() [3/3]

template<typename T >
void AxisView::set_gui_property ( const std::string &  property_name,
const T &  value 
)
inline

Definition at line 106 of file axis_view.h.

◆ set_marked_for_display()

virtual bool AxisView::set_marked_for_display ( bool  )
virtual

◆ set_name_ellipsize_mode()

void AxisView::set_name_ellipsize_mode ( )
protected

◆ set_selected()

void AxisView::set_selected ( bool  yn)
virtual

Reimplemented from Selectable.

Reimplemented in VCAMasterStrip, TimeAxisView, TriggerStrip, and MixerStrip.

◆ state_id()

virtual std::string AxisView::state_id ( ) const
pure virtual

◆ stripable()

virtual std::shared_ptr<ARDOUR::Stripable> AxisView::stripable ( ) const
pure virtual

Member Data Documentation

◆ Hiding

sigc::signal<void> AxisView::Hiding

Definition at line 63 of file axis_view.h.

◆ inactive_label

Gtk::Label AxisView::inactive_label
protected

Definition at line 134 of file axis_view.h.

◆ inactive_table

Gtk::Table AxisView::inactive_table
protected

Definition at line 135 of file axis_view.h.

◆ name_label

Gtk::Label AxisView::name_label
protected

Definition at line 131 of file axis_view.h.

◆ property_hashtable

std::unordered_map<std::string, std::string> AxisView::property_hashtable
mutableprotected

Definition at line 137 of file axis_view.h.


The documentation for this class was generated from the following file: