Ardour  9.0-pre0-582-g084a23a80d
MIDI::Name::CustomDeviceMode Class Reference

#include <midnam_patch.h>

Public Member Functions

 CustomDeviceMode ()
 
virtual ~CustomDeviceMode ()
 
const std::string & name () const
 
void set_name (const std::string &name)
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 
const std::string & channel_name_set_name_by_channel (uint8_t channel)
 Note: channel here is 0-based while in the MIDNAM-file it's 1-based. More...
 

Private Attributes

std::string _name
 
std::string _channel_name_set_assignments [16]
 

Detailed Description

Definition at line 379 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ CustomDeviceMode()

MIDI::Name::CustomDeviceMode::CustomDeviceMode ( )
inline

Definition at line 382 of file midnam_patch.h.

◆ ~CustomDeviceMode()

virtual MIDI::Name::CustomDeviceMode::~CustomDeviceMode ( )
inlinevirtual

Definition at line 383 of file midnam_patch.h.

Member Function Documentation

◆ channel_name_set_name_by_channel()

const std::string& MIDI::Name::CustomDeviceMode::channel_name_set_name_by_channel ( uint8_t  channel)
inline

Note: channel here is 0-based while in the MIDNAM-file it's 1-based.

Definition at line 393 of file midnam_patch.h.

◆ get_state()

XMLNode& MIDI::Name::CustomDeviceMode::get_state ( ) const

◆ name()

const std::string& MIDI::Name::CustomDeviceMode::name ( ) const
inline

Definition at line 385 of file midnam_patch.h.

◆ set_name()

void MIDI::Name::CustomDeviceMode::set_name ( const std::string &  name)
inline

Definition at line 386 of file midnam_patch.h.

◆ set_state()

int MIDI::Name::CustomDeviceMode::set_state ( const XMLTree ,
const XMLNode  
)

Member Data Documentation

◆ _channel_name_set_assignments

std::string MIDI::Name::CustomDeviceMode::_channel_name_set_assignments[16]
private

Definition at line 402 of file midnam_patch.h.

◆ _name

std::string MIDI::Name::CustomDeviceMode::_name
private

array index = channel number string contents = name of channel name set

Definition at line 401 of file midnam_patch.h.


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