Remembers the last snapshot and reports what changed since. More...
#include <port_change_watcher.hpp>
Public Member Functions | |
| PortListDiff | update (std::vector< MidiPortInfo > current) |
| Record current and return the difference from the previous snapshot. | |
Remembers the last snapshot and reports what changed since.
|
inline |
Record current and return the difference from the previous snapshot.
The first call establishes the baseline and reports no change.