Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::anonymous_namespace{events.cpp} Namespace Reference

Functions

bool & inRecord ()
 Set while this thread is inside EventBuffer::record(): an event emitted from there (a warning from Qt, say) would deadlock on the buffer's mutex.
QJsonObject filterProperties (const QStringList &sourceNames)
 The filter arguments shared by event_read and event_wait (sources limited to sourceNames).
int limitArgument (const QJsonObject &args)
 The limit argument, bounded to 1..kMaxReadLimit.
ToolResult waitResult (const QList< Event > &matched, quint64 lastSequence, int timeoutMs)
 The event_wait result for matched events (empty: timed out after timeoutMs).