A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::AthstatsHelper Class Reference

create AthstatsWifiTraceSink instances and connect them to wifi devices More...

#include "athstats-helper.h"

+ Collaboration diagram for ns3::AthstatsHelper:

Public Member Functions

 AthstatsHelper ()
 
void EnableAthstats (std::string filename, NetDeviceContainer d)
 Enable athstats.
 
void EnableAthstats (std::string filename, NodeContainer n)
 Enable athstats.
 
void EnableAthstats (std::string filename, Ptr< NetDevice > nd)
 Enable athstats.
 
void EnableAthstats (std::string filename, uint32_t nodeid, uint32_t deviceid)
 Enable athstats.
 

Private Attributes

Time m_interval
 interval
 

Detailed Description

create AthstatsWifiTraceSink instances and connect them to wifi devices

Definition at line 49 of file athstats-helper.h.

Constructor & Destructor Documentation

◆ AthstatsHelper()

ns3::AthstatsHelper::AthstatsHelper ( )

Definition at line 40 of file athstats-helper.cc.

Member Function Documentation

◆ EnableAthstats() [1/4]

void ns3::AthstatsHelper::EnableAthstats ( std::string  filename,
NetDeviceContainer  d 
)

Enable athstats.

Parameters
filenamethe file name
dthe collection of devices

Definition at line 89 of file athstats-helper.cc.

References ns3::NetDeviceContainer::Begin(), EnableAthstats(), and ns3::NetDeviceContainer::End().

+ Here is the call graph for this function:

◆ EnableAthstats() [2/4]

void ns3::AthstatsHelper::EnableAthstats ( std::string  filename,
NodeContainer  n 
)

Enable athstats.

Parameters
filenamethe file name
nthe collection of nodes

Definition at line 99 of file athstats-helper.cc.

References ns3::NetDeviceContainer::Add(), ns3::NodeContainer::Begin(), EnableAthstats(), and ns3::NodeContainer::End().

+ Here is the call graph for this function:

◆ EnableAthstats() [3/4]

void ns3::AthstatsHelper::EnableAthstats ( std::string  filename,
Ptr< NetDevice nd 
)

Enable athstats.

Parameters
filenamethe file name
ndthe device

Definition at line 83 of file athstats-helper.cc.

References EnableAthstats().

+ Here is the call graph for this function:

◆ EnableAthstats() [4/4]

void ns3::AthstatsHelper::EnableAthstats ( std::string  filename,
uint32_t  nodeid,
uint32_t  deviceid 
)

Enable athstats.

Parameters
filenamethe file name
nodeidthe node ID
deviceidthe device ID

Definition at line 46 of file athstats-helper.cc.

References ns3::Config::Connect(), ns3::AthstatsWifiTraceSink::DevRxTrace(), ns3::AthstatsWifiTraceSink::DevTxTrace(), ns3::MakeCallback(), ns3::AthstatsWifiTraceSink::PhyRxErrorTrace(), ns3::AthstatsWifiTraceSink::PhyRxOkTrace(), ns3::AthstatsWifiTraceSink::PhyStateTrace(), ns3::AthstatsWifiTraceSink::PhyTxTrace(), ns3::AthstatsWifiTraceSink::TxDataFailedTrace(), ns3::AthstatsWifiTraceSink::TxFinalDataFailedTrace(), ns3::AthstatsWifiTraceSink::TxFinalRtsFailedTrace(), and ns3::AthstatsWifiTraceSink::TxRtsFailedTrace().

Referenced by EnableAthstats().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_interval

Time ns3::AthstatsHelper::m_interval
private

interval

Definition at line 80 of file athstats-helper.h.


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