#include <senf/Ext/NetEmu/examples/AthSpectralTool/Analyzer.hh>

Inheritance diagram for Analyzer:

Public Types

typedef boost::unordered_map< boost::uint16_t, unsigned > EtherTypeMap
 

Public Member Functions

 Analyzer (senf::MACAddress const &mac, Configuration const &config)
 
void request ()
 
void analyzeData (unsigned numPkts, unsigned pktSize)
 
 Analyzer (Configuration const &configuration)
 
 ~Analyzer ()
 
 Analyzer (bool logSeqNoErrors)
 
void dump (std::ostream &os)
 
- Public Member Functions inherited from senf::ppi::module::Module
virtual ~Module ()
 
- Public Member Functions inherited from AnalyzerBase
 AnalyzerBase (Configuration const &configuration)
 
std::string stats ()
 
bool startSpectralScan ()
 
senf::emu::AthSpectralScanathSpectralScan ()
 

Public Attributes

senf::ppi::connector::PassiveInput< senf::EthernetPacketinput
 
senf::MACAddress ourMAC_
 
std::map< std::uint32_t, std::int64_t > tstamps
 
senf::StatisticAccumulator< float > ThroughputDiffs
 
unsigned sessionId_
 
bool verbose_
 
unsigned OLd_numPkts =50
 
senf::ppi::connector::ActiveOutput< senf::EthernetPacketoutput
 
bool logSeqNoErrors_
 
EtherTypeMap payloadMap_
 
- Public Attributes inherited from AnalyzerBase
senf::ppi::connector::PassiveInput< senf::RadiotapPacketinput
 

Additional Inherited Members

- Protected Member Functions inherited from senf::ppi::module::Module
 Module ()
 
Route< connector::InputConnector, connector::OutputConnector > & route (connector::InputConnector &input, connector::OutputConnector &output)
 
Route< connector::InputConnector, EventDescriptor > & route (connector::InputConnector &input, EventDescriptor &output)
 
Route< EventDescriptor, connector::OutputConnector > & route (EventDescriptor &input, connector::OutputConnector &output)
 
void noroute (connector::Connector &connector)
 
void registerEvent (EventDescriptor &descriptor, Target target)
 
ClockService::clock_type const & time () const
 
ClockService::clock_type const & now () const
 
virtual void v_init ()
 
console::DirectoryNodesysConsoleDir () const
 
void destroy ()
 
- Protected Member Functions inherited from AnalyzerBase
void processSpectralEvent (std::uint64_t tsft, std::uint16_t frequency, unsigned numBins, void *spectralSample)
 
- Protected Attributes inherited from AnalyzerBase
Configuration const & configuration_
 

Detailed Description

Definition at line 112 of file Analyzer.cc.

Member Typedef Documentation

◆ EtherTypeMap

typedef boost::unordered_map<boost::uint16_t, unsigned> Analyzer::EtherTypeMap

Definition at line 82 of file MmapSocketSourceTest.cc.

Constructor & Destructor Documentation

◆ Analyzer() [1/3]

Analyzer::Analyzer ( senf::MACAddress const &  mac,
Configuration const &  config 
)
inline

Definition at line 125 of file Analyzer.cc.

◆ Analyzer() [2/3]

Analyzer::Analyzer ( Configuration const &  configuration)

Definition at line 25 of file Analyzer.cc.

◆ ~Analyzer()

Analyzer::~Analyzer ( )

Definition at line 30 of file Analyzer.cc.

◆ Analyzer() [3/3]

Analyzer::Analyzer ( bool  logSeqNoErrors)
inline

Definition at line 85 of file MmapSocketSourceTest.cc.

Member Function Documentation

◆ analyzeData()

void Analyzer::analyzeData ( unsigned  numPkts,
unsigned  pktSize 
)
inline

Definition at line 180 of file Analyzer.cc.

◆ dump()

void Analyzer::dump ( std::ostream &  os)
inline

Definition at line 93 of file MmapSocketSourceTest.cc.

◆ request()

void Analyzer::request ( )
inline

Definition at line 137 of file Analyzer.cc.

Member Data Documentation

◆ input

Definition at line 114 of file Analyzer.cc.

◆ logSeqNoErrors_

bool Analyzer::logSeqNoErrors_

Definition at line 81 of file MmapSocketSourceTest.cc.

◆ OLd_numPkts

unsigned Analyzer::OLd_numPkts =50

Definition at line 123 of file Analyzer.cc.

◆ ourMAC_

senf::MACAddress Analyzer::ourMAC_

Definition at line 118 of file Analyzer.cc.

◆ output

◆ payloadMap_

EtherTypeMap Analyzer::payloadMap_

Definition at line 83 of file MmapSocketSourceTest.cc.

◆ sessionId_

unsigned Analyzer::sessionId_

Definition at line 121 of file Analyzer.cc.

◆ ThroughputDiffs

senf::StatisticAccumulator<float> Analyzer::ThroughputDiffs

Definition at line 120 of file Analyzer.cc.

◆ tstamps

std::map<std::uint32_t,std::int64_t> Analyzer::tstamps

Definition at line 119 of file Analyzer.cc.

◆ verbose_

bool Analyzer::verbose_

Definition at line 122 of file Analyzer.cc.


The documentation for this class was generated from the following files: