npr::rf::NprRuntimeStatsSource class final

Runtime-backed implementation of the control-interface observability contract.

This adapter keeps NprControlCommands independent from NprRuntime storage details while still allowing the scenario layer to bind the live runtime as the data source for management/status requests.

Base classes

class INprStatsSource
Read-only observability contract consumed by NPR control adapters.

Constructors, destructors, conversion operators

NprRuntimeStatsSource(npr::rf::NprRuntime& runtime) explicit

Public functions

auto connected() const -> bool override
Returns current link status exposed to /interface/<iface>/status.
auto diagnostics_snapshot(NprDiagnosticsSnapshot* out) const -> bool override
Copies flat diagnostics counters/timing ages.
auto network_config_snapshot(NprNetworkConfig* out) const -> bool override
Copies current role-specific network snapshot when available.
auto who_cache_snapshot(SignalingWhoEntry* out_entries, size_t max_entries, uint64_t* out_now_us) const -> size_t override
Copies current WHO/neighbor cache snapshot and associated runtime time base.