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

#include <midnam_patch.h>

Public Types

typedef std::map< uint16_t, std::shared_ptr< Control > > Controls
 

Public Member Functions

 ControlNameList ()
 
 ControlNameList (const std::string &name)
 
const std::string & name () const
 
void set_name (const std::string &name)
 
std::shared_ptr< const Controlcontrol (uint16_t num) const
 
const Controlscontrols () const
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

std::string _name
 
Controls _controls
 

Detailed Description

Definition at line 355 of file midnam_patch.h.

Member Typedef Documentation

◆ Controls

typedef std::map<uint16_t, std::shared_ptr<Control> > MIDI::Name::ControlNameList::Controls

Definition at line 358 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ ControlNameList() [1/2]

MIDI::Name::ControlNameList::ControlNameList ( )
inline

Definition at line 360 of file midnam_patch.h.

◆ ControlNameList() [2/2]

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

Definition at line 361 of file midnam_patch.h.

Member Function Documentation

◆ control()

std::shared_ptr<const Control> MIDI::Name::ControlNameList::control ( uint16_t  num) const

◆ controls()

const Controls& MIDI::Name::ControlNameList::controls ( ) const
inline

Definition at line 369 of file midnam_patch.h.

◆ get_state()

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

◆ name()

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

Definition at line 363 of file midnam_patch.h.

◆ set_name()

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

Definition at line 365 of file midnam_patch.h.

◆ set_state()

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

Member Data Documentation

◆ _controls

Controls MIDI::Name::ControlNameList::_controls
private

Definition at line 376 of file midnam_patch.h.

◆ _name

std::string MIDI::Name::ControlNameList::_name
private

Definition at line 375 of file midnam_patch.h.


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