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

The active watches: an id each, and one watcher per watched overload. More...

Public Member Functions

QString remove (int id)
 Ends watch id.

Public Attributes

QPointer< EventSource > events
 The "signals" source; owns the watchers.
QMap< int, QList< SignalWatcher * > > active
 Watchers by watch id.
int nextId = 1
 Id of the next watch.

Detailed Description

The active watches: an id each, and one watcher per watched overload.

Member Function Documentation

◆ remove()

QString Sonde::anonymous_namespace{signaltools.cpp}::Watches::remove ( int id)
inline

Ends watch id.

Returns
What it watched, or an empty string if there is no such watch.

The documentation for this struct was generated from the following file: