ns3::FileOutputManager class

Store the values in files.

The class is not ready for general use; it is here only for reference. Patches welcome.

Base classes

class OutputManager
The OutputManager interface for storing the simulation data.

Constructors, destructors, conversion operators

FileOutputManager(const std::string& prefix)
FileOutputManager constructor.

Public functions

void Close() override
Correctly close the output manager.
void MacDataTxFailed(uint32_t nodeId, uint32_t bytes) override
Store the transmission failed at MAC level.
void SimultaneousTxOtherTechnology(uint32_t nodeId) override
Indicates that there is a simultaneuous transmission with another technology.
void SinrStore(uint32_t nodeId, double sinr) override
Store a SINR value.
void StoreChannelOccupancyRateFor(const std::string& technology, double value) override
Store the Technology occupancy rate.
void StoreE2EStatsFor(const std::string& technology, double throughput, uint32_t txBytes, uint32_t rxBytes, double meanDelay, double meanJitter, const std::string& addr) override
Store the E2E stats.

Function documentation

ns3::FileOutputManager::FileOutputManager(const std::string& prefix)

FileOutputManager constructor.

Parameters
prefix File prefix

void ns3::FileOutputManager::MacDataTxFailed(uint32_t nodeId, uint32_t bytes) override

Store the transmission failed at MAC level.

Parameters
nodeId Node id
bytes Bytes that failed at MAC level

void ns3::FileOutputManager::SimultaneousTxOtherTechnology(uint32_t nodeId) override

Indicates that there is a simultaneuous transmission with another technology.

Parameters
nodeId ID of the node

Each call to this method will be counted as one simultaneous transmission.

void ns3::FileOutputManager::SinrStore(uint32_t nodeId, double sinr) override

Store a SINR value.

Parameters
nodeId Node id
sinr Value of SINR in dB

void ns3::FileOutputManager::StoreChannelOccupancyRateFor(const std::string& technology, double value) override

Store the Technology occupancy rate.

Parameters
technology name of the technology
value Channel occupancy rate (between 0 and 1)

void ns3::FileOutputManager::StoreE2EStatsFor(const std::string& technology, double throughput, uint32_t txBytes, uint32_t rxBytes, double meanDelay, double meanJitter, const std::string& addr) override

Store the E2E stats.

Parameters
technology Technology name
throughput throughput
txBytes Transmitted bytes
rxBytes Received bytes
meanDelay Average delay (per packet)
meanJitter Average jitter (per packet)
addr Destination address