proland::GetCurveDatasTask< OWNER > Class Template Reference
[producer]

GetCurveDatasTask is used for Layers that need "random" Tiles produced from an other Producer. More...

#include <GetCurveDatasTask.h>

List of all members.

Public Member Functions

 GetCurveDatasTask (Task *task, TaskGraph *parent, OWNER *owner, GraphProducer *graphProducer, TileProducer *target, CurveDataFactory *factory, int level, int tx, int ty, unsigned deadline)
 Creates a new GetCurveDatasTask.

Public Attributes

Task * task
 The task that created this AnalyseTile.
TaskGraph * parent
 The parent TaskGraph of task.
OWNER * owner
 The layer that requires this AnalyseTile.
GraphProducergraphProducer
 The GraphProducer for which we need the data.
TileProducer * target
 The TileProducer required for owner's tile creation.
CurveDataFactoryfactory
 The factory that creates the CurveDatas.
int level
 The level of the created Tile.
int tx
 The x coordinate of the created Tile.
int ty
 The y coordinate of the created Tile.

Detailed Description

template<class OWNER>
class proland::GetCurveDatasTask< OWNER >

GetCurveDatasTask is used for Layers that need "random" Tiles produced from an other Producer.

For example, if it requires all the data about a given Curve, it will need every tiles crossed by this Curve. It may also be used to prefetch CurveData (call to CurveDataFactory::getCurveData()). Prefetched CurveDatas will have to be accessed using the CurveDataFactory::findCurveData() method, and released via the CurveDataFactory::putCurveData() method (The release should be automatic).

Author:
Antoine Begault

Constructor & Destructor Documentation

template<class OWNER >
proland::GetCurveDatasTask< OWNER >::GetCurveDatasTask ( Task *  task,
TaskGraph *  parent,
OWNER *  owner,
GraphProducer graphProducer,
TileProducer *  target,
CurveDataFactory factory,
int  level,
int  tx,
int  ty,
unsigned  deadline 
) [inline]

Creates a new GetCurveDatasTask.

GetCurveDatasTask is used for Layers that need "random" Tiles produced from an other Producer. For example, if it requires all the data about a given Curve, it will need every tiles crossed by this Curve.

Parameters:
task the task that created this GetCurveDatasTask.
parent the parent TaskGraph of task.
owner the layer that requires this GetCurveDatasTask.
graphProducer the GraphProducer for which we need the data.
target the TileProducer required for owner's tile creation.
factory the factory that creates the CurveDatas.
level the level of the created Tile.
tx the x coordinate of the created Tile.
ty the y coordinate of the created Tile.

Member Data Documentation

template<class OWNER >
CurveDataFactory* proland::GetCurveDatasTask< OWNER >::factory

The factory that creates the CurveDatas.

template<class OWNER >
GraphProducer* proland::GetCurveDatasTask< OWNER >::graphProducer

The GraphProducer for which we need the data.

template<class OWNER >
int proland::GetCurveDatasTask< OWNER >::level

The level of the created Tile.

template<class OWNER >
OWNER* proland::GetCurveDatasTask< OWNER >::owner

The layer that requires this AnalyseTile.

template<class OWNER >
TaskGraph* proland::GetCurveDatasTask< OWNER >::parent

The parent TaskGraph of task.

template<class OWNER >
TileProducer* proland::GetCurveDatasTask< OWNER >::target

The TileProducer required for owner's tile creation.

template<class OWNER >
Task* proland::GetCurveDatasTask< OWNER >::task

The task that created this AnalyseTile.

template<class OWNER >
int proland::GetCurveDatasTask< OWNER >::tx

The x coordinate of the created Tile.

template<class OWNER >
int proland::GetCurveDatasTask< OWNER >::ty

The y coordinate of the created Tile.


Generated on Sat May 12 09:42:48 2012 for proland by  doxygen 1.6.1