C_runtime/erpc_PLCObject_interface.hpp
author Edouard Tisserant <edouard@beremiz.fr>
Tue, 17 Sep 2024 11:17:24 +0200
changeset 4014 da52eabd0e6d
parent 3946 8815b44be31e
child 4032 1ffff67678ad
permissions -rw-r--r--
MQTT: Update available type choices when data types are changed in the IDE
/*
 * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024.
 *
 * AUTOGENERATED - DO NOT EDIT
 */


#if !defined(_erpc_PLCObject_interface_hpp_)
#define _erpc_PLCObject_interface_hpp_

#include "erpc_PLCObject_common.hpp"

namespace erpcShim
{


// Abstract base class for BeremizPLCObjectService
class BeremizPLCObjectService_interface
{
    public:
        static const uint8_t m_serviceId = 1;
        static const uint8_t m_AppendChunkToBlobId = 1;
        static const uint8_t m_GetLogMessageId = 2;
        static const uint8_t m_GetPLCIDId = 3;
        static const uint8_t m_GetPLCstatusId = 4;
        static const uint8_t m_GetTraceVariablesId = 5;
        static const uint8_t m_MatchMD5Id = 6;
        static const uint8_t m_NewPLCId = 7;
        static const uint8_t m_PurgeBlobsId = 8;
        static const uint8_t m_RepairPLCId = 9;
        static const uint8_t m_ResetLogCountId = 10;
        static const uint8_t m_SeedBlobId = 11;
        static const uint8_t m_SetTraceVariablesListId = 12;
        static const uint8_t m_StartPLCId = 13;
        static const uint8_t m_StopPLCId = 14;

        virtual ~BeremizPLCObjectService_interface(void);

        virtual uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID) = 0;

        virtual uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message) = 0;

        virtual uint32_t GetPLCID(PSKID * plcID) = 0;

        virtual uint32_t GetPLCstatus(PLCstatus * status) = 0;

        virtual uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces) = 0;

        virtual uint32_t MatchMD5(const char * MD5, bool * match) = 0;

        virtual uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success) = 0;

        virtual uint32_t PurgeBlobs(void) = 0;

        virtual uint32_t RepairPLC(void) = 0;

        virtual uint32_t ResetLogCount(void) = 0;

        virtual uint32_t SeedBlob(const binary_t * seed, binary_t * blobID) = 0;

        virtual uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken) = 0;

        virtual uint32_t StartPLC(void) = 0;

        virtual uint32_t StopPLC(bool * success) = 0;
private:
};
} // erpcShim


#endif // _erpc_PLCObject_interface_hpp_