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

#include <midnam_patch.h>

Public Member Functions

 Control ()
 
 Control (const std::string &type, const uint16_t number, const std::string &name)
 
const std::string & type () const
 
uint16_t number () const
 
const std::string & name () const
 
const std::string & value_name_list_name () const
 
std::shared_ptr< const ValueNameListvalue_name_list () const
 
void set_type (const std::string &type)
 
void set_number (uint16_t number)
 
void set_name (const std::string &name)
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

std::string _type
 
uint16_t _number
 
std::string _name
 
std::string _value_name_list_name
 Global, UsesValueNameList. More...
 
std::shared_ptr< ValueNameList_value_name_list
 Local, ValueNameList. More...
 

Detailed Description

Definition at line 320 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ Control() [1/2]

MIDI::Name::Control::Control ( )
inline

Definition at line 323 of file midnam_patch.h.

◆ Control() [2/2]

MIDI::Name::Control::Control ( const std::string &  type,
const uint16_t  number,
const std::string &  name 
)
inline

Definition at line 324 of file midnam_patch.h.

Member Function Documentation

◆ get_state()

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

◆ name()

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

Definition at line 334 of file midnam_patch.h.

◆ number()

uint16_t MIDI::Name::Control::number ( ) const
inline

Definition at line 333 of file midnam_patch.h.

◆ set_name()

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

Definition at line 341 of file midnam_patch.h.

◆ set_number()

void MIDI::Name::Control::set_number ( uint16_t  number)
inline

Definition at line 340 of file midnam_patch.h.

◆ set_state()

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

◆ set_type()

void MIDI::Name::Control::set_type ( const std::string &  type)
inline

Definition at line 339 of file midnam_patch.h.

◆ type()

const std::string& MIDI::Name::Control::type ( ) const
inline

Definition at line 332 of file midnam_patch.h.

◆ value_name_list()

std::shared_ptr<const ValueNameList> MIDI::Name::Control::value_name_list ( ) const
inline

Definition at line 337 of file midnam_patch.h.

◆ value_name_list_name()

const std::string& MIDI::Name::Control::value_name_list_name ( ) const
inline

Definition at line 336 of file midnam_patch.h.

Member Data Documentation

◆ _name

std::string MIDI::Name::Control::_name
private

Definition at line 349 of file midnam_patch.h.

◆ _number

uint16_t MIDI::Name::Control::_number
private

Definition at line 348 of file midnam_patch.h.

◆ _type

std::string MIDI::Name::Control::_type
private

Definition at line 347 of file midnam_patch.h.

◆ _value_name_list

std::shared_ptr<ValueNameList> MIDI::Name::Control::_value_name_list
private

Local, ValueNameList.

Definition at line 352 of file midnam_patch.h.

◆ _value_name_list_name

std::string MIDI::Name::Control::_value_name_list_name
private

Global, UsesValueNameList.

Definition at line 351 of file midnam_patch.h.


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