Xenomai runtime: report and mitigate when PLC cycle overruns.
Side effect :
_Log* macro was changed in plc_Xenomai_main.c,
and fixed in plc_Linux_main.c
/*
* Generated by erpcgen 1.11.0 on Wed Mar 27 13:43:44 2024.
*
* AUTOGENERATED - DO NOT EDIT
*/
#if !defined(_erpc_PLCObject_client_hpp_)
#define _erpc_PLCObject_client_hpp_
#include "erpc_PLCObject_interface.hpp"
#include "erpc_client_manager.h"
namespace erpcShim
{
class BeremizPLCObjectService_client: public BeremizPLCObjectService_interface
{
public:
BeremizPLCObjectService_client(erpc::ClientManager *manager);
virtual ~BeremizPLCObjectService_client();
virtual uint32_t AppendChunkToBlob(const binary_t * data, const binary_t * blobID, binary_t * newBlobID);
virtual uint32_t GetLogMessage(uint8_t level, uint32_t msgID, log_message * message);
virtual uint32_t GetPLCID(PSKID * plcID);
virtual uint32_t GetPLCstatus(PLCstatus * status);
virtual uint32_t GetTraceVariables(uint32_t debugToken, TraceVariables * traces);
virtual uint32_t MatchMD5(const char * MD5, bool * match);
virtual uint32_t NewPLC(const char * md5sum, const binary_t * plcObjectBlobID, const list_extra_file_1_t * extrafiles, bool * success);
virtual uint32_t PurgeBlobs(void);
virtual uint32_t RepairPLC(void);
virtual uint32_t ResetLogCount(void);
virtual uint32_t SeedBlob(const binary_t * seed, binary_t * blobID);
virtual uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, uint32_t * debugtoken);
virtual uint32_t StartPLC(void);
virtual uint32_t StopPLC(bool * success);
protected:
erpc::ClientManager *m_clientManager;
};
} // erpcShim
#endif // _erpc_PLCObject_client_hpp_