C
QSafeEventHeartbeat Class
class SafeRenderer::QSafeEventHeartbeatThe QSafeEventHeartbeat class represents the keepalive message from the non-safe side to the safe side. More...
Header: | #include <QSafeEventHeartbeat> |
Since: | QtSafeRenderer 1.0 |
Inherits: | SafeRenderer::QSafeEvent |
This class was introduced in QtSafeRenderer 1.0.
Public Functions
void | setTimeout(const SafeRenderer::quint32 valueArg) |
SafeRenderer::quint32 | timeout() const |
Detailed Description
The QSafeEventHeartbeat class represents the keepalive message from the non-safe side to the safe side.
Member Function Documentation
void QSafeEventHeartbeat::setTimeout(const SafeRenderer::quint32 valueArg)
Sets the timeout for sending the heart beat message. valueArg is the timeout in milliseconds (ms) when the next heart beat message should be sent.
In case of a failure, the following exception will be thrown:
Constant | Description |
---|---|
SafeRenderer::QSafeEvent::OutOfBounds | The offset of the data goes out of the reserved memory area. |
See also timeout().
SafeRenderer::quint32 QSafeEventHeartbeat::timeout() const
Returns the event's timeout value.
See also setTimeout().
Available under certain Qt licenses.
Find out more.