2#include <bugui/hardware/protocol/protocol.hpp>
3#include <bugui/concepts/device.hpp>
14template <has_clear Device>
16 :
virtual protocol<component<Device, class Device::clear>>
19 void component_reset()
21 this->send([](
auto& formater)
24 (
array_like<
decltype(Device::clear::message())>)
25 for (
const auto& m : Device::clear::message())
28 formater.add(Device::clear::message());
35template <clear_component Component>
40 void component_reset()
42 this->send([](
auto& formater)
45 (
array_like<
decltype(Component::clear_t::message())>)
46 for (
const auto& m : Component::clear_t::message())
49 formater.add(Component::clear_t::message());
Empty struct for devices or componants that do not provide a command to clear all feedback (LED's,...
Definition clear.hpp:10
Inherits from different protocols, depending on the device's specification.
Definition protocol.hpp:13