C

MISRVerifier Class

class SafeRenderer::MISRVerifier

The MISRVerifier class provides the output verifier implementation for the Qualcomm Snapdragon board. More...

Header: #include <MISRVerifier>
Since: QtSafeRenderer 2.0
Inherits: SafeRenderer::OutputVerifierInterface

Public Functions

MISRVerifier(SafeRenderer::OpenWFDFrameBuffer &frameBufferArg)
void readRoi()
void setupRoi()

Reimplemented Public Functions

virtual void verifyOutput() override

Detailed Description

Implements the OutputVerifierInterface abstract interface for the Qualcomm Snapdragon Snapdragon board. The implementation uses the OpenWFD extension to read the CRC value from MISR device.

Member Function Documentation

[explicit] MISRVerifier::MISRVerifier(SafeRenderer::OpenWFDFrameBuffer &frameBufferArg)

Constructs a MISR verifier object with a frameBuffer. frameBuffer is the implementation of the AbstractFrameBuffer for the Open WFD API. outputVerifierArg is the reference to the OutputVerifier instance.

void MISRVerifier::readRoi()

Reads the ROI calculation results back from the wfd API and adds the ROI region with the received CRC value to the verification results.

void MISRVerifier::setupRoi()

Fetches the ROI regions from verificationQueue and sets them for validation by using WFD API.

Throws SafeRenderer::OutputVerifierException with id SafeRenderer::OutputVerifierException::OutputVerifierExceptionId::FailedToSetRoiInfo if setting the ROI region information fails in wfd API.

[override virtual] void MISRVerifier::verifyOutput()

Verifies the CRC values for the regions in verificationQueue.

Available under certain Qt licenses.
Find out more.