nlsr::StatsCollector Class Reference

a class designed to handle statistical signals in nlsr More...

#include <stats-collector.hpp>

Public Member Functions

 StatsCollector (Lsdb &lsdb, HelloProtocol &hp)
 
 ~StatsCollector ()
 
StatisticsgetStatistics ()
 

Detailed Description

a class designed to handle statistical signals in nlsr

Definition at line 34 of file stats-collector.hpp.

Constructor & Destructor Documentation

◆ StatsCollector()

nlsr::StatsCollector::StatsCollector ( Lsdb lsdb,
HelloProtocol hp 
)

Definition at line 26 of file stats-collector.cpp.

◆ ~StatsCollector()

nlsr::StatsCollector::~StatsCollector ( )

Definition at line 36 of file stats-collector.cpp.

Member Function Documentation

◆ getStatistics()

Statistics& nlsr::StatsCollector::getStatistics ( )
inline

Definition at line 43 of file stats-collector.hpp.