![]() |
WPILibC++ 2025.3.1
|
A wrapper around a length and an arbitrary reader function that accepts an LED index and returns data for the LED at that index. More...
#include <frc/LEDPattern.h>
Public Member Functions | |
LEDReader (std::function< frc::AddressableLED::LEDData(int)> impl, size_t size) | |
frc::AddressableLED::LEDData | operator[] (size_t index) const |
size_t | size () const |
A wrapper around a length and an arbitrary reader function that accepts an LED index and returns data for the LED at that index.
This configuration allows us to abstract over different container types without templating.
|
inline |
|
inline |
|
inline |