21 #ifndef DATA_OUTPUT_INTERFACE_H
22 #define DATA_OUTPUT_INTERFACE_H
24 #include "ns3/object.h"
25 #include "ns3/nstime.h"
26 #include "ns3/data-calculator.h"
136 std::string val) = 0;
Callback class for the DataOutput classes.
virtual void OutputSingleton(std::string key, std::string variable, uint32_t val)=0
Associates the uint32_t value with the variable name for a specific output format.
virtual ~DataOutputCallback()
Destructor.
virtual void OutputSingleton(std::string key, std::string variable, std::string val)=0
Associates the string value with the variable name for a specific output format.
virtual void OutputStatistic(std::string key, std::string variable, const StatisticalSummary *statSum)=0
Outputs the data from the specified StatisticalSummary.
virtual void OutputSingleton(std::string key, std::string variable, Time val)=0
Associates the Time value with the variable name for a specific output format.
virtual void OutputSingleton(std::string key, std::string variable, double val)=0
Associates the double value with the variable name for a specific output format.
virtual void OutputSingleton(std::string key, std::string variable, int val)=0
Associates the integer value with the variable name for a specific output format.
Abstract Data Output Interface class s.
virtual void Output(DataCollector &dc)=0
Outputs information from the provided DataCollector.
std::string GetFilePrefix() const
Gets the file prefix of the DataOutputInterface.
static TypeId GetTypeId(void)
Register this type.
std::string m_filePrefix
File prefix for the DataOutputInterface.
void SetFilePrefix(const std::string prefix)
Sets the DataOutputInterface prefix to the provided prefix.
virtual ~DataOutputInterface()
virtual void DoDispose()
Destructor implementation.
A base class which provides memory management and object aggregation.
Abstract class for calculating statistical data.
Simulation virtual time values and global simulation resolution.
a unique identifier for an interface.
std::string variable
variable or class member
Every class exported by the ns3 library is enclosed in the ns3 namespace.