Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::FP8::FP8MomentaryButton Class Reference

#include <fp8_button.h>

Inheritance diagram for ArdourSurface::FP8::FP8MomentaryButton:
[legend]

Public Member Functions

 FP8MomentaryButton (FP8Base &b, uint8_t id)
 
 ~FP8MomentaryButton ()
 
void set_active (bool a)
 
void reset ()
 
void ignore_release ()
 
bool midi_event (bool a)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonBase
 FP8ButtonBase (FP8Base &b)
 
bool is_pressed () const
 
bool is_active () const
 
bool blinking () const
 
void set_blinking (bool yes)
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8ButtonInterface
 FP8ButtonInterface ()
 
virtual ~FP8ButtonInterface ()
 
virtual void set_color (uint32_t rgba)
 

Public Attributes

PBD::Signal< void(bool)> StateChange
 
- Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
PBD::Signal< void()> pressed
 
PBD::Signal< void()> released
 

Protected Member Functions

void blink (bool onoff)
 

Protected Attributes

uint8_t _midi_id
 
bool _momentaty
 
bool _was_active_on_press
 
- Protected Attributes inherited from ArdourSurface::FP8::FP8ButtonBase
FP8Base_base
 
bool _pressed
 
bool _active
 
bool _ignore_release
 
uint32_t _rgba
 

Private Member Functions

bool hold_timeout ()
 

Private Attributes

sigc::connection _hold_connection
 

Additional Inherited Members

- Static Public Attributes inherited from ArdourSurface::FP8::FP8ButtonInterface
static bool force_change
 

Detailed Description

Definition at line 364 of file fp8_button.h.

Constructor & Destructor Documentation

◆ FP8MomentaryButton()

ArdourSurface::FP8::FP8MomentaryButton::FP8MomentaryButton ( FP8Base b,
uint8_t  id 
)
inline

Definition at line 367 of file fp8_button.h.

◆ ~FP8MomentaryButton()

ArdourSurface::FP8::FP8MomentaryButton::~FP8MomentaryButton ( )
inline

Definition at line 372 of file fp8_button.h.

Member Function Documentation

◆ blink()

void ArdourSurface::FP8::FP8MomentaryButton::blink ( bool  onoff)
inlineprotectedvirtual

Implements ArdourSurface::FP8::FP8ButtonBase.

Definition at line 427 of file fp8_button.h.

◆ hold_timeout()

bool ArdourSurface::FP8::FP8MomentaryButton::hold_timeout ( )
inlineprivate

Definition at line 441 of file fp8_button.h.

◆ ignore_release()

void ArdourSurface::FP8::FP8MomentaryButton::ignore_release ( )
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonBase.

Definition at line 393 of file fp8_button.h.

◆ midi_event()

bool ArdourSurface::FP8::FP8MomentaryButton::midi_event ( bool  a)
inlinevirtual

Reimplemented from ArdourSurface::FP8::FP8ButtonBase.

Definition at line 395 of file fp8_button.h.

◆ reset()

void ArdourSurface::FP8::FP8MomentaryButton::reset ( )
inline

Definition at line 387 of file fp8_button.h.

◆ set_active()

void ArdourSurface::FP8::FP8MomentaryButton::set_active ( bool  a)
inlinevirtual

Implements ArdourSurface::FP8::FP8ButtonInterface.

Definition at line 378 of file fp8_button.h.

Member Data Documentation

◆ _hold_connection

sigc::connection ArdourSurface::FP8::FP8MomentaryButton::_hold_connection
private

Definition at line 446 of file fp8_button.h.

◆ _midi_id

uint8_t ArdourSurface::FP8::FP8MomentaryButton::_midi_id
protected

Definition at line 436 of file fp8_button.h.

◆ _momentaty

bool ArdourSurface::FP8::FP8MomentaryButton::_momentaty
protected

Definition at line 437 of file fp8_button.h.

◆ _was_active_on_press

bool ArdourSurface::FP8::FP8MomentaryButton::_was_active_on_press
protected

Definition at line 438 of file fp8_button.h.

◆ StateChange

PBD::Signal<void(bool)> ArdourSurface::FP8::FP8MomentaryButton::StateChange

Definition at line 376 of file fp8_button.h.


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