Rogue Wave Views Charts Package API Reference Guide |
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. More... | |
virtual IlvChartDisplayerPoints * | create (const IlvChartGraphic *chart, const IlvSingleChartDisplayer *disp)=0 |
Creates an instance that handles data point projection. More... | |
virtual void | release (const IlvSingleChartDisplayer *disp, IlvChartDisplayerPoints *dispPts) |
Free the created instance that handles data point projection. More... | |
Protected Member Functions | |
IlvChartDisplayerPointsFactory () | |
Constructor. More... | |
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
.
|
protected |
Constructor.
Initializes a new IlvChartDisplayerPointsFactory
instance.
|
pure virtual |
Virtual copy constructor.
Creates and returns a copy of the current object. This method must be overloaded in subclasses.
Implemented in IlvChartPointsFilterFactory.
|
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 |
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 2018, 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.