Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::NS_MCU::DeviceInfo Class Reference

#include <device_info.h>

Public Types

enum  DeviceType {
  MCU = 0x14 , MCXT = 0x15 , LC = 0x10 , LCXT = 0x11 ,
  HUI = 0x5
}
 
typedef std::map< Button::ID, GlobalButtonInfoGlobalButtonsInfo
 
typedef std::map< Button::ID, StripButtonInfoStripButtonsInfo
 

Public Member Functions

 DeviceInfo ()
 
 ~DeviceInfo ()
 
int set_state (const XMLNode &, int version)
 
DeviceType device_type () const
 
uint32_t strip_cnt () const
 
uint32_t extenders () const
 
uint32_t master_position () const
 
bool has_two_character_display () const
 
bool has_master_fader () const
 
bool has_timecode_display () const
 
bool has_global_controls () const
 
bool has_jog_wheel () const
 
bool has_touch_sense_faders () const
 
bool uses_ipmidi () const
 
bool no_handshake () const
 
bool is_qcon () const
 
bool is_platformMp () const
 
bool is_proG2 () const
 
bool is_xtouch () const
 
bool has_qcon_second_lcd () const
 
bool has_qcon_master_meters () const
 
bool has_meters () const
 
bool has_separate_meters () const
 
bool single_fader_follows_selection () const
 
const std::string & name () const
 
std::string & get_global_button_name (Button::ID)
 
GlobalButtonInfoget_global_button (Button::ID)
 
const GlobalButtonsInfoglobal_buttons () const
 
const StripButtonsInfostrip_buttons () const
 

Static Public Member Functions

static void reload_device_info ()
 

Static Public Attributes

static std::map< std::string, DeviceInfodevice_info
 

Private Member Functions

void logic_control_buttons ()
 
void mackie_control_buttons ()
 
void shared_buttons ()
 

Private Attributes

uint32_t _strip_cnt
 
uint32_t _extenders
 
uint32_t _master_position
 
bool _has_two_character_display
 
bool _has_master_fader
 
bool _has_timecode_display
 
bool _has_global_controls
 
bool _has_jog_wheel
 
bool _has_touch_sense_faders
 
bool _uses_logic_control_buttons
 
bool _uses_ipmidi
 
bool _no_handshake
 
bool _is_qcon
 
bool _is_platformMp
 
bool _is_proG2
 
bool _is_xtouch
 
bool _has_qcon_second_lcd
 
bool _has_qcon_master_meters
 
bool _has_meters
 
bool _has_separate_meters
 
bool _single_fader_follows_selection
 
DeviceType _device_type
 
std::string _name
 
std::string _global_button_name
 
GlobalButtonsInfo _global_buttons
 
StripButtonsInfo _strip_buttons
 

Detailed Description

Definition at line 54 of file mackie/device_info.h.

Member Typedef Documentation

◆ GlobalButtonsInfo

◆ StripButtonsInfo

Member Enumeration Documentation

◆ DeviceType

Enumerator
MCU 
MCXT 
LC 
LCXT 
HUI 

Definition at line 57 of file mackie/device_info.h.

Constructor & Destructor Documentation

◆ DeviceInfo()

ArdourSurface::NS_MCU::DeviceInfo::DeviceInfo ( )

◆ ~DeviceInfo()

ArdourSurface::NS_MCU::DeviceInfo::~DeviceInfo ( )

Member Function Documentation

◆ device_type()

DeviceType ArdourSurface::NS_MCU::DeviceInfo::device_type ( ) const
inline

Definition at line 70 of file mackie/device_info.h.

◆ extenders()

uint32_t ArdourSurface::NS_MCU::DeviceInfo::extenders ( ) const

◆ get_global_button()

GlobalButtonInfo& ArdourSurface::NS_MCU::DeviceInfo::get_global_button ( Button::ID  )

◆ get_global_button_name()

std::string& ArdourSurface::NS_MCU::DeviceInfo::get_global_button_name ( Button::ID  )

◆ global_buttons()

const GlobalButtonsInfo& ArdourSurface::NS_MCU::DeviceInfo::global_buttons ( ) const
inline

