Ardour  8.7-15-gadf511264b
ArdourSurface::LaunchControlXL::Button Struct Reference

#include <launch_control_xl.h>

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

Public Member Functions

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

Public Attributes

boost::function< void()> press_method
 
boost::function< void()> release_method
 
boost::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,
boost::function< void()>  press,
boost::function< void()>  release,
boost::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

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

Definition at line 219 of file launch_control_xl.h.

◆ press_method

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

Definition at line 217 of file launch_control_xl.h.

◆ release_method

boost::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: