24 explicit Profile(std::string name);
32 void addAction(uint8_t button, std::unique_ptr<Action> action);
47 const std::string&
getName()
const;
65 std::string description;
66 std::array<std::unique_ptr<Action>,
MAX_BUTTONS> actions;
Base class for all pedal actions.
Represents a single button configuration profile.
void addAction(uint8_t button, std::unique_ptr< Action > action)
Adds an action to a specific button in this profile.
const std::string & getDescription() const
Gets the description of this profile.
void setDescription(const std::string &description)
Sets the description of this profile.
Action * getAction(uint8_t button) const
Gets the action associated with a button in this profile.
static constexpr uint8_t MAX_BUTTONS
Maximum buttons per profile (A–Z)
const std::string & getName() const
Gets the name of this profile.