AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
Loading...
Searching...
No Matches
non_send_action.h
Go to the documentation of this file.
1
#pragma once
2
#include "
action.h
"
3
#include "
i_led_controller.h
"
4
11
class
LEDBlinkAction
:
public
Action
12
{
13
private
:
14
ILEDController
& led;
15
uint32_t blinkCount;
16
uint32_t blinkDuration;
18
public
:
26
LEDBlinkAction
(
ILEDController
& led, uint32_t blinkCount = 3, uint32_t blinkDuration = 200);
27
33
void
execute
()
override
;
34
40
bool
isSendAction
()
const override
{
return
false
; }
41
};
action.h
Action
Base class for all pedal actions.
Definition
action.h:12
ILEDController
Interface for LED control functionality.
Definition
i_led_controller.h:12
LEDBlinkAction
Example of a non-send action that blinks an LED.
Definition
non_send_action.h:12
LEDBlinkAction::execute
void execute() override
Executes the LED blink action.
Definition
non_send_action.cpp:11
LEDBlinkAction::isSendAction
bool isSendAction() const override
Checks if this action is a send action.
Definition
non_send_action.h:40
i_led_controller.h
lib
PedalLogic
include
non_send_action.h
Generated by
1.9.8