FastLED
3.9.15
Loading...
Searching...
No Matches
ichannel.h
Go to the documentation of this file.
1
#pragma once
2
15
16
#include "
fl/stl/noexcept.h
"
17
#include "
fl/stl/stdint.h
"
18
#include "
fl/stl/string.h
"
// IWYU pragma: keep
19
20
namespace
fl
{
21
23
class
IChannel
{
24
public
:
25
virtual
~IChannel
()
FL_NOEXCEPT
= default;
26
28
virtual i32
id
() const = 0;
29
31
virtual const
fl
::
string
&
name
() const = 0;
32
33
protected:
34
IChannel
()
FL_NOEXCEPT
= default;
35
36
// Non-copyable, non-movable -- concrete channels are owned by shared_ptr.
37
IChannel
(const
IChannel
&)
FL_NOEXCEPT
= delete;
38
IChannel
& operator=(const
IChannel
&)
FL_NOEXCEPT
= delete;
39
IChannel
(
IChannel
&&)
FL_NOEXCEPT
= delete;
40
IChannel
& operator=(
IChannel
&&)
FL_NOEXCEPT
= delete;
41
};
42
43
}
// namespace fl
fl::IChannel::IChannel
IChannel() FL_NOEXCEPT=default
fl::IChannel::name
virtual const fl::string & name() const =0
User-specified or auto-generated name (e.g. "Channel_3").
fl::IChannel::~IChannel
virtual ~IChannel() FL_NOEXCEPT=default
fl
Base definition for an LED controller.
Definition
crgb.hpp:179
noexcept.h
FL_NOEXCEPT
#define FL_NOEXCEPT
stdint.h
string.h
fl
channels
ichannel.h
Generated on Tue Jun 16 2026 00:06:58 for FastLED by
1.13.2