#include <senf/Ext/NetEmu/examples/ChannelAnalyzer/FrameAnalyzer.hh>

Public Member Functions

 FrameStats ()
 
void clear ()
 
void update (senf::AnnotationsPacket const &ap)
 
void dump (std::ostream &os, senf::ClockService::clock_type const &period)
 

Public Attributes

unsigned pktCnt
 
unsigned byteCnt
 
unsigned airTime
 
senf::StatisticAccumulator< float > rssi
 
senf::StatisticAccumulator< float > rate
 

Detailed Description

Definition at line 29 of file FrameAnalyzer.hh.

Constructor & Destructor Documentation

◆ FrameStats()

FrameStats::FrameStats ( )
inline

Definition at line 37 of file FrameAnalyzer.hh.

Member Function Documentation

◆ clear()

void FrameStats::clear ( )
inline

Definition at line 41 of file FrameAnalyzer.hh.

◆ dump()

void FrameStats::dump ( std::ostream &  os,
senf::ClockService::clock_type const &  period 
)
inline

Definition at line 56 of file FrameAnalyzer.hh.

◆ update()

void FrameStats::update ( senf::AnnotationsPacket const &  ap)
inline

Definition at line 47 of file FrameAnalyzer.hh.

Member Data Documentation

◆ airTime

unsigned FrameStats::airTime

Definition at line 33 of file FrameAnalyzer.hh.

◆ byteCnt

unsigned FrameStats::byteCnt

Definition at line 32 of file FrameAnalyzer.hh.

◆ pktCnt

unsigned FrameStats::pktCnt

Definition at line 31 of file FrameAnalyzer.hh.

◆ rate

senf::StatisticAccumulator<float> FrameStats::rate

Definition at line 35 of file FrameAnalyzer.hh.

◆ rssi

senf::StatisticAccumulator<float> FrameStats::rssi

Definition at line 34 of file FrameAnalyzer.hh.


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