15#include "ns3/object.h"
16#include "ns3/gnuplot.h"
17#include "ns3/core-module.h"
18#include "ns3/node-list.h"
Class to represent a 2D points plot.
a simple class to generate gnuplot-ready plotting commands from a set of datasets.
A base class which provides memory management and object aggregation.
Smart pointer class similar to boost::intrusive_ptr.
QKD graphs are implemented to allow straightforward access to QKD buffers' state and convenient monit...
std::string m_plotFileType
Gnuplot2dDataset m_datasetWorkingState_3
uint32_t m_keymMax
get some boundaries for the graph
std::string m_plotFileName
output filename
uint32_t m_maxValueGraph
get some boundaries for the graph
Ptr< Node > m_src
source node, info required for graph title
~QKDGraph() override
Destructor.
static TypeId GetTypeId()
Get the type ID.
Gnuplot2dDataset m_datasetMaximum
Gnuplot2dDataset m_datasetWorkingState_Mthr
Gnuplot m_gnuplot
Gluplot object settings.
void ProcessMStatus(uint32_t value)
The status of the QBuffer changed, so plot it on the graph.
void ProcessMStatusHelpFunction(double time, uint32_t newValue)
Help function for detection of status change value.
uint32_t m_keymCurrent
get some boundaries for the graph
Gnuplot2dDataset m_datasetThreshold
uint32_t m_keymMin
get some boundaries for the graph
Gnuplot2dDataset m_datasetWorkingState_0
Ptr< QBuffer > m_buffer
QBuffer associated with the QKDGraph.
void InitTotalGraph() const
Initialized function for total graph.
uint32_t m_keymThreshold
get some boundaries for the graph
Ptr< Node > m_dst
destination node, info required for graph title
void PrintGraph()
Print the graph.
uint32_t m_graphStatusEntry
temp variable
Gnuplot2dDataset m_datasetWorkingState_1
void ProcessMCurrent(uint32_t value)
MCurrent value of the QBuffer changed, so plot it on the graph.
double m_simulationTime
time value, x-axis
void ProcessMThrStatus(uint32_t value)
The Mthr value of the QBuffer changed, so plot it on the graph.
Gnuplot2dDataset m_dataset
Gnuplot2dDataset m_datasetWorkingState_2
Gnuplot2dDataset m_datasetMinimum
a unique identifier for an interface.
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static unsigned int value(char c)