Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::M2MapMk2 Class Reference

#include <m2_map_mk2.h>

Inheritance diagram for ArdourSurface::M2MapMk2:
[legend]

Public Member Functions

 M2MapMk2 ()
 
M2ButtonInterfacebutton (PhysicalButtonId id, Modifier m)
 
M2ButtonInterfacebutton (SemanticButtonId id)
 
M2EncoderInterfaceencoder (unsigned int id)
 
M2PadInterfacepad (unsigned int id)
 
- Public Member Functions inherited from ArdourSurface::M2Contols
 M2Contols ()
 
virtual ~M2Contols ()
 

Private Attributes

PhysicalMap pmap [2]
 
SematicMap smap
 
M2Button tr [5]
 
M2StatelessButton ts [6]
 
M2Button mst [4]
 
M2Button save
 
M2Button undoredo [2]
 
M2Button sm [2]
 
M2StatelessButton panic
 
M2Encoder enc_master
 
M2Encoder enc_top [8]
 
M2Pad pads [16]
 

Additional Inherited Members

- Public Types inherited from ArdourSurface::M2Contols
enum  Modifier { ModNone = 0 , ModShift }
 
enum  PhysicalButtonId {
  BtnRestart , BtnStepLeft , BtnStepRight , BtnGrid ,
  BtnPlay , BtnRec , BtnErase , BtnShift ,
  BtnScene , BtnPattern , BtnPadMode , BtnNavigate ,
  BtnDuplicate , BtnSelect , BtnSolo , BtnMute ,
  BtnControl , BtnStep , BtnBrowse , BtnSampling ,
  BtnSelLeft , BtnSelRight , BtnAll , BtnAuto ,
  BtnVolume , BtnSwing , BtnTempo , BtnNavLeft ,
  BtnNavRight , BtnEnter , BtnNoteRepeat , BtnWheel ,
  BtnTop0 , BtnTop1 , BtnTop2 , BtnTop3 ,
  BtnTop4 , BtnTop5 , BtnTop6 , BtnTop7 ,
  BtnGroupA , BtnGroupB , BtnGroupC , BtnGroupD ,
  BtnGroupE , BtnGroupF , BtnGroupG , BtnGroupH ,
  BtnCopy , BtnPaste , BtnNote , BtnNudge ,
  BtnUndo , BtnRedo , BtnQuantize , BtnClear ,
  BtnIn1 , BtnIn2 , BtnIn3 , BtnIn4 ,
  BtnMst , BtnGrp , BtnSnd , BtnCue
}
 
enum  SemanticButtonId {
  Play , Rec , Loop , Metronom ,
  GotoStart , GotoEnd , JumpBackward , JumpForward ,
  FastRewind , FastForward , Grid , Delete ,
  Undo , Redo , Save , EncoderWheel ,
  MasterVolume , MasterTempo , Scene , Pattern ,
  PadMode , Navigate , Duplicate , Select ,
  Solo , Mute , Panic
}
 
typedef std::map< PhysicalButtonId, M2ButtonInterface * > PhysicalMap
 
typedef std::map< SemanticButtonId, M2ButtonInterface * > SematicMap
 
- Protected Attributes inherited from ArdourSurface::M2Contols
M2ButtonInterface _dummy_button
 
M2EncoderInterface _dummy_encoder
 
M2PadInterface _dummy_pad
 
M2ToggleHoldButton _shift
 

Detailed Description

Definition at line 26 of file m2_map_mk2.h.

Constructor & Destructor Documentation

◆ M2MapMk2()

ArdourSurface::M2MapMk2::M2MapMk2 ( )

Member Function Documentation

◆ button() [1/2]

M2ButtonInterface* ArdourSurface::M2MapMk2::button ( PhysicalButtonId  id,
Modifier  m 
)
virtual

Reimplemented from ArdourSurface::M2Contols.

◆ button() [2/2]

M2ButtonInterface* ArdourSurface::M2MapMk2::button ( SemanticButtonId  id)
virtual

Reimplemented from ArdourSurface::M2Contols.

◆ encoder()

M2EncoderInterface* ArdourSurface::M2MapMk2::encoder ( unsigned int  id)
virtual

Reimplemented from ArdourSurface::M2Contols.

◆ pad()

M2PadInterface* ArdourSurface::M2MapMk2::pad ( unsigned int  id)
virtual

Reimplemented from ArdourSurface::M2Contols.

Member Data Documentation

◆ enc_master

M2Encoder ArdourSurface::M2MapMk2::enc_master
private

Definition at line 51 of file m2_map_mk2.h.

◆ enc_top

M2Encoder ArdourSurface::M2MapMk2::enc_top[8]
private

Definition at line 52 of file m2_map_mk2.h.

◆ mst

M2Button ArdourSurface::M2MapMk2::mst[4]
private

Definition at line 43 of file m2_map_mk2.h.

◆ pads

M2Pad ArdourSurface::M2MapMk2::pads[16]
private

Definition at line 54 of file m2_map_mk2.h.

◆ panic

M2StatelessButton ArdourSurface::M2MapMk2::panic
private

Definition at line 49 of file m2_map_mk2.h.

◆ pmap

PhysicalMap ArdourSurface::M2MapMk2::pmap[2]
private

Definition at line 37 of file m2_map_mk2.h.

◆ save

M2Button ArdourSurface::M2MapMk2::save
private

Definition at line 45 of file m2_map_mk2.h.

◆ sm

M2Button ArdourSurface::M2MapMk2::sm[2]
private

Definition at line 48 of file m2_map_mk2.h.

◆ smap

SematicMap ArdourSurface::M2MapMk2::smap
private

Definition at line 38 of file m2_map_mk2.h.

◆ tr

M2Button ArdourSurface::M2MapMk2::tr[5]
private

Definition at line 40 of file m2_map_mk2.h.

◆ ts

M2StatelessButton ArdourSurface::M2MapMk2::ts[6]
private

Definition at line 41 of file m2_map_mk2.h.

◆ undoredo

M2Button ArdourSurface::M2MapMk2::undoredo[2]
private

Definition at line 47 of file m2_map_mk2.h.


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