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 |
Public Functions
SafeRenderer::quint32 | heartbeatTimeout() const |
void | setHeartbeatTimeout(const SafeRenderer::quint32 valueArg) |
Detailed Description
The QSafeEventHeartbeat class represents the keepalive message from the non-safe side to the safe side.
Member Function Documentation
SafeRenderer::quint32 QSafeEventHeartbeat::heartbeatTimeout() const
Returns the event's timeout value.
See also setHeartbeatTimeout().
void QSafeEventHeartbeat::setHeartbeatTimeout(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:
Exception | Id | Description |
---|---|---|
SafeRenderer::QSafeEventException | SafeRenderer::QSafeEventException::SafeEventException::OutOfBounds | The offset of the data goes out of the reserved memory area. |
See also heartbeatTimeout().
Available under certain Qt licenses.
Find out more.