Ardour  8.7-14-g57a6773833
ActionManager::ActionModel Class Reference

#include <action_model.h>

Classes

struct  Columns
 

Public Member Functions

const Glib::RefPtr< Gtk::TreeStoremodel () const
 
const Gtk::TreeModelColumn< std::string > & name () const
 
const Gtk::TreeModelColumn< std::string > & path () const
 
const Columnscolumns () const
 
void build_action_combo (Gtk::ComboBox &cb, std::string const &current_action) const
 
void build_custom_action_combo (Gtk::ComboBox &cb, const std::vector< std::pair< std::string, std::string > > &actions, const std::string &current_action) const
 

Static Public Member Functions

static const ActionModelinstance ()
 

Private Member Functions

 ActionModel ()
 
bool find_action_in_model (const Gtk::TreeModel::iterator &iter, std::string const &action_path, Gtk::TreeModel::iterator *found) const
 

Private Attributes

const Columns _columns
 
Glib::RefPtr< Gtk::TreeStore_model
 

Detailed Description

Definition at line 40 of file action_model.h.

Constructor & Destructor Documentation

◆ ActionModel()

ActionManager::ActionModel::ActionModel ( )
private

Member Function Documentation

◆ build_action_combo()

void ActionManager::ActionModel::build_action_combo ( Gtk::ComboBox cb,
std::string const &  current_action 
) const

◆ build_custom_action_combo()

void ActionManager::ActionModel::build_custom_action_combo ( Gtk::ComboBox cb,
const std::vector< std::pair< std::string, std::string > > &  actions,
const std::string &  current_action 
) const

◆ columns()

const Columns& ActionManager::ActionModel::columns ( ) const
inline

Definition at line 59 of file action_model.h.

◆ find_action_in_model()

bool ActionManager::ActionModel::find_action_in_model ( const Gtk::TreeModel::iterator iter,
std::string const &  action_path,
Gtk::TreeModel::iterator found 
) const
private

◆ instance()

static const ActionModel& ActionManager::ActionModel::instance ( )
static

◆ model()

const Glib::RefPtr<Gtk::TreeStore> ActionManager::ActionModel::model ( ) const
inline

Definition at line 45 of file action_model.h.

◆ name()

const Gtk::TreeModelColumn<std::string>& ActionManager::ActionModel::name ( ) const
inline

Definition at line 47 of file action_model.h.

◆ path()

const Gtk::TreeModelColumn<std::string>& ActionManager::ActionModel::path ( ) const
inline

Definition at line 48 of file action_model.h.

Member Data Documentation

◆ _columns

const Columns ActionManager::ActionModel::_columns
private

Definition at line 71 of file action_model.h.

◆ _model

Glib::RefPtr<Gtk::TreeStore> ActionManager::ActionModel::_model
private

Definition at line 72 of file action_model.h.


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