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

Method JsonButtonImpl

src/platforms/shared/ui/json/button.cpp.hpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41JsonButtonImpl::JsonButtonImpl(const string &name) FL_NOEXCEPT {
42 // Create an instance of the new internal class
43 mInternal = fl::make_shared<JsonUiButtonInternal>(name, false);
44
45 // Register the component with the JsonUiManager
46 addJsonUiComponent(mInternal);
47 mUpdater.init(this);
48}
49
50JsonButtonImpl::~JsonButtonImpl() {
51 // Ensure the component is removed from the global registry

Callers

nothing calls this directly

Calls 2

addJsonUiComponentFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected