C

QSafeEventHeartbeat 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

Public Functions

QSafeEventHeartbeat()
QSafeEventHeartbeat(const QSafeEvent &baseEvent)
void setTimeout(const quint32 valueArg)
quint32 timeout() const

Additional Inherited Members

Detailed Description

The QSafeEventHeartbeat class represents the keepalive message from non-safe to safe side.

Member Function Documentation

QSafeEventHeartbeat::QSafeEventHeartbeat()

Default constructs an instance of QSafeEventHeartbeat.

QSafeEventHeartbeat::QSafeEventHeartbeat(const QSafeEvent &baseEvent)

Default constructs an instance of QSafeEventHeartbeat.

void QSafeEventHeartbeat::setTimeout(const 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:

ConstantDescription
SafeRenderer::QSafeEvent::OutOfBoundsThe offset of the data goes out of the reserved memory area.

See also timeout().

quint32 QSafeEventHeartbeat::timeout() const

Returns the event's timeout value.

See also setTimeout().

Available under certain Qt licenses.
Find out more.