Ardour  9.0-pre0-822-g12e3bc5c20
StripableTreeModel Class Reference

#include <stripable_treemodel.h>

Inheritance diagram for StripableTreeModel:
[legend]

Classes

struct  Columns
 
struct  Glue
 

Public Types

typedef Gtk::TreeModelColumn< std::string > StringColumn
 
typedef Gtk::TreeModelColumn< bool > BoolColumn
 
typedef Gtk::TreeModelColumn< uint32_t > UnsignedColumn
 
typedef Gtk::TreeModelColumn< AxisView * > AVColumn
 
typedef Gtk::TreeModelColumn< std::shared_ptr< ARDOUR::Stripable > > StripableColumn
 

Public Member Functions

void set_session (ARDOUR::Session &)
 

Static Public Member Functions

static Glib::RefPtr< StripableTreeModelcreate (AxisViewProvider &)
 

Public Attributes

Columns columns
 

Protected Member Functions

 StripableTreeModel (AxisViewProvider &)
 
virtual ~StripableTreeModel ()
 
Gtk::TreeModelFlags get_flags_vfunc () const
 
int get_n_columns_vfunc () const
 
GType get_column_type_vfunc (int index) const
 
void get_value_vfunc (const TreeModel::iterator &iter, int column, Glib::ValueBase &value) const
 
bool iter_next_vfunc (const iterator &iter, iterator &iter_next) const
 
bool iter_children_vfunc (const iterator &parent, iterator &iter) const
 
bool iter_has_child_vfunc (const iterator &iter) const
 
int iter_n_children_vfunc (const iterator &iter) const
 
int iter_n_root_children_vfunc () const
 
bool iter_nth_child_vfunc (const iterator &parent, int n, iterator &iter) const
 
bool iter_nth_root_child_vfunc (int n, iterator &iter) const
 
bool iter_parent_vfunc (const iterator &child, iterator &iter) const
 
Path get_path_vfunc (const iterator &iter) const
 
bool get_iter_vfunc (const Path &path, iterator &iter) const
 
bool iter_is_valid (const iterator &iter) const
 

Private Types

typedef std::set< Glue * > GlueList
 

Private Member Functions

void text_value (std::shared_ptr< ARDOUR::Stripable > stripable, Glib::ValueBase &value) const
 
void remember_glue_item (Glue *) const
 

Private Attributes

ARDOUR::Session_session
 
AxisViewProvideraxis_view_provider
 
int n_columns
 
GlueList glue_list
 

Detailed Description

Definition at line 37 of file stripable_treemodel.h.

Member Typedef Documentation

◆ AVColumn

typedef Gtk::TreeModelColumn<AxisView*> StripableTreeModel::AVColumn

Definition at line 68 of file stripable_treemodel.h.

◆ BoolColumn

typedef Gtk::TreeModelColumn<bool> StripableTreeModel::BoolColumn

Definition at line 66 of file stripable_treemodel.h.

◆ GlueList

typedef std::set<Glue*> StripableTreeModel::GlueList
private

Definition at line 128 of file stripable_treemodel.h.

◆ StringColumn

typedef Gtk::TreeModelColumn<std::string> StripableTreeModel::StringColumn

Definition at line 65 of file stripable_treemodel.h.

◆ StripableColumn

typedef Gtk::TreeModelColumn<std::shared_ptr<ARDOUR::Stripable> > StripableTreeModel::StripableColumn

Definition at line 69 of file stripable_treemodel.h.

◆ UnsignedColumn

typedef Gtk::TreeModelColumn<uint32_t> StripableTreeModel::UnsignedColumn

Definition at line 67 of file stripable_treemodel.h.

Constructor & Destructor Documentation

◆ StripableTreeModel()

StripableTreeModel::StripableTreeModel ( AxisViewProvider )
protected

◆ ~StripableTreeModel()

virtual StripableTreeModel::~StripableTreeModel ( )
protectedvirtual

Member Function Documentation

◆ create()

static Glib::RefPtr<StripableTreeModel> StripableTreeModel::create ( AxisViewProvider )
static

◆ get_column_type_vfunc()

GType StripableTreeModel::get_column_type_vfunc ( int  index) const
protected

◆ get_flags_vfunc()

Gtk::TreeModelFlags StripableTreeModel::get_flags_vfunc ( ) const
protected

◆ get_iter_vfunc()

bool StripableTreeModel::get_iter_vfunc ( const Path &  path,
iterator &  iter 
) const
protected

◆ get_n_columns_vfunc()

int StripableTreeModel::get_n_columns_vfunc ( ) const
protected

◆ get_path_vfunc()

Path StripableTreeModel::get_path_vfunc ( const iterator &  iter) const
protected

◆ get_value_vfunc()

void StripableTreeModel::get_value_vfunc ( const TreeModel::iterator &  iter,
int  column,
Glib::ValueBase &  value 
) const
protected

◆ iter_children_vfunc()

bool StripableTreeModel::iter_children_vfunc ( const iterator &  parent,
iterator &  iter 
) const
protected

◆ iter_has_child_vfunc()

bool StripableTreeModel::iter_has_child_vfunc ( const iterator &  iter) const
protected

◆ iter_is_valid()

bool StripableTreeModel::iter_is_valid ( const iterator &  iter) const
protected

◆ iter_n_children_vfunc()

int StripableTreeModel::iter_n_children_vfunc ( const iterator &  iter) const
protected

◆ iter_n_root_children_vfunc()

int StripableTreeModel::iter_n_root_children_vfunc ( ) const
protected

◆ iter_next_vfunc()

bool StripableTreeModel::iter_next_vfunc ( const iterator &  iter,
iterator &  iter_next 
) const
protected

◆ iter_nth_child_vfunc()

bool StripableTreeModel::iter_nth_child_vfunc ( const iterator &  parent,
int  n,
iterator &  iter 
) const
protected

◆ iter_nth_root_child_vfunc()

bool StripableTreeModel::iter_nth_root_child_vfunc ( int  n,
iterator &  iter 
) const
protected

◆ iter_parent_vfunc()

bool StripableTreeModel::iter_parent_vfunc ( const iterator &  child,
iterator &  iter 
) const
protected

◆ remember_glue_item()

void StripableTreeModel::remember_glue_item ( Glue ) const
private

◆ set_session()

void StripableTreeModel::set_session ( ARDOUR::Session )

◆ text_value()

void StripableTreeModel::text_value ( std::shared_ptr< ARDOUR::Stripable stripable,
Glib::ValueBase &  value 
) const
private

Member Data Documentation

◆ _session

ARDOUR::Session* StripableTreeModel::_session
private

Definition at line 114 of file stripable_treemodel.h.

◆ axis_view_provider

AxisViewProvider& StripableTreeModel::axis_view_provider
private

Definition at line 115 of file stripable_treemodel.h.

◆ columns

Columns StripableTreeModel::columns

Definition at line 111 of file stripable_treemodel.h.

◆ glue_list

GlueList StripableTreeModel::glue_list
mutableprivate

Definition at line 129 of file stripable_treemodel.h.

◆ n_columns

int StripableTreeModel::n_columns
private

Definition at line 117 of file stripable_treemodel.h.


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