Ardour  9.0-pre0-427-gd2a3450e2f
ArdourSurface::LaunchControlXL::Button Struct Reference

#include <launch_control_xl.h>

Inheritance diagram for ArdourSurface::LaunchControlXL::Button:
[legend]

Public Member Functions

 Button (ButtonID id, std::function< void()> press, std::function< void()> release, std::function< void()> long_press)
 
virtual ~Button ()
 
ButtonID id () const
 

Public Attributes

std::function< void()> press_method
 
std::function< void()> release_method
 
std::function< void()> long_press_method
 
sigc::connection timeout_connection
 

Protected Attributes

ButtonID _id
 

Detailed Description

Definition at line 205 of file launch_control_xl.h.

Constructor & Destructor Documentation

◆ Button()

ArdourSurface::LaunchControlXL::Button::Button ( ButtonID  id,
std::function< void()>  press,
std::function< void()>  release,
std::function< void()>  long_press 
)
inline

Definition at line 206 of file launch_control_xl.h.

◆ ~Button()

virtual ArdourSurface::LaunchControlXL::Button::~Button ( )
inlinevirtual

Definition at line 213 of file launch_control_xl.h.

Member Function Documentation

◆ id()

ButtonID ArdourSurface::LaunchControlXL::Button::id ( ) const
inline

Definition at line 215 of file launch_control_xl.h.

Member Data Documentation

◆ _id

ButtonID ArdourSurface::LaunchControlXL::Button::_id
protected

Definition at line 224 of file launch_control_xl.h.

◆ long_press_method

std::function<void ()> ArdourSurface::LaunchControlXL::Button::long_press_method

Definition at line 219 of file launch_control_xl.h.

◆ press_method

std::function<void ()> ArdourSurface::LaunchControlXL::Button::press_method

Definition at line 217 of file launch_control_xl.h.

◆ release_method

std::function<void ()> ArdourSurface::LaunchControlXL::Button::release_method

Definition at line 218 of file launch_control_xl.h.

◆ timeout_connection

sigc::connection ArdourSurface::LaunchControlXL::Button::timeout_connection

Definition at line 221 of file launch_control_xl.h.


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