代码拉取完成,页面将自动刷新
/*
* Generated by erpcgen 1.9.1 on Fri Jul 29 09:33:29 2022.
*
* AUTOGENERATED - DO NOT EDIT
*/
#if !defined(_hello_server_h_)
#define _hello_server_h_
#ifdef __cplusplus
#include "erpc_server.h"
#include "erpc_codec.h"
extern "C"
{
#include "hello.h"
#include <stdint.h>
#include <stdbool.h>
}
#if 10901 != ERPC_VERSION_NUMBER
#error "The generated shim code version is different to the rest of eRPC code."
#endif
/*!
* @brief Service subclass for Hello.
*/
class Hello_service : public erpc::Service
{
public:
Hello_service() : Service(kHello_service_id) {}
/*! @brief Call the correct server shim based on method unique ID. */
virtual erpc_status_t handleInvocation(uint32_t methodId, uint32_t sequence, erpc::Codec * codec, erpc::MessageBufferFactory *messageFactory);
private:
/*! @brief Server shim for sayHello of Hello interface. */
erpc_status_t sayHello_shim(erpc::Codec * codec, erpc::MessageBufferFactory *messageFactory, uint32_t sequence);
};
extern "C" {
#else
#include "hello.h"
#endif // __cplusplus
typedef void * erpc_service_t;
erpc_service_t create_Hello_service(void);
#if ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_DYNAMIC
void destroy_Hello_service(erpc_service_t service);
#elif ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_STATIC
void destroy_Hello_service(void);
#else
#warning "Unknown eRPC allocation policy!"
#endif
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _hello_server_h_
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。