25struct fmt::formatter<blunux::pmu::IndicatorsSetpoint> {
32 template <
typename ParseContext>
34 constexpr auto parse(ParseContext& ctx) {
45 template <
typename FormatContext>
47 FormatContext& ctx)
const {
48 return fmt::format_to(ctx.out(),
"g: {} y: {} o: {} r: {}", data.
green,
60inline std::ostream& operator<<(std::ostream& os,
62 return os << fmt::format(
"{}", data);
Structure representing setpoint values for indicators.
Definition IndicatorsSetpoint.hpp:13
bool red
Status of the red indicator LED.
Definition IndicatorsSetpoint.hpp:17
bool green
Status of the green indicator LED.
Definition IndicatorsSetpoint.hpp:14
bool yellow
Status of the yellow indicator LED.
Definition IndicatorsSetpoint.hpp:15
bool orange
Status of the orange indicator LED.
Definition IndicatorsSetpoint.hpp:16