Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Factory to create instances that manage data point projection. More...
#include <ilviews/charts/display.h>
Public Member Functions | |
virtual IlvChartDisplayerPointsFactory * | copy () const =0 |
Virtual copy constructor. | |
virtual IlvChartDisplayerPoints * | create (const IlvChartGraphic *chart, const IlvSingleChartDisplayer *disp)=0 |
Creates an instance that handles data point projection. | |
virtual void | release (const IlvSingleChartDisplayer *disp, IlvChartDisplayerPoints *dispPts) |
Free the created instance that handles data point projection. | |
Protected Member Functions | |
IlvChartDisplayerPointsFactory () | |
Constructor. |
Factory to create instances that manage data point projection.
Library: ilvcharts
This factory class is used to create the instances that will handle data point projection and rendering for chart displayers. The IlvChartDisplayerPointsFactory::create
method must be overloaded to return an instance of a subclass of IlvChartDisplayerPoints
.
IlvChartDisplayerPointsFactory::IlvChartDisplayerPointsFactory | ( | ) | [protected] |
Constructor.
Initializes a new IlvChartDisplayerPointsFactory
instance.
virtual IlvChartDisplayerPointsFactory* IlvChartDisplayerPointsFactory::copy | ( | ) | const [pure virtual] |
Virtual copy constructor.
Creates and returns a copy of the current object. This method must be overloaded in subclasses.
Implemented in IlvChartPointsFilterFactory.
virtual IlvChartDisplayerPoints* IlvChartDisplayerPointsFactory::create | ( | const IlvChartGraphic * | chart, | |
const IlvSingleChartDisplayer * | disp | |||
) | [pure virtual] |
Creates an instance that handles data point projection.
Called by the IlvSingleChartDisplayer::allocDisplayerPoints
method to fetch the object used to project data points.
chart | The chart that displays the data. | |
disp | The displayer for which the instance that handles data point projection is created. |
Implemented in IlvChartPointsFilterFactory.
virtual void IlvChartDisplayerPointsFactory::release | ( | const IlvSingleChartDisplayer * | disp, | |
IlvChartDisplayerPoints * | dispPts | |||
) | [virtual] |
Free the created instance that handles data point projection.
Called by the IlvSingleChartDisplayer::releaseDisplayerPoints
method when the dispPts object is no longer used. The default implementation uses the delete
operator on the dispPts object. This method can be overloaded to recycle the instance instead of deleting it.
disp | The displayer that uses the dispPts instance. | |
dispPts | The instance to release. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.