ardour
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ARDOUR::InstrumentInfo Class Reference

#include <instrument_info.h>

Public Member Functions

 InstrumentInfo ()
 
 ~InstrumentInfo ()
 
void set_external_instrument (const std::string &model, const std::string &mode)
 
void set_internal_instrument (boost::shared_ptr< ARDOUR::Processor >)
 
std::string get_patch_name (uint16_t bank, uint8_t program, uint8_t channel) const
 
std::string get_controller_name (Evoral::Parameter param) const
 
std::string get_instrument_name () const
 
boost::shared_ptr
< MIDI::Name::ChannelNameSet > 
get_patches (uint8_t channel)
 

Static Public Member Functions

static const
MIDI::Name::PatchNameList
general_midi_patches ()
 

Public Attributes

PBD::Signal0< void > Changed
 

Private Member Functions

boost::shared_ptr
< MIDI::Name::ChannelNameSet > 
plugin_programs_to_channel_name_set (boost::shared_ptr< Processor > p)
 
std::string get_plugin_patch_name (boost::shared_ptr< ARDOUR::Processor >, uint16_t bank, uint8_t program, uint8_t channel) const
 

Private Attributes

std::string external_instrument_model
 
std::string external_instrument_mode
 
boost::weak_ptr
< ARDOUR::Processor
internal_instrument
 

Static Private Attributes

static MIDI::Name::PatchNameList _gm_patches
 

Detailed Description

Definition at line 46 of file instrument_info.h.

Constructor & Destructor Documentation

InstrumentInfo::InstrumentInfo ( )

Definition at line 40 of file instrument_info.cc.

InstrumentInfo::~InstrumentInfo ( )

Definition at line 45 of file instrument_info.cc.

Member Function Documentation

const MIDI::Name::PatchNameList & InstrumentInfo::general_midi_patches ( )
static

Definition at line 208 of file instrument_info.cc.

string InstrumentInfo::get_controller_name ( Evoral::Parameter  param) const

Definition at line 108 of file instrument_info.cc.

string InstrumentInfo::get_instrument_name ( ) const

Definition at line 68 of file instrument_info.cc.

string InstrumentInfo::get_patch_name ( uint16_t  bank,
uint8_t  program,
uint8_t  channel 
) const

Definition at line 83 of file instrument_info.cc.

boost::shared_ptr< MIDI::Name::ChannelNameSet > InstrumentInfo::get_patches ( uint8_t  channel)

Definition at line 139 of file instrument_info.cc.

string InstrumentInfo::get_plugin_patch_name ( boost::shared_ptr< ARDOUR::Processor p,
uint16_t  bank,
uint8_t  program,
uint8_t  channel 
) const
private

Definition at line 220 of file instrument_info.cc.

boost::shared_ptr< MIDI::Name::ChannelNameSet > InstrumentInfo::plugin_programs_to_channel_name_set ( boost::shared_ptr< Processor p)
private

Definition at line 157 of file instrument_info.cc.

void InstrumentInfo::set_external_instrument ( const std::string &  model,
const std::string &  mode 
)

Definition at line 50 of file instrument_info.cc.

void InstrumentInfo::set_internal_instrument ( boost::shared_ptr< ARDOUR::Processor p)

Definition at line 59 of file instrument_info.cc.

Member Data Documentation

MIDI::Name::PatchNameList InstrumentInfo::_gm_patches
staticprivate

Definition at line 73 of file instrument_info.h.

PBD::Signal0<void> ARDOUR::InstrumentInfo::Changed

Definition at line 60 of file instrument_info.h.

std::string ARDOUR::InstrumentInfo::external_instrument_mode
private

Definition at line 66 of file instrument_info.h.

std::string ARDOUR::InstrumentInfo::external_instrument_model
private

Definition at line 65 of file instrument_info.h.

boost::weak_ptr<ARDOUR::Processor> ARDOUR::InstrumentInfo::internal_instrument
private

Definition at line 68 of file instrument_info.h.


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