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

Method getEngineName

src/fl/channels/channel.cpp.hpp:794–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794fl::string Channel::getEngineName() const {
795 // Lock the weak_ptr to get a shared_ptr
796 auto driver = mDriver.lock();
797 if (driver) {
798 return driver->getName();
799 }
800 return fl::string(); // Return empty string if no driver bound
801}
802
803Channel& Channel::setScreenMap(const fl::XYMap& map, float diameter) {
804 fl::ScreenMap screenmap = map.toScreenMap();

Callers 3

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
channel.cppFile · 0.45

Calls 3

stringClass · 0.50
lockMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected