C
<sendevent.h> - Send Event C API
The <sendevent.h> header exposes C functions to send events to the Qt Safe Renderer runtime, optionally receiving a reply. More...
| Header: | #include <sendevent.h> |
| Since: | QtSafeRenderer 2.1 |
is part of Qt Safe Monitor C API.
Functions
| int | sendEvent(void *const buf, const size_t len) |
| int | sendEventWithReply(void *const buf, const size_t len, void *const replyBuf, const size_t replyLen) |
Detailed Description
The <sendevent.h> header exposes C functions to send events to the Qt Safe Renderer runtime, optionally receiving a reply.
Function Documentation
int sendEvent(void *const buf, const size_t len)
Sends one event to the Qt Safe Renderer runtime. The buf must contain a serialized QSafeEvent with length len equal to the QSafeEvent message size. Returns 0 on success; -1 if sending failed or the input data was invalid.
int sendEventWithReply(void *const buf, const size_t len, void *const replyBuf, const size_t replyLen)
Sends one event to the Qt Safe Renderer runtime and copies the reply. The buf must contain a serialized QSafeEvent with length len equal to the QSafeEvent message size. The replyBuf must have capacity at least QSafeEvent::messageLength as given by replyLen. Returns 0 on success; -1 if sending failed or the input/output sizes were invalid.
Available under certain Qt licenses.
Find out more.