A Discrete-Event Network Simulator
API
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, uint32_t nodeid, uint32_t deviceid)
 Enable athstats. More...
 
void EnableAthstats (std::string filename, Ptr< NetDevice > nd)
 Enable athstats. More...
 
void EnableAthstats (std::string filename, NetDeviceContainer d)
 Enable athstats. More...
 
void EnableAthstats (std::string filename, NodeContainer n)
 Enable athstats. More...
 

Private Attributes

Time m_interval
 interval More...
 

Detailed Description

create AthstatsWifiTraceSink instances and connect them to wifi devices

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

Constructor & Destructor Documentation

◆ AthstatsHelper()

ns3::AthstatsHelper::AthstatsHelper ( )

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

Member Function Documentation

◆ EnableAthstats() [1/4]

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

◆ EnableAthstats() [2/4]

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

Enable athstats.

Parameters
filenamethe file name
ndthe device

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

References EnableAthstats().

+ Here is the call graph for this function:

◆ EnableAthstats() [3/4]

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

Enable athstats.

Parameters
filenamethe file name
dthe collection of devices

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

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

+ Here is the call graph for this function:

◆ EnableAthstats() [4/4]

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

Enable athstats.

Parameters
filenamethe file name
nthe collection of nodes

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

References ns3::NetDeviceContainer::Add(), EnableAthstats(), ns3::Node::GetDevice(), ns3::Node::GetNDevices(), and sample-rng-plot::n.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_interval

Time ns3::AthstatsHelper::m_interval
private

interval

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


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