2025-08-28 09:39:59 +08:00
|
|
|
//
|
|
|
|
|
// Created by lgv on 2025/8/25.
|
|
|
|
|
//
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "device_manager/device_manager.h"
|
2025-09-01 16:24:08 +08:00
|
|
|
#include "cmvr/api/hlc_service.grpc.pb.h"
|
2025-08-28 09:39:59 +08:00
|
|
|
|
|
|
|
|
namespace cmvr {
|
|
|
|
|
namespace service {
|
2025-09-01 16:24:08 +08:00
|
|
|
class gRPCHlcServiceImpl final : public api::HlcService::Service {
|
2025-08-28 09:39:59 +08:00
|
|
|
public:
|
2025-09-01 16:24:08 +08:00
|
|
|
gRPCHlcServiceImpl();
|
|
|
|
|
~gRPCHlcServiceImpl() = default;
|
2025-08-28 09:39:59 +08:00
|
|
|
grpc::Status touch(grpc::ServerContext *context, const cmvr::api::Touch_Request *request, cmvr::api::Touch_Response *response) override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
device::DeviceManager& dmgr_;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|