21 #include "ns3/object.h" 49 .SetGroupName (
"Stats")
70 std::string description)
93 DataCalculatorList::iterator
99 DataCalculatorList::iterator
111 std::pair<std::string, std::string> blob (key, value);
120 std::stringstream st;
123 std::pair<std::string, std::string> blob (key, st.str ());
132 std::stringstream st;
135 std::pair<std::string, std::string> blob (key, st.str ());
140 MetadataList::iterator
146 MetadataList::iterator
std::string m_strategyLabel
Strategy label.
DataCalculatorList::iterator DataCalculatorEnd()
Returns an iterator to the past-the-end of the DataCalculator list.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
std::string m_description
Description label.
virtual void DoDispose(void)
Destructor implementation.
MetadataList::iterator MetadataBegin()
Returns an iterator to the beginning of the metadata list.
void AddDataCalculator(Ptr< DataCalculator > datac)
Add a DataCalculator object to the DataCollector.
static TypeId GetTypeId(void)
Register this type.
void AddMetadata(std::string key, std::string value)
Add the key and the value as a pair of strings to the metadata list.
std::string m_experimentLabel
Experiment label.
std::string m_runLabel
Run label.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
DataCalculatorList m_calcList
List of data calculators.
std::string m_inputLabel
Input label.
DataCalculatorList::iterator DataCalculatorBegin()
Returns an iterator to the beginning of the DataCalculator list.
void DescribeRun(std::string experiment, std::string strategy, std::string input, std::string runID, std::string description="")
Provide specific parameters to the DataCollector.
virtual void DoDispose()
Destructor implementation.
A base class which provides memory management and object aggregation.
MetadataList m_metadata
List of experiment metadata.
a unique identifier for an interface.
MetadataList::iterator MetadataEnd()
Returns an iterator to the past-the-end of the metadata list.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
void experiment(bool enableCtsRts, std::string wifiManager)
Run single 10 seconds experiment.