Definition at line 102 of file mackie/device_info.h.

◆ has_global_controls()

bool ArdourSurface::NS_MCU::DeviceInfo::has_global_controls ( ) const

◆ has_jog_wheel()

bool ArdourSurface::NS_MCU::DeviceInfo::has_jog_wheel ( ) const

◆ has_master_fader()

bool ArdourSurface::NS_MCU::DeviceInfo::has_master_fader ( ) const

◆ has_meters()

bool ArdourSurface::NS_MCU::DeviceInfo::has_meters ( ) const

◆ has_qcon_master_meters()

bool ArdourSurface::NS_MCU::DeviceInfo::has_qcon_master_meters ( ) const

◆ has_qcon_second_lcd()

bool ArdourSurface::NS_MCU::DeviceInfo::has_qcon_second_lcd ( ) const

◆ has_separate_meters()

bool ArdourSurface::NS_MCU::DeviceInfo::has_separate_meters ( ) const

◆ has_timecode_display()

bool ArdourSurface::NS_MCU::DeviceInfo::has_timecode_display ( ) const

◆ has_touch_sense_faders()

bool ArdourSurface::NS_MCU::DeviceInfo::has_touch_sense_faders ( ) const

◆ has_two_character_display()

bool ArdourSurface::NS_MCU::DeviceInfo::has_two_character_display ( ) const

◆ is_platformMp()

bool ArdourSurface::NS_MCU::DeviceInfo::is_platformMp ( ) const

◆ is_proG2()

bool ArdourSurface::NS_MCU::DeviceInfo::is_proG2 ( ) const

◆ is_qcon()

bool ArdourSurface::NS_MCU::DeviceInfo::is_qcon ( ) const

◆ is_xtouch()

bool ArdourSurface::NS_MCU::DeviceInfo::is_xtouch ( ) const

◆ logic_control_buttons()

void ArdourSurface::NS_MCU::DeviceInfo::logic_control_buttons ( )
private

◆ mackie_control_buttons()

void ArdourSurface::NS_MCU::DeviceInfo::mackie_control_buttons ( )
private

◆ master_position()

uint32_t ArdourSurface::NS_MCU::DeviceInfo::master_position ( ) const

◆ name()

const std::string& ArdourSurface::NS_MCU::DeviceInfo::name ( ) const

◆ no_handshake()

bool ArdourSurface::NS_MCU::DeviceInfo::no_handshake ( ) const

◆ reload_device_info()

static void ArdourSurface::NS_MCU::DeviceInfo::reload_device_info ( )
static

◆ set_state()

int ArdourSurface::NS_MCU::DeviceInfo::set_state ( const XMLNode ,
int  version 
)

◆ shared_buttons()

void ArdourSurface::NS_MCU::DeviceInfo::shared_buttons ( )
private

◆ single_fader_follows_selection()

bool ArdourSurface::NS_MCU::DeviceInfo::single_fader_follows_selection ( ) const

◆ strip_buttons()

const StripButtonsInfo& ArdourSurface::NS_MCU::DeviceInfo::strip_buttons ( ) const
inline

Definition at line 103 of file mackie/device_info.h.

◆ strip_cnt()

uint32_t ArdourSurface::NS_MCU::DeviceInfo::strip_cnt ( ) const

◆ uses_ipmidi()

bool ArdourSurface::NS_MCU::DeviceInfo::uses_ipmidi ( ) const

Member Data Documentation

◆ _device_type

DeviceType ArdourSurface::NS_MCU::DeviceInfo::_device_type
private

Definition at line 127 of file mackie/device_info.h.

◆ _extenders

uint32_t ArdourSurface::NS_MCU::DeviceInfo::_extenders
private

Definition at line 107 of file mackie/device_info.h.

◆ _global_button_name

std::string ArdourSurface::NS_MCU::DeviceInfo::_global_button_name
private

Definition at line 129 of file mackie/device_info.h.

◆ _global_buttons

GlobalButtonsInfo ArdourSurface::NS_MCU::DeviceInfo::_global_buttons
private

