C_runtime/service/erpc_PLCObject_client.hpp
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 03 Dec 2024 21:26:52 +0100
changeset 4058 5472b88bbc9d
permissions -rw-r--r--
C runtime: move generated erpc interface in separate "service" directory
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_client_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_client_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_interface.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
#include "erpc_client_manager.h"
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
namespace erpcShim
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
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    18
class BeremizPLCObjectService_client: public 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
        BeremizPLCObjectService_client(erpc::ClientManager *manager);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    22
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    23
        virtual ~BeremizPLCObjectService_client();
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    24
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    25
        virtual uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    26
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    27
        virtual uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    28
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    29
        virtual uint32_t GetPLCID(PSKID * plcID);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    30
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    31
        virtual uint32_t GetPLCstatus(PLCstatus * status);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    32
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    33
        virtual uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    34
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    35
        virtual uint32_t MatchMD5(const char * MD5, bool * match);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    36
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    37
        virtual uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    38
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    39
        virtual uint32_t PurgeBlobs(void);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    40
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    41
        virtual uint32_t RepairPLC(void);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    42
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    43
        virtual uint32_t ResetLogCount(void);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    44
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    45
        virtual uint32_t SeedBlob(const binary_t * seed, binary_t * blobID);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    46
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    47
        virtual uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    48
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    49
        virtual uint32_t StartPLC(void);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    50
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    51
        virtual uint32_t StopPLC(bool * success);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    52
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    53
        virtual uint32_t ExtendedCall(const char * method, const binary_t * argument, binary_t * answer);
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    54
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    55
    protected:
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    56
        erpc::ClientManager *m_clientManager;
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
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    59
} // erpcShim
5472b88bbc9d C runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    60
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
#endif // _erpc_PLCObject_client_hpp_