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