GetCurveDatasTask is used for Layers that need "random" Tiles produced from an other Producer. More...
#include <GetCurveDatasTask.h>
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. | |
GraphProducer * | graphProducer |
The GraphProducer for which we need the data. | |
TileProducer * | target |
The TileProducer required for owner's tile creation. | |
CurveDataFactory * | factory |
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. |
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).
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.
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. |
CurveDataFactory* proland::GetCurveDatasTask< OWNER >::factory |
The factory that creates the CurveDatas.
GraphProducer* proland::GetCurveDatasTask< OWNER >::graphProducer |
The GraphProducer for which we need the data.
int proland::GetCurveDatasTask< OWNER >::level |
The level of the created Tile.
OWNER* proland::GetCurveDatasTask< OWNER >::owner |
The layer that requires this AnalyseTile.
TaskGraph* proland::GetCurveDatasTask< OWNER >::parent |
The parent TaskGraph of task.
TileProducer* proland::GetCurveDatasTask< OWNER >::target |
The TileProducer required for owner's tile creation.
Task* proland::GetCurveDatasTask< OWNER >::task |
The task that created this AnalyseTile.
int proland::GetCurveDatasTask< OWNER >::tx |
The x coordinate of the created Tile.
int proland::GetCurveDatasTask< OWNER >::ty |
The y coordinate of the created Tile.