QSafeEventHeartbeat Class

class SafeRenderer::QSafeEventHeartbeat

The QSafeEventHeartbeat class represents the keepalive message from non-safe to 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

Member Function Documentation

void QSafeEventHeartbeat::setTimeout(const SafeRenderer::quint32 valueArg)

Sets the timeout for sending the heart beat message. valueArg is the timemout when the next heart beat message should be sent.

In case of a failure, the following exception will be thrown:

SafeRenderer::QSafeEvent::OutOfBoundsThe 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.