(→Actual Implemented Use Details) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== Using GeoData == | == Using GeoData == | ||
| − | + | This page tries to summarise the use of GeoData classes in marble so that its implementation details can match the use cases, and understand if any what issues might arise from manipulating them otherwise. | |
=== Use Cases === | === Use Cases === | ||
| Line 15: | Line 15: | ||
=== Actual Implemented Use Details === | === Actual Implemented Use Details === | ||
| − | * GeoData classes have shared data, in the sense that e.g. copying a GeoDataFeature is a shallow copy, with deep copy happening when one of the instances need to modify a value. This is all for the "ToolClass", and not much useful for the "DataTree". | + | * GeoData classes have shared data, in the sense that e.g. copying a GeoDataFeature is a shallow copy, with deep copy happening when one of the instances need to modify a value. This is all for the "ToolClass", and not much useful for the "DataTree". Pure parameter passing benefits from shallow copy. |
| − | * | + | * {{class|FileManager|kdeedu|4.x}} uses {{class|FileLoader|kdeedu|4.x}} which build a {{class|GeoDataDocument|kdeedu|4.x}} from files it opens. It internally uses the {{class|GeoParser|kdeedu|4.x}} classes and framework for xml files. Those files then provided through the {{class|GeoDataTreeModel|kdeedu|4.x}} model. |
| − | + | ||
| − | * {{class| | + | * {{class|PositionTracker|kdeedu|4.x}} keeps a document with past positions retrieved from {{class|PositionProviderPlugin|kdeedu|4.x}} plugins. |
| − | * | + | * {{class|RoutingManager|kdeedu|4.x}} handles routing data in a document with instructions retrieved from Marble Runners Plugins which derive from {{class|MarbleAbstractRunner|kdeedu|4.x}}. |
TODO others?? | TODO others?? | ||
| Line 31: | Line 30: | ||
# memory ownership is an issue to be determined depending on use case. | # memory ownership is an issue to be determined depending on use case. | ||
# Compliance with KML spec is a priority, limiting differing needs. | # Compliance with KML spec is a priority, limiting differing needs. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Contents |
This page tries to summarise the use of GeoData classes in marble so that its implementation details can match the use cases, and understand if any what issues might arise from manipulating them otherwise.
The use cases identified so far are:
TODO others??
In the past or present, some issues have appeared and need to be remembered/adressed: