MCPcopy Create free account
hub / github.com/FastLED/FastLED / asController

Method asController

src/fl/channels/channel.h:129–129  ·  view source on GitHub ↗

@brief Get pointer to base CLEDController for linked list traversal

Source from the content-addressed store, hash-verified

127
128 /// @brief Get pointer to base CLEDController for linked list traversal
129 CLEDController* asController() { return static_cast<CLEDController*>(this); }
130 const CLEDController* asController() const { return static_cast<const CLEDController*>(this); }
131
132 /// @brief Get the LED array as a span (non-const)

Callers 3

FL_TEST_FILEFunction · 0.80
controllerInListFunction · 0.80
FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected