6#include <proto/main.pb.h>
9#include <entity/base.h>
10#include <lucidac/front_panel.h>
12platform::LUCIDACFrontPanel::LUCIDACFrontPanel(interfaces::SignalGenerator * hardware)
14 leds(std::make_unique<NativeLEDs>()),
15 signal_generator(hardware) {}
17platform::LUCIDACFrontPanel *
18platform::LUCIDACFrontPanel::from_entity_classifier(entities::EntityClassifier classifier,
19 __attribute__((__unused__)) bus::addr_t block_address) {
20 if (!classifier or classifier.class_enum != CLASS_)
23 return new LUCIDACFrontPanel(
new NativeSignalGenerator());