FastLED 3.9.15
Loading...
Searching...
No Matches
ichannel.h File Reference

Detailed Description

Type-erased base for the templated Channel<Bus, Chipset> family.

IChannel is the non-template polymorphic anchor that ChannelEvents callbacks and other consumers receive. Concrete channels (today: Channel; after Phase 3b: Channel<Bus, Chipset>) inherit from this base so a single callback signature works regardless of which template instantiation produced the channel.

The surface is intentionally minimal — only the identifiers callbacks need to distinguish one channel from another. Anything richer should be on the concrete Channel class. See issue #2428.

Definition in file ichannel.h.

#include "fl/stl/noexcept.h"
#include "fl/stl/stdint.h"
#include "fl/stl/string.h"
+ Include dependency graph for ichannel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fl::IChannel
 Polymorphic identification base for any channel in the system. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.