34 #ifndef EMANENEIGHBORMETRICMANAGER_HEADER_ 35 #define EMANENEIGHBORMETRICMANAGER_HEADER_ 78 std::uint64_t u64DataRatebps,
92 std::uint64_t u64SeqNum,
111 std::uint64_t u64SeqNum,
117 std::uint64_t u64DataRatebps);
144 class Implementation;
146 std::unique_ptr<Implementation> pImpl_;
154 #endif // EMANENEIGHBORMETRICMANAGER_HEADER_ void updateNeighborStatus()
void updateNeighborRxMetric(NEMId src, std::uint64_t u64SeqNum, const uuid_t &uuid, const TimePoint &rxTime)
Controls::R2RINeighborMetrics getNeighborMetrics()
std::list< R2RINeighborMetric > R2RINeighborMetrics
void updateNeighborTxMetric(NEMId dst, std::uint64_t u64DataRatebps, const TimePoint &txTime)
The StatisticRegistrar allows NEM layers to register statistics and statistic tables. Statistics and Statistic tables are owned by the emulator framework and a borrowed reference is returned to the registering NEM layer.
NeighborMetricManager(NEMId nemId)
std::chrono::microseconds Microseconds
void registerStatistics(StatisticRegistrar &statisticRegistrar)
void setNeighborDeleteTimeMicroseconds(const Microseconds &ageMicroseconds)
Clock::time_point TimePoint
Manages neighbor metrics and sends neighbor metric control message upstream.