Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::LaunchControlXL::ControllerButton Struct Reference

#include <launch_control_xl.h>

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

Public Member Functions

 ControllerButton (ButtonID id, uint8_t cn, std::function< void()> press, std::function< void()> release, std::function< void()> long_release)
 
uint8_t controller_number () const
 
- Public Member Functions inherited from ArdourSurface::LaunchControlXL::Button
 Button (ButtonID id, std::function< void()> press, std::function< void()> release, std::function< void()> long_press)
 
virtual ~Button ()
 
ButtonID id () const
 

Private Attributes

uint8_t _controller_number
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::LaunchControlXL::Button
std::function< void()> press_method
 
std::function< void()> release_method
 
std::function< void()> long_press_method
 
sigc::connection timeout_connection
 
- Protected Attributes inherited from ArdourSurface::LaunchControlXL::Button
ButtonID _id
 

Detailed Description

Definition at line 227 of file launch_control_xl.h.

Constructor & Destructor Documentation

◆ ControllerButton()

ArdourSurface::LaunchControlXL::ControllerButton::ControllerButton ( ButtonID  id,
uint8_t  cn,
std::function< void()>  press,
std::function< void()>  release,
std::function< void()>  long_release 
)
inline

Definition at line 228 of file launch_control_xl.h.

Member Function Documentation

◆ controller_number()

uint8_t ArdourSurface::LaunchControlXL::ControllerButton::controller_number ( ) const
inline

Definition at line 236 of file launch_control_xl.h.

Member Data Documentation

◆ _controller_number

uint8_t ArdourSurface::LaunchControlXL::ControllerButton::_controller_number
private

Definition at line 239 of file launch_control_xl.h.


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