On this page

C

SafeRenderer::OutputVerifierInterface Class

class SafeRenderer::OutputVerifierInterface

The OutputVerifierInterface class provides an API to monitor the graphics output. More...

Header: #include <OutputVerifierInterface>
Since: QtSafeRenderer 2.0
Inherited By:

SafeRenderer::MISRVerifier, SafeRenderer::NXPVerifier, and SafeRenderer::TestVerifier

Public Functions

OutputVerifierInterface(const SafeRenderer::QSafeRect &safeSurfaceRegionArg)
virtual ~OutputVerifierInterface()
void addResult(const SafeRenderer::VerifyRegion &regionArg)
SafeRenderer::VerifyRegion getResult()
SafeRenderer::quint32 resultsCount() const
virtual bool verifyOutput() = 0

Detailed Description

The purpose of the monitor class is to verify that safety-critical information is not corrupted on the display. The verification is based on the CRC calculation of the display output. Common approach is the hardware module which does the CRC calculation for the regions on the screen (Region of Interest, ROI). OutputVerifierInterface is the abstract interface class to wrap the platform-specific functionality.

Member Function Documentation

OutputVerifierInterface::OutputVerifierInterface(const SafeRenderer::QSafeRect &safeSurfaceRegionArg)

Constructs OutputVerifierInterface with the safe elements surface region. The safeSurfaceRegionArg defines the region boundary of the safe elements surface on the screen.

[virtual noexcept] OutputVerifierInterface::~OutputVerifierInterface()

Destruct the OutputVerifier instance.

void OutputVerifierInterface::addResult(const SafeRenderer::VerifyRegion &regionArg)

Adds a new result regionArg to the verification results list.

SafeRenderer::VerifyRegion OutputVerifierInterface::getResult()

Returns the next result from the verification results.

SafeRenderer::quint32 OutputVerifierInterface::resultsCount() const

Returns the count of results in the verification results list.

[pure virtual] bool OutputVerifierInterface::verifyOutput()

Pure virtual method that performs output verification for the queued regions. Implementations should read CRC values from the display hardware for each region of interest that has been queued for verification.

Returns true on success, or false if an error occurred in the adaptation layer when setting the region of interest or reading the values.

Available under certain Qt licenses.
Find out more.