author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Tue, 03 Dec 2024 21:26:52 +0100 | |
changeset 4058 | 5472b88bbc9d |
permissions | -rw-r--r-- |
4058
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
/* |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
* Generated by erpcgen 1.13.0 on Fri Nov 22 15:03:08 2024. |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
* |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
* AUTOGENERATED - DO NOT EDIT |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
*/ |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
#if !defined(_erpc_PLCObject_interface_hpp_) |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
#define _erpc_PLCObject_interface_hpp_ |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
#include "erpc_PLCObject_common.hpp" |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
namespace erpcShim |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
{ |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
// Abstract base class for BeremizPLCObjectService |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
class BeremizPLCObjectService_interface |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
{ |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
public: |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
static const uint8_t m_serviceId = 1; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
static const uint8_t m_AppendChunkToBlobId = 1; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
23 |
static const uint8_t m_GetLogMessageId = 2; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
24 |
static const uint8_t m_GetPLCIDId = 3; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |
static const uint8_t m_GetPLCstatusId = 4; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
26 |
static const uint8_t m_GetTraceVariablesId = 5; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
27 |
static const uint8_t m_MatchMD5Id = 6; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
28 |
static const uint8_t m_NewPLCId = 7; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
29 |
static const uint8_t m_PurgeBlobsId = 8; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
30 |
static const uint8_t m_RepairPLCId = 9; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
31 |
static const uint8_t m_ResetLogCountId = 10; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
32 |
static const uint8_t m_SeedBlobId = 11; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
33 |
static const uint8_t m_SetTraceVariablesListId = 12; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
34 |
static const uint8_t m_StartPLCId = 13; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
35 |
static const uint8_t m_StopPLCId = 14; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
36 |
static const uint8_t m_ExtendedCallId = 15; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
37 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
38 |
virtual ~BeremizPLCObjectService_interface(void); |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
39 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
40 |
virtual uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
41 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
42 |
virtual uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
43 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
44 |
virtual uint32_t GetPLCID(PSKID * plcID) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
45 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
46 |
virtual uint32_t GetPLCstatus(PLCstatus * status) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
47 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
48 |
virtual uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
49 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
50 |
virtual uint32_t MatchMD5(const char * MD5, bool * match) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
51 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
52 |
virtual uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
53 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
54 |
virtual uint32_t PurgeBlobs(void) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
55 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
56 |
virtual uint32_t RepairPLC(void) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
57 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
58 |
virtual uint32_t ResetLogCount(void) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
59 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
60 |
virtual uint32_t SeedBlob(const binary_t * seed, binary_t * blobID) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
61 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
62 |
virtual uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
63 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
64 |
virtual uint32_t StartPLC(void) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
65 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
66 |
virtual uint32_t StopPLC(bool * success) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
67 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
68 |
virtual uint32_t ExtendedCall(const char * method, const binary_t * argument, binary_t * answer) = 0; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
69 |
private: |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
70 |
}; |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
71 |
} // erpcShim |
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
72 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
73 |
|
5472b88bbc9d
C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
74 |
#endif // _erpc_PLCObject_interface_hpp_ |