create AthstatsWifiTraceSink instances and connect them to wifi devices More...
#include "athstats-helper.h"
| 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 | |
create AthstatsWifiTraceSink instances and connect them to wifi devices
Definition at line 38 of file athstats-helper.h.
| ns3::AthstatsHelper::AthstatsHelper | ( | ) | 
Definition at line 29 of file athstats-helper.cc.
References m_interval, and ns3::Seconds().
| void ns3::AthstatsHelper::EnableAthstats | ( | std::string | filename, | 
| NetDeviceContainer | d ) | 
Enable athstats.
| filename | the file name | 
| d | the collection of devices | 
Definition at line 78 of file athstats-helper.cc.
References ns3::NetDeviceContainer::Begin(), EnableAthstats(), and ns3::NetDeviceContainer::End().
| void ns3::AthstatsHelper::EnableAthstats | ( | std::string | filename, | 
| NodeContainer | n ) | 
Enable athstats.
| filename | the file name | 
| n | the collection of nodes | 
Definition at line 88 of file athstats-helper.cc.
References ns3::NetDeviceContainer::Add(), ns3::NodeContainer::Begin(), EnableAthstats(), and ns3::NodeContainer::End().
Enable athstats.
| filename | the file name | 
| nd | the device | 
Definition at line 72 of file athstats-helper.cc.
References EnableAthstats().
| void ns3::AthstatsHelper::EnableAthstats | ( | std::string | filename, | 
| uint32_t | nodeid, | ||
| uint32_t | deviceid ) | 
Enable athstats.
| filename | the file name | 
| nodeid | the node ID | 
| deviceid | the device ID | 
Definition at line 35 of file athstats-helper.cc.
References ns3::Config::Connect(), ns3::CreateObject(), 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(), EnableAthstats(), and EnableAthstats().
| 
 | private |