rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvChartDisplayerPointsFactory Class Reference

Factory to create instances that manage data point projection. More...

#include <ilviews/charts/display.h>

Inheritance diagram for IlvChartDisplayerPointsFactory:
IlvChartPointsFilterFactory

List of all members.

Public Member Functions

virtual
IlvChartDisplayerPointsFactory
copy () const =0
 Virtual copy constructor.
virtual IlvChartDisplayerPointscreate (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.

Detailed Description

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.

See also:
IlvSingleChartDisplayer::setDisplayerPointsFactory.

Constructor & Destructor Documentation

IlvChartDisplayerPointsFactory::IlvChartDisplayerPointsFactory (  )  [protected]

Constructor.

Initializes a new IlvChartDisplayerPointsFactory instance.


Member Function Documentation

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.

Returns:
A copy of the current object.

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.

Parameters:
chart The chart that displays the data.
disp The displayer for which the instance that handles data point projection is created.
Returns:
An instance that will handle data point projection for the displayer disp.

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.

Parameters:
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.