File GenericDataOperations_PcToEvb_server.h
File List > includes-api > GenericDataOperations_PcToEvb_server.h
Go to the documentation of this file
/*
* Generated by erpcgen 1.9.1 on Fri Sep 9 09:53:34 2022.
*
* AUTOGENERATED - DO NOT EDIT
*/
#if !defined(_GenericDataOperations_PcToEvb_server_h_)
#define _GenericDataOperations_PcToEvb_server_h_
#ifdef __cplusplus
#include "erpc_codec.hpp"
#include "erpc_server.hpp"
extern "C" {
#include "GenericDataOperations_PcToEvb.h"
#include <stdbool.h>
#include <stdint.h>
}
#if 10901 != ERPC_VERSION_NUMBER
#error "The generated shim code version is different to the rest of eRPC code."
#endif
class pc_to_evb_service : public erpc::Service {
public:
pc_to_evb_service() : Service(kpc_to_evb_service_id) {}
virtual erpc_status_t
handleInvocation(uint32_t methodId, uint32_t sequence, erpc::Codec *codec,
erpc::MessageBufferFactory *messageFactory);
private:
erpc_status_t
ns_rpc_data_sendBlockToEVB_shim(erpc::Codec *codec, erpc::MessageBufferFactory *messageFactory,
uint32_t sequence);
erpc_status_t
ns_rpc_data_fetchBlockFromEVB_shim(erpc::Codec *codec,
erpc::MessageBufferFactory *messageFactory,
uint32_t sequence);
erpc_status_t
ns_rpc_data_computeOnEVB_shim(erpc::Codec *codec, erpc::MessageBufferFactory *messageFactory,
uint32_t sequence);
};
extern "C" {
#else
#include "GenericDataOperations_PcToEvb.h"
#endif // __cplusplus
typedef void *erpc_service_t;
erpc_service_t
create_pc_to_evb_service(void);
#if ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_DYNAMIC
void
destroy_pc_to_evb_service(erpc_service_t service);
#elif ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_STATIC
void
destroy_pc_to_evb_service(void);
#else
#warning "Unknown eRPC allocation policy!"
#endif
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _GenericDataOperations_PcToEvb_server_h_