Base class of all plotters. More...

#include <Plot.h>

Inheritance diagram for Pulsar::Plot:
Reference::Able Reference::HeapTracked Pulsar::FramedPlot Pulsar::MultiData Pulsar::MultiPlot Pulsar::Poincare Pulsar::SimplePlot Pulsar::MultiDataPlot< Type > Pulsar::BandpassChannelWeightPlot Pulsar::MultiFrequency Pulsar::MultiPhase Pulsar::PhaseVsFrequencyPlus Pulsar::PhaseVsHistPlus

Classes

class  Constructor

Public Member Functions

 Plot ()
 Default constructor.
virtual void preprocess (Archive *)
 Process the Archive as needed before calling plot.
virtual void plot (const Archive *)=0
 Plot in the current viewport.
virtual void finalize ()
 Some plots may postpone plotting.
virtual PlotAttributesget_attributes ()=0
 Provide access to the plot attributes.
virtual TextInterface::Parserget_interface ()=0
 Get the text interface to the configuration attributes.
virtual TextInterface::Parserget_frame_interface ()=0
 Get the text interface to the frame attributes.
virtual void configure (const std::string &)
 Process a configuration command.
void set_constructor (Constructor *c)
 Set the constructor.
Constructorget_constructor ()
 Get the constructor.
virtual void set_preprocessor (Processor *)
 Set the pre-processor.
virtual Processorget_preprocessor ()
 Get the pre-processor.
virtual bool has_preprocessor () const
 Return true if pre-processor has been set.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Static Public Attributes

static bool verbose = false
 Verbosity flag.

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Base class of all plotters.

Member Function Documentation

◆ configure()

void Pulsar::Plot::configure ( const std::string & option)
virtual

Process a configuration command.

Reimplemented in Pulsar::MultiData.

References Error::get_code(), get_frame_interface(), get_interface(), and Error::get_message().

◆ finalize()

virtual void Pulsar::Plot::finalize ( )
inlinevirtual

Some plots may postpone plotting.

Reimplemented in Pulsar::MultiDataPlot< Type >.

◆ get_attributes()

virtual PlotAttributes * Pulsar::Plot::get_attributes ( )
pure virtual

Provide access to the plot attributes.

Implemented in MultiPlot, Pulsar::FramedPlot, Pulsar::MultiData, and Pulsar::MultiPlot.

◆ get_frame_interface()

virtual TextInterface::Parser * Pulsar::Plot::get_frame_interface ( )
pure virtual

Get the text interface to the frame attributes.

Implemented in MultiPlot, Pulsar::FramedPlot, Pulsar::MultiData, and Pulsar::MultiPlot.

Referenced by configure().

◆ get_interface()

◆ get_preprocessor()

Pulsar::Processor * Pulsar::Plot::get_preprocessor ( )
virtual

Get the pre-processor.

Reimplemented in Pulsar::MultiData.

◆ has_preprocessor()

bool Pulsar::Plot::has_preprocessor ( ) const
virtual

Return true if pre-processor has been set.

Reimplemented in Pulsar::MultiData.

◆ plot()

virtual void Pulsar::Plot::plot ( const Archive * )
pure virtual

◆ preprocess()

◆ set_preprocessor()

void Pulsar::Plot::set_preprocessor ( Processor * p)
virtual

Set the pre-processor.

Reimplemented in Pulsar::MultiData.


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

Generated using doxygen 1.14.0