Ardour  8.7-13-g8ab7c05382
ArdourSurface::US2400::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 no_handshake () const
 
bool has_meters () const
 
bool has_separate_meters () const
 
bool us2400 () 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 us2400_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 _no_handshake
 
bool _has_meters
 
bool _has_separate_meters
 
bool _us2400
 
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 us2400/device_info.h.

Member Typedef Documentation

◆ GlobalButtonsInfo

◆ StripButtonsInfo

Member Enumeration Documentation

◆ DeviceType

Enumerator
MCU 
MCXT 
LC 
LCXT 
HUI 

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

Constructor & Destructor Documentation

◆ DeviceInfo()

ArdourSurface::US2400::DeviceInfo::DeviceInfo ( )

◆ ~DeviceInfo()

ArdourSurface::US2400::DeviceInfo::~DeviceInfo ( )

Member Function Documentation

◆ device_type()

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

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

◆ extenders()

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

◆ get_global_button()

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

◆ get_global_button_name()

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

◆ global_buttons()

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

Definition at line 95 of file us2400/device_info.h.

◆ has_global_controls()

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

◆ has_jog_wheel()

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

◆ has_master_fader()

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

◆ has_meters()

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

◆ has_separate_meters()

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

◆ has_timecode_display()

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

◆ has_touch_sense_faders()

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

◆ has_two_character_display()

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

◆ logic_control_buttons()

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

◆ master_position()

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

◆ name()

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

◆ no_handshake()

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

◆ reload_device_info()

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

◆ set_state()

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

◆ shared_buttons()

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

◆ strip_buttons()

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

Definition at line 96 of file us2400/device_info.h.

◆ strip_cnt()

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

◆ us2400()

bool ArdourSurface::US2400::DeviceInfo::us2400 ( ) const
inline

Definition at line 83 of file us2400/device_info.h.

◆ us2400_control_buttons()

void ArdourSurface::US2400::DeviceInfo::us2400_control_buttons ( )
private

Member Data Documentation

◆ _device_type

DeviceType ArdourSurface::US2400::DeviceInfo::_device_type
private

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

◆ _extenders

uint32_t ArdourSurface::US2400::DeviceInfo::_extenders
private

Definition at line 100 of file us2400/device_info.h.

◆ _global_button_name

std::string ArdourSurface::US2400::DeviceInfo::_global_button_name
private

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

◆ _global_buttons

GlobalButtonsInfo ArdourSurface::US2400::DeviceInfo::_global_buttons
private

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

◆ _has_global_controls

bool ArdourSurface::US2400::DeviceInfo::_has_global_controls
private

Definition at line 105 of file us2400/device_info.h.

◆ _has_jog_wheel

bool ArdourSurface::US2400::DeviceInfo::_has_jog_wheel
private

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

◆ _has_master_fader

bool ArdourSurface::US2400::DeviceInfo::_has_master_fader
private

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

◆ _has_meters

bool ArdourSurface::US2400::DeviceInfo::_has_meters
private

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

◆ _has_separate_meters

bool ArdourSurface::US2400::DeviceInfo::_has_separate_meters
private

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

◆ _has_timecode_display

bool ArdourSurface::US2400::DeviceInfo::_has_timecode_display
private

Definition at line 104 of file us2400/device_info.h.

◆ _has_touch_sense_faders

bool ArdourSurface::US2400::DeviceInfo::_has_touch_sense_faders
private

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

◆ _has_two_character_display

bool ArdourSurface::US2400::DeviceInfo::_has_two_character_display
private

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

◆ _master_position

uint32_t ArdourSurface::US2400::DeviceInfo::_master_position
private

Definition at line 101 of file us2400/device_info.h.

◆ _name

std::string ArdourSurface::US2400::DeviceInfo::_name
private

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

◆ _no_handshake

bool ArdourSurface::US2400::DeviceInfo::_no_handshake
private

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

◆ _strip_buttons

StripButtonsInfo ArdourSurface::US2400::DeviceInfo::_strip_buttons
private

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

◆ _strip_cnt

uint32_t ArdourSurface::US2400::DeviceInfo::_strip_cnt
private

Definition at line 99 of file us2400/device_info.h.

◆ _us2400

bool ArdourSurface::US2400::DeviceInfo::_us2400
private

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

◆ _uses_logic_control_buttons

bool ArdourSurface::US2400::DeviceInfo::_uses_logic_control_buttons
private

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

◆ device_info

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

Definition at line 86 of file us2400/device_info.h.


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