|
||
class TCourse;
This is used to hold information about the current speed and direction of the device. It is generally used in conjunction
with TPositionCourseInfo
when a positioning technology is able to supply these details as part of its positioning information.
Defined in TCourse
:
Course()const
Retrieves the course over ground. CourseAccuracy()const
Retrieves the accuracy of the course over ground. Heading()const
Retrieves the heading of this course.HeadingAccuracy()const
Retrieves the accuracy of the heading component of this course.SetCourse(TReal32)
Changes the course over ground. SetCourseAccuracy(TReal32)
Changes the accuracy of the course component of this course. SetHeading(TReal32)
Changes the heading of this course.SetHeadingAccuracy(TReal32)
Changes the accuracy of the heading component of this course.SetSpeed(TReal32)
Changes the speed of this course.SetSpeedAccuracy(TReal32)
Changes the accuracy of the speed component of this course.Speed()const
Retrieves the speed of this course.SpeedAccuracy()const
Retrieves the accuracy of the speed component of this course.TCourse()
Default constructor for TCourse. Sets the member data to default values (NaN).iCourse
Course, in degrees. iCourseAccuracy
Course accuracy, in degrees. iHeading
Heading, in degrees. iHeadingAccuracy
Heading accuracy, in degrees. iSpeed
Speed, in metres per second. iSpeedAccuracy
Speed accuracy, in metres per second. IMPORT_C TCourse();
Default constructor for TCourse. Sets the member data to default values (NaN).
IMPORT_C TReal32 Speed() const;
Retrieves the speed of this course.
|
IMPORT_C TReal32 Heading() const;
Retrieves the heading of this course.
|
IMPORT_C TReal32 Course() const;
Retrieves the course over ground.
|
IMPORT_C TReal32 SpeedAccuracy() const;
Retrieves the accuracy of the speed component of this course.
|
IMPORT_C TReal32 HeadingAccuracy() const;
Retrieves the accuracy of the heading component of this course.
|
IMPORT_C TReal32 CourseAccuracy() const;
Retrieves the accuracy of the course over ground.
|
IMPORT_C void SetSpeed(TReal32 aSpeed);
Changes the speed of this course.
|
IMPORT_C void SetHeading(TReal32 aHeading);
Changes the heading of this course.
|
IMPORT_C void SetSpeedAccuracy(TReal32 aSpeedAccuracy);
Changes the accuracy of the speed component of this course.
|
|
IMPORT_C void SetHeadingAccuracy(TReal32 aHeadingAccuracy);
Changes the accuracy of the heading component of this course.
|
|
IMPORT_C void SetCourse(TReal32 aCourse);
Changes the course over ground.
|
IMPORT_C void SetCourseAccuracy(TReal32 aCourseAccuracy);
Changes the accuracy of the course component of this course.
|
|
protected: TReal32 iCourseAccuracy;
Course accuracy, in degrees.