cmvr_head/applications/erpc/service/include/head_service_impl.h

25 lines
507 B
C
Raw Normal View History

2025-12-24 18:28:20 +08:00
//
// Created by Administrator on 2025/12/24.
//
#ifndef RTTHREAD_HEAD_SERVICE_IMPL_H
#define RTTHREAD_HEAD_SERVICE_IMPL_H
#include <stdint.h>
#include "erpc/proto/generated/head_service_interface.hpp"
class HeadServiceImpl : public erpcShim::demo_interface
{
public:
HeadServiceImpl() = default;
virtual ~HeadServiceImpl() = default;
// 实现你 .erpc 里定义的方法(这里只举例 add
int32_t add(int32_t a, int32_t b) override;
};
#endif //RTTHREAD_HEAD_SERVICE_IMPL_H