|
libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
|
C++20 concept defining the Driver interface contract. More...
#include "epaper/core/errors.hpp"#include "epaper/drivers/driver.hpp"#include <concepts>#include <cstddef>#include <expected>#include <span>

Go to the source code of this file.
Namespaces | |
| namespace | epaper |
Concepts | |
| concept | epaper::Driver |
C++20 concept defining the Driver interface contract.
Uses modern C++ concepts to specify the required interface for display drivers. Provides compile-time validation that driver implementations satisfy the contract.
Design Philosophy:
Benefits Over Virtual Interfaces:
Required Driver Interface:
Movability Requirement:
std::movable (no manual resource management for move)Validation Example: