Provides a text interface to create new plots. More...

#include <PlotFactory.h>

Public Member Functions

 PlotFactory ()
 Default constructor loads up all of the plot types.
 ~PlotFactory ()
 Destructor.
Plotconstruct (std::string name)
 Return a new instance of the named plot.
unsigned get_nplot ()
 Return the number of plots.
std::string get_name (unsigned i)
 Return the name of the ith plot.
std::string get_description (unsigned i)
 Return the name of the ith plot.
std::string help ()
 Return a descriptive list of the available plots.
void add (Agent *agent)
 Add a plot.

Protected Attributes

std::vector< Reference::To< Agent > > agents

Detailed Description

Provides a text interface to create new plots.

Member Function Documentation

◆ construct()

Pulsar::Plot * Pulsar::PlotFactory::construct ( std::string name)

Return a new instance of the named plot.

Return a new instance of the named plotter.

◆ get_description()

std::string Pulsar::PlotFactory::get_description ( unsigned i)

Return the name of the ith plot.

Return the name of the ith agent.

◆ get_name()

std::string Pulsar::PlotFactory::get_name ( unsigned i)

Return the name of the ith plot.

Return the name of the ith agent.


The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0