C

Monitor: Verifying the Rendering Output

/**************************************************************************** ** ** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Safe Renderer module ** ** $QT_BEGIN_LICENSE:COMM$ ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see https://www.qt.io/terms-conditions. For further ** information use the contact form at https://www.qt.io/contact-us. ** ** $QT_END_LICENSE$ ** ** ** ** ** ** ** ** ****************************************************************************/
#ifndef MESSAGE_H #define MESSAGE_H #include <stdint.h> #include "qsafeglobal.h" enum EventId { EventUndefined = 0U, EventSetVisibility, EventSetPosition, EventHeartbeatUpdate, EventHeartbeatTimeout, EventConnectEventToState, EventChangeLayout, EventSystemStateChange, EventSetText, EventSetColor, EventChangeState, EventAnimationTick, EventWindowUpdateRequest, EventOutputVerificationRequest, EventOutputVerificationStatusRequest, EventOutputVerificationStatusReply, /* polyspace MISRA-C:5.1 [Not a defect:Low] "The code has been manually verified to be OK" */ EventOutputVerificationVerifyItem, EventQuit, LastEventID }; struct qsrVerifyPayload { quint32 itemId; quint32 displayCrc; quint32 stateId; quint32 inTransition; }; /* The following message structures are padded to 128 bytes with 0x0 */ struct eventOutputVerificationStatusReply { quint32 eventId; quint32 count; quint32 variantId; quint32 datapadding; /*add padding to match the data size to 128 bytes.*/ struct qsrVerifyPayload payload[]; /* polyspace MISRA-C:1.1 [Not a defect:Low] "The code has been manually verified to be OK" */ }; struct eventOutputVerificationRequest { quint32 eventId; /* polyspace MISRA-C:5.7 [Not a defect:Low] "The code has been manually verified to be OK" */ }; struct eventOutputVerificationVerifyItem { quint32 eventId; /* polyspace MISRA-C:5.7 [Not a defect:Low] "The code has been manually verified to be OK" */ quint32 itemId; /* polyspace MISRA-C:5.7 [Not a defect:Low] "The code has been manually verified to be OK" */ }; struct eventChangeState { quint32 eventId; /* polyspace MISRA-C:5.7 [Not a defect:Low] "The code has been manually verified to be OK" */ quint32 itemId; /* polyspace MISRA-C:5.7 [Not a defect:Low] "The code has been manually verified to be OK" */ quint32 value; }; #endif