QSafeMessageInterface Class

The QSafeMessageInterface class provides an abstract communication interface between processes that are not critical for safety and those that are critical for safety. More...

Header: #include <QSafeMessageInterface>
Since: QtSafeRenderer 1.0
Inherited By:

IntegrityMessagePlugin, NetworkMessagePlugin, PosixMessagePlugin, and QnxMessagePlugin

This class was introduced in QtSafeRenderer 1.0.

Public Functions

virtual void sendMessage(const SafeRenderer::QSafeEvent &event) = 0

Detailed Description

QSafeMessageInterface defines an abstract interface for the messaging plugin. By implementing QSafeMessageInterfacePlugin, it is possible to create a platform specific IPC messaging between the Qt Quick and Qt Safe Renderer processes, that is, between the non-safe and safe processes.

QSafeMessageInterface provides a method for sending data from the Qt Quick application process to the Qt Safe Renderer process. The sent data must be a type of SafeRenderer::QSafeEvent class or preferably one of its inherited classes.

Member Function Documentation

[pure virtual] void QSafeMessageInterface::sendMessage(const SafeRenderer::QSafeEvent &event)

Sends an event from the safety-critical process to the non-safe process. This is a pure abstract interface definition that needs to be implemented in the platform specific message plugin.

Available under certain Qt licenses.
Find out more.