C

QSafeEventSystem Class

class SafeRenderer::QSafeEventSystem

The QSafeEventSystem class sends the system event state change. More...

Header: #include <QSafeEventSystem>
Since: QtSafeRenderer 1.0
Inherits: SafeRenderer::QSafeEvent

Public Functions

SafeRenderer::quint32 getValue() const
void setSystemEventId(const SafeRenderer::quint32 valueArg)
void setValue(const SafeRenderer::quint32 valueArg)
SafeRenderer::quint32 systemEventId() const

Detailed Description

The QSafeEventSystem class sends the system event state change.

Member Function Documentation

SafeRenderer::quint32 QSafeEventSystem::getValue() const

Returns the value of the event.

1 equals the 'ON' and 0 equals the 'OFF' state.

void QSafeEventSystem::setSystemEventId(const SafeRenderer::quint32 valueArg)

Sets the event id to valueArg.

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

ExceptionIdDescription
SafeRenderer::QSafeEventExceptionSafeRenderer::QSafeEventException::SafeEventException::OutOfBoundsThe offset of the data goes out of the reserved memory area.

See also systemEventId().

void QSafeEventSystem::setValue(const SafeRenderer::quint32 valueArg)

Sets the value to valueArg.

1 equals the 'ON' and 0 equals the 'OFF' state.

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

ExceptionIdDescription
SafeRenderer::QSafeEventExceptionSafeRenderer::QSafeEventException::SafeEventException::OutOfBoundsThe offset of the data goes out of the reserved memory area.

SafeRenderer::quint32 QSafeEventSystem::systemEventId() const

Returns the event's id.

See also setSystemEventId().

Available under certain Qt licenses.
Find out more.