REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
mode_manual.h
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3//
4// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
5
6#pragma once
7
8#include "protocol/handler.h"
9
10#include "mode/mode.h"
11#include "run/manager.h"
12
13namespace msg {
14
15namespace handlers {
16
29class ManualControlHandler : public MessageHandler {
30public:
31 utils::status replyWithObject(const Request& req, JsonObject &msg_out) override {
32 return mode::ManualControl::user_handle(req.msg_in, msg_out);
33 }
34};
35
36} // namespace handlers
37
38} // namespace msg
Message handler that allows manual IC/OP/HALT state control.
Definition mode_manual.h:29
utils::status replyWithObject(const Request &req, JsonObject &msg_out) override
Definition mode_manual.h:31
Definition carrier.h:10