C

<qsrmonitor.h> - Qt Safe Monitor Control

The <qsrmonitor.h> header provides functions to control output verification. More...

Header: #include <qsrmonitor.h>
Since: QtSafeRenderer 2.2

Functions

qint32 addItemToVerification(const quint32 id, const quint32 state)
qint32 verifyOutput(errorFunc errorHandler)

Detailed Description

The <qsrmonitor.h> header provides functions to control output verification.

Function Documentation

qint32 addItemToVerification(const quint32 id, const quint32 state)

Adds the item id to the list of outputs to verify for state. When called, Qt Safe Monitor enqueues the item into a FIFO wait list for output verification. Each item appears at most once in the queue; re-adding an already enqueued item does not change its position. If the item's state changes while it is already queued, the stored state associated with that queue entry is updated in place, but the item's position in the queue remains unchanged. Returns 0 on success; -1 on failure.

qint32 verifyOutput(errorFunc errorHandler)

Triggers verification of the display output. The errorHandler callback is invoked if verification fails. Returns 0 on success; -1 on failure.

Available under certain Qt licenses.
Find out more.