Abstract class to store a plot line to be used by ns3::Gnuplot. More...
#include "gnuplot.h"
 Inheritance diagram for ns3::GnuplotDataset:
 Collaboration diagram for ns3::GnuplotDataset:Classes | |
| struct | Data | 
| Structure storing the data to plot.  More... | |
Public Member Functions | |
| GnuplotDataset (const GnuplotDataset &original) | |
| Reference-counting copy constructor.   | |
| ~GnuplotDataset () | |
| Reference-counting destructor.   | |
| GnuplotDataset & | operator= (const GnuplotDataset &original) | 
| Reference-counting assignment operator.   | |
| void | SetExtra (const std::string &extra) | 
| Add extra formatting parameters to this dataset.   | |
| void | SetTitle (const std::string &title) | 
| Change line title.   | |
Static Public Member Functions | |
| static void | SetDefaultExtra (const std::string &extra) | 
| Change extra formatting style parameters for newly created objects.   | |
Protected Member Functions | |
| GnuplotDataset (Data *data) | |
| Called by constructors of derived classes.   | |
Protected Attributes | |
| Data * | m_data | 
| Reference counted data object.   | |
Static Protected Attributes | |
| static std::string | m_defaultExtra = "" | 
| Extra gnuplot parameters set on every newly created dataset.   | |
Friends | |
| class | Gnuplot | 
| Friend because it accesses m_data and it's virtual functions directly in GenerateOutput().   | |
Abstract class to store a plot line to be used by ns3::Gnuplot.
This class contains a reference counted data object in m_data. The data object contains different structs derived from struct Data by subclasses.
| ns3::GnuplotDataset::GnuplotDataset | ( | const GnuplotDataset & | original | ) | 
Reference-counting copy constructor.
| original | Original GnuPlotDataset | 
Definition at line 117 of file gnuplot.cc.
References m_data, and ns3::GnuplotDataset::Data::m_references.
| ns3::GnuplotDataset::~GnuplotDataset | ( | ) | 
Reference-counting destructor.
Definition at line 123 of file gnuplot.cc.
References m_data, and ns3::GnuplotDataset::Data::m_references.
      
  | 
  protected | 
Called by constructors of derived classes.
| data | the reference counted data object representing this dataset. | 
Definition at line 112 of file gnuplot.cc.
| GnuplotDataset & ns3::GnuplotDataset::operator= | ( | const GnuplotDataset & | original | ) | 
Reference-counting assignment operator.
| original | Right-hand side of assignment operator | 
Definition at line 132 of file gnuplot.cc.
References m_data, and ns3::GnuplotDataset::Data::m_references.
      
  | 
  static | 
Change extra formatting style parameters for newly created objects.
| extra | extra formatting | 
Definition at line 154 of file gnuplot.cc.
References m_defaultExtra.
Referenced by ns3::GnuplotAggregator::Set2dDatasetDefaultExtra().
 Here is the caller graph for this function:| void ns3::GnuplotDataset::SetExtra | ( | const std::string & | extra | ) | 
Add extra formatting parameters to this dataset.
| extra | extra formatting | 
Definition at line 160 of file gnuplot.cc.
References m_data, and ns3::GnuplotDataset::Data::m_extra.
Referenced by TestProbabilistic().
 Here is the caller graph for this function:| void ns3::GnuplotDataset::SetTitle | ( | const std::string & | title | ) | 
Change line title.
| title | the new title string to use for this dataset. | 
Definition at line 148 of file gnuplot.cc.
References m_data, and ns3::GnuplotDataset::Data::m_title.
Referenced by NodeStatistics::NodeStatistics(), anonymous_namespace{gnuplot-example.cc}::Create2DPlotFile(), anonymous_namespace{gnuplot-example.cc}::Create2DPlotWithErrorBarsFile(), anonymous_namespace{gnuplot-example.cc}::Create3DPlotFile(), TestDeterministic(), TestDeterministicByTime(), and TestProbabilistic().
 Here is the caller graph for this function:
      
  | 
  friend | 
      
  | 
  protected | 
Reference counted data object.
Definition at line 105 of file gnuplot.h.
Referenced by GnuplotDataset(), ~GnuplotDataset(), ns3::Gnuplot2dDataset::Add(), ns3::Gnuplot3dDataset::Add(), ns3::Gnuplot2dDataset::AddEmptyLine(), ns3::Gnuplot3dDataset::AddEmptyLine(), operator=(), ns3::Gnuplot2dDataset::SetErrorBars(), SetExtra(), ns3::Gnuplot2dFunction::SetFunction(), ns3::Gnuplot3dFunction::SetFunction(), ns3::Gnuplot3dDataset::SetStyle(), ns3::Gnuplot2dDataset::SetStyle(), and SetTitle().
      
  | 
  staticprotected | 
Extra gnuplot parameters set on every newly created dataset.
Definition at line 89 of file gnuplot.h.
Referenced by SetDefaultExtra().