C

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:

MessageSenderPlugin

Public Functions

virtual void sendMessage(const SafeRenderer::QSafeEvent &event) = 0
virtual void sendMessage(const SafeRenderer::QSafeEvent &event, SafeRenderer::QSafeEvent &reply) = 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 the non-safe process to the safety-critical process..

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

Sends an event from non-safe process to the safety-critical process and reads the response to reply.

Available under certain Qt licenses.
Find out more.