FastLED 3.9.15
Loading...
Searching...
No Matches

◆ canHandle()

virtual bool fl::IChannelDriver::canHandle ( const ChannelDataPtr & data) const
pure virtual

Check if this driver can handle the given channel data.

Parameters
dataChannel data to check (chipset configuration, pin, timing)
Returns
true if this driver can render the channel data, false otherwise
Note
Drivers must implement this to filter by chipset type (e.g., SPI-only, clockless-only)
Used by ChannelManager to route channels to compatible drivers

Implemented in fl::anonymous_namespace{channel.cpp.hpp}::StubChannelEngine, and fl::SpiChannelEngineAdapter.

References canHandle(), FL_NOEXCEPT, waitForReady(), and waitForReadyOrDraining().

Referenced by canHandle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: