26#ifndef __TERRALIB_MAPTOOLS_INTERNAL_CHARTRENDERERMANAGER_H
27#define __TERRALIB_MAPTOOLS_INTERNAL_CHARTRENDERERMANAGER_H
30#include "../color/RGBAColor.h"
31#include "../common/Singleton.h"
32#include "../common/ThreadingPolicies.h"
46 class AbstractChartRenderer;
62 ::boost::recursive_mutex,
63 ::boost::lock_guard< ::boost::recursive_mutex>,
64 ::boost::lock_guard< ::boost::recursive_mutex> >,
A wdiget used to customize a chart's style parameters.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
This policy assures a class-level locking scheme for a derived class.
Template support for singleton pattern.
A dataset is the unit of information manipulated by the data access module of TerraLib.
This is the base class for chart renderers.
This is a singleton for managing chart renderer instance available in the system.
AbstractChartRenderer * m_renderer
The chart renderer in the manager.
~ChartRendererManager()
Singleton destructor.
ChartRendererManager()
It initializes the singleton instance of the chart renderer manager.
te::color::RGBAColor ** render(const Chart *chart, const te::da::DataSet *dataset, std::size_t &width)
It generates the image pattern from the given chart and dataset.
void set(AbstractChartRenderer *renderer)
It sets the chart renderer to the manager.
te::color::RGBAColor ** render(const Chart *chart, const std::map< std::string, double > &chartValue, std::size_t &width)
This class represents the informations needed to build map charts.
Proxy configuration file for TerraView (see terraview_config.h).