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

#include <m2_pad.h>

Inheritance diagram for ArdourSurface::M2PadInterface:
[legend]

Public Member Functions

 M2PadInterface ()
 
virtual ~M2PadInterface ()
 
virtual uint16_t value () const
 
virtual float pressure () const
 
virtual void set_color (uint32_t rgba)
 
virtual void set_value (uint16_t v)
 
virtual void color (uint8_t &r, uint8_t &g, uint8_t &b) const
 

Public Attributes

PBD::Signal< void(float)> pressed
 
PBD::Signal< void()> released
 
PBD::Signal< void(float)> aftertouch
 
PBD::Signal< void(float, bool)> event
 
PBD::Signal< void(float)> changed
 

Detailed Description

Definition at line 29 of file m2_pad.h.

Constructor & Destructor Documentation

◆ M2PadInterface()

ArdourSurface::M2PadInterface::M2PadInterface ( )
inline

Definition at line 32 of file m2_pad.h.

◆ ~M2PadInterface()

virtual ArdourSurface::M2PadInterface::~M2PadInterface ( )
inlinevirtual

Definition at line 33 of file m2_pad.h.

Member Function Documentation

◆ color()

virtual void ArdourSurface::M2PadInterface::color ( uint8_t &  r,
uint8_t &  g,
uint8_t &  b 
) const
inlinevirtual

Reimplemented in ArdourSurface::M2Pad.

Definition at line 49 of file m2_pad.h.

◆ pressure()

virtual float ArdourSurface::M2PadInterface::pressure ( ) const
inlinevirtual

Reimplemented in ArdourSurface::M2Pad.

Definition at line 43 of file m2_pad.h.

◆ set_color()

virtual void ArdourSurface::M2PadInterface::set_color ( uint32_t  rgba)
inlinevirtual

Reimplemented in ArdourSurface::M2Pad.

Definition at line 44 of file m2_pad.h.

◆ set_value()

virtual void ArdourSurface::M2PadInterface::set_value ( uint16_t  v)
inlinevirtual

Reimplemented in ArdourSurface::M2Pad.

Definition at line 47 of file m2_pad.h.

◆ value()

virtual uint16_t ArdourSurface::M2PadInterface::value ( ) const
inlinevirtual

Reimplemented in ArdourSurface::M2Pad.

Definition at line 42 of file m2_pad.h.

Member Data Documentation

◆ aftertouch

PBD::Signal<void(float)> ArdourSurface::M2PadInterface::aftertouch

Definition at line 38 of file m2_pad.h.

◆ changed

PBD::Signal<void(float)> ArdourSurface::M2PadInterface::changed

Definition at line 40 of file m2_pad.h.

◆ event

PBD::Signal<void(float, bool)> ArdourSurface::M2PadInterface::event

Definition at line 39 of file m2_pad.h.

◆ pressed

PBD::Signal<void(float)> ArdourSurface::M2PadInterface::pressed

Definition at line 36 of file m2_pad.h.

◆ released

PBD::Signal<void()> ArdourSurface::M2PadInterface::released

Definition at line 37 of file m2_pad.h.


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