|
Updraft
1.0
Open source glider flight visualisation tool.
|
Turning point in a task. More...
#include <taskpoint.h>

Public Member Functions | |
| TaskPoint () | |
| TaskPoint (const QDomElement &elem) | |
| Creates TaskPoint from DOM element. | |
| void | toDom (QDomDocument *doc, QDomElement *taskPointElem) const |
| Stores TaskPoint to DOM element. | |
| QString | getCode () const |
| QString | getName () const |
| const Util::Location & | getLocation () const |
| const AssignedArea & | getAssignedArea () const |
| void | setTP (const TurnPoint *tp) |
| Gathers data from a TurnPoint and store them in the TaskPoint. | |
| void | setLocation (const Util::Location &location_) |
| Sets the new location. Deletes information about assigned TurnPoint. | |
| void | setName (const QString &name_) |
| Sets the new name for this task point. | |
| void | setAssignedArea (const AssignedArea &assignedArea_) |
| Sets shape of the assigned area. | |
Private Attributes | |
| QString | code |
| Code identifying the assigned TurnPoint. | |
| QString | name |
| Name of the assigned TurnPoint. | |
| Util::Location | location |
| Geographical location of the task point. | |
| AssignedArea | area |
| structure defining shape of the assigned area. | |
Turning point in a task.
| Updraft::TaskPoint::TaskPoint | ( | ) | [inline] |
| Updraft::TaskPoint::TaskPoint | ( | const QDomElement & | elem | ) | [explicit] |
Creates TaskPoint from DOM element.
| const AssignedArea & Updraft::TaskPoint::getAssignedArea | ( | ) | const |
| QString Updraft::TaskPoint::getCode | ( | ) | const |
| const Util::Location & Updraft::TaskPoint::getLocation | ( | ) | const |
| QString Updraft::TaskPoint::getName | ( | ) | const |
| void Updraft::TaskPoint::setAssignedArea | ( | const AssignedArea & | assignedArea_ | ) |
Sets shape of the assigned area.
| void Updraft::TaskPoint::setLocation | ( | const Util::Location & | location_ | ) |
Sets the new location. Deletes information about assigned TurnPoint.
| void Updraft::TaskPoint::setName | ( | const QString & | name_ | ) |
Sets the new name for this task point.
| void Updraft::TaskPoint::setTP | ( | const TurnPoint * | tp | ) |
| void Updraft::TaskPoint::toDom | ( | QDomDocument * | doc, |
| QDomElement * | taskPointElem | ||
| ) | const |
AssignedArea Updraft::TaskPoint::area [private] |
structure defining shape of the assigned area.
QString Updraft::TaskPoint::code [private] |
Code identifying the assigned TurnPoint.
Util::Location Updraft::TaskPoint::location [private] |
Geographical location of the task point.
QString Updraft::TaskPoint::name [private] |
Name of the assigned TurnPoint.