Definition at line 131 of file mackie/device_info.h.

◆ _has_global_controls

bool ArdourSurface::NS_MCU::DeviceInfo::_has_global_controls
private

Definition at line 112 of file mackie/device_info.h.

◆ _has_jog_wheel

bool ArdourSurface::NS_MCU::DeviceInfo::_has_jog_wheel
private

Definition at line 113 of file mackie/device_info.h.

◆ _has_master_fader

bool ArdourSurface::NS_MCU::DeviceInfo::_has_master_fader
private

Definition at line 110 of file mackie/device_info.h.

◆ _has_meters

bool ArdourSurface::NS_MCU::DeviceInfo::_has_meters
private

Definition at line 124 of file mackie/device_info.h.

◆ _has_qcon_master_meters

bool ArdourSurface::NS_MCU::DeviceInfo::_has_qcon_master_meters
private

Definition at line 123 of file mackie/device_info.h.

◆ _has_qcon_second_lcd

bool ArdourSurface::NS_MCU::DeviceInfo::_has_qcon_second_lcd
private

Definition at line 122 of file mackie/device_info.h.

◆ _has_separate_meters

bool ArdourSurface::NS_MCU::DeviceInfo::_has_separate_meters
private

Definition at line 125 of file mackie/device_info.h.

◆ _has_timecode_display

bool ArdourSurface::NS_MCU::DeviceInfo::_has_timecode_display
private

Definition at line 111 of file mackie/device_info.h.

◆ _has_touch_sense_faders

bool ArdourSurface::NS_MCU::DeviceInfo::_has_touch_sense_faders
private

Definition at line 114 of file mackie/device_info.h.

◆ _has_two_character_display

bool ArdourSurface::NS_MCU::DeviceInfo::_has_two_character_display
private

Definition at line 109 of file mackie/device_info.h.

◆ _is_platformMp

bool ArdourSurface::NS_MCU::DeviceInfo::_is_platformMp
private

Definition at line 119 of file mackie/device_info.h.

◆ _is_proG2

bool ArdourSurface::NS_MCU::DeviceInfo::_is_proG2
private

Definition at line 120 of file mackie/device_info.h.

◆ _is_qcon

bool ArdourSurface::NS_MCU::DeviceInfo::_is_qcon
private

Definition at line 118 of file mackie/device_info.h.

◆ _is_xtouch

bool ArdourSurface::NS_MCU::DeviceInfo::_is_xtouch
private

Definition at line 121 of file mackie/device_info.h.

◆ _master_position

uint32_t ArdourSurface::NS_MCU::DeviceInfo::_master_position
private

Definition at line 108 of file mackie/device_info.h.

◆ _name

std::string ArdourSurface::NS_MCU::DeviceInfo::_name
private

Definition at line 128 of file mackie/device_info.h.

◆ _no_handshake

bool ArdourSurface::NS_MCU::DeviceInfo::_no_handshake
private

Definition at line 117 of file mackie/device_info.h.

◆ _single_fader_follows_selection

bool ArdourSurface::NS_MCU::DeviceInfo::_single_fader_follows_selection
private

Definition at line 126 of file mackie/device_info.h.

◆ _strip_buttons

StripButtonsInfo ArdourSurface::NS_MCU::DeviceInfo::_strip_buttons
private

Definition at line 132 of file mackie/device_info.h.

◆ _strip_cnt

uint32_t ArdourSurface::NS_MCU::DeviceInfo::_strip_cnt
private

Definition at line 106 of file mackie/device_info.h.

◆ _uses_ipmidi

bool ArdourSurface::NS_MCU::DeviceInfo::_uses_ipmidi
private

Definition at line 116 of file mackie/device_info.h.

◆ _uses_logic_control_buttons

bool ArdourSurface::NS_MCU::DeviceInfo::_uses_logic_control_buttons
private

Definition at line 115 of file mackie/device_info.h.

◆ device_info

std::map<std::string,DeviceInfo> ArdourSurface::NS_MCU::DeviceInfo::device_info
static

Definition at line 93 of file mackie/device_info.h.


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