43#if defined(FASTLED_DISABLE_CHANNEL_EVENTS) && FASTLED_DISABLE_CHANNEL_EVENTS
51struct NoOpChannelEvent {
52 template <
typename... Args>
64 static ChannelEvents s;
Transmission data for a single LED channel.
Minimal interface for LED channel transmission drivers.
Polymorphic identification base for any channel in the system.
Compile-time linker keep-alive hook for a single fl::Bus.
float add(float &a, float &b)
Iterator remove(Iterator first, Iterator last, const T &value) FL_NOEXCEPT
Base definition for an LED controller.
Configuration for a single LED channel.
fl::function_list< void(const IChannel &, const fl::string &driverName)> onChannelEnqueued
Fired after channel data is enqueued to a driver Second parameter is the driver name (empty string fo...
fl::function_list< void(const IChannel &)> onChannelCreated
Fired after a Channel is constructed via Channel::create()
fl::function_list< void(const IChannel &)> onChannelBeginDestroy
Fired at the start of ~Channel(), before members are torn down.
fl::function_list< void(const IChannel &, const ChannelData &)> onChannelDataEncoded
Fired after pixel data is encoded into byte stream (before enqueuing) Second parameter is the encoded...
fl::function_list< void(const IChannel &)> onChannelAdded
Fired after a Channel is added to FastLED's controller list.
fl::function_list< void(const IChannel &, const ChannelConfig &)> onChannelConfigured
Fired after applyConfig() reconfigures a Channel.
fl::function_list< void(const IChannel &)> onChannelRemoved
Fired after a Channel is removed from FastLED's controller list.
static ChannelEvents & instance()
Singleton event router for Channel lifecycle events.