Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
module;
#include <concepts>
#include <cstdint>
export module Driver.BrightnessDriverConcept;
import Driver.DriverComponent;
export namespace Driver::Concepts
{
/**
* @concept BrightnessDriverConcept
* @brief Defines requirements for display brightness control drivers
*/
template <typename T>
concept BrightnessDriverConcept =
std::derived_from<T, DriverComponent> &&
requires(T driver, std::uint8_t brightness) {
{ driver.setBrightness(brightness) } noexcept -> std::same_as<bool>;
};
}a38f6f2eaThis file is pinned to the selected release. Download the original to open it in your design tool.