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

A source of events for the timeline. More...

Inheritance diagram for anonymous_namespace{test_instruments.cpp}::NetSource:
Sonde::EventSource

Additional Inherited Members

Public Member Functions inherited from Sonde::EventSource
 EventSource (QString name, QString description={ }, QObject *parent=nullptr)
 Creates a source called name (used in filters and resource URIs), described by description in the events tools' descriptions.
 ~EventSource () override
 Destroys the source; the server forgets it.
QString name () const
 The source's name.
QString description () const
 Human-readable description shown in tool descriptions.
void emitEvent (LogLevel level, const QString &message, const QString &category={ }, const QJsonObject &data={ })
 Emits an event.
void eventOccurred (const Sonde::Event &event)
 An event was emitted (sequence is still 0; the server assigns it).

Detailed Description

A source of events for the timeline.


The documentation for this class was generated from the following file:
  • tests/gui/test_instruments.cpp