Base class of all plotters. More...

#include <PlotLoop.h>

Inheritance diagram for Pulsar::PlotLoop:
Reference::Able Reference::HeapTracked

Public Member Functions

 PlotLoop ()
 Default constructor.
 
void add_Plot (Plot *)
 Add a Plot to be executed.
 
void configure (const std::vector< std::string > &options)
 Configure the plots.
 
void finalize ()
 Perform any cleanup.
 
void set_Archive (Archive *)
 Set the Archive to be plotted.
 
void set_overlay (bool)
 Overlay the data from multiple objects in a single plot.
 
bool get_overlay () const
 
void set_stack (bool)
 Automatically stack multiple plots.
 
bool get_stack () const
 
void set_colour_indeces (const std::vector< unsigned > &ci)
 Set the colour indeces through which to loop.
 
void set_preprocess (bool)
 Set the preprocess flag.
 
bool get_preprocess () const
 Get the preprocess flag.
 
void add_index (TextIndex *)
 Add an index over which to loop.
 
void plot ()
 
void set_colour_index (Plot *, unsigned colour_index)
 
- 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
 

Protected Member Functions

void plot (std::stack< Reference::To< TextIndex > > &indeces)
 Worker function called recursively down stack.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

std::vector< Reference::To< Plot > > plots
 
std::vector< Reference::To< Archive > > archives
 
bool preprocess
 
bool overlay
 
bool stack
 
std::stack< Reference::To< TextIndex > > index_stack
 
std::vector< unsigned > colour_indeces
 
unsigned current_colour_index
 

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 ()
 

Detailed Description

Base class of all plotters.


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

Generated using doxygen 1.8.17