A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::AthstatsHelper Class Reference

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

#include "athstats-helper.h"

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().

◆ 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().

◆ 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.

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: