|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Shared by signal_watch and signal_trace_start: capturing a signal's arguments, and installing the trace tools. More...
#include <QtCore/QJsonArray>#include <QtCore/QMetaMethod>#include <QtCore/QStringList>#include <QtCore/QVariantList>Go to the source code of this file.
Classes | |
| class | Sonde::SignalCapture::Guard |
| Sets recording() for its lifetime, if it wasn't set already. More... | |
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
| namespace | Sonde::SignalCapture |
| Capturing the arguments of a signal emission. | |
Functions | |
| QVariantList | Sonde::SignalCapture::arguments (const QMetaMethod &signal, void *const *argv) |
Copies the arguments of an emission of signal, which are argv[1..n]. | |
| QJsonArray | Sonde::SignalCapture::toJson (const QVariantList &args, QStringList *texts) |
Converts what arguments() captured to JSON; texts receives each one as text. | |
| bool & | Sonde::SignalCapture::recording () |
| Set while this thread records an emission, so the signals that recording emits (the event machinery's own) aren't recorded in turn. | |
| void | Sonde::installSignalTraceTools (Server &server, EventSource *events) |
Registers signal_trace_start and signal_trace_stop, which report to events. | |
Shared by signal_watch and signal_trace_start: capturing a signal's arguments, and installing the trace tools.