TCourse Class Reference
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.
Constructor & Destructor Documentation
TCourse()
Default constructor for
TCourse
. Sets the member data to default values (NaN).
Member Functions Documentation
Course()
Retrieves the true course over ground.
CourseAccuracy()
IMPORT_C
TReal32
|
CourseAccuracy
|
(
|
)
|
const
|
Retrieves the accuracy of the course over ground.
Heading()
Retrieves the true heading of this course.
HeadingAccuracy()
IMPORT_C
TReal32
|
HeadingAccuracy
|
(
|
)
|
const
|
Retrieves the accuracy of the heading component of this course.
SetCourse(TReal32)
IMPORT_C void
|
SetCourse
|
(
|
TReal32
|
aCourse
|
)
|
|
Changes the true course over ground.
Parameters
TReal32
aCourse
|
is the new true course, in degrees.
|
SetCourseAccuracy(TReal32)
IMPORT_C void
|
SetCourseAccuracy
|
(
|
TReal32
|
aCourseAccuracy
|
)
|
|
Changes the accuracy of the course component of this course.
-
panic
-
"Lbs Client Fault" 13 if aCourseAccuracy is negative.
Parameters
TReal32
aCourseAccuracy
|
is the new accuracy of the course, in degrees.
|
SetHeading(TReal32)
IMPORT_C void
|
SetHeading
|
(
|
TReal32
|
aHeading
|
)
|
|
Changes the true heading of this course.
Parameters
TReal32
aHeading
|
is the new true heading, in degrees.
|
SetHeadingAccuracy(TReal32)
IMPORT_C void
|
SetHeadingAccuracy
|
(
|
TReal32
|
aHeadingAccuracy
|
)
|
|
Changes the accuracy of the heading component of this course.
-
panic
-
aHeadingAccuracy is negative.
Parameters
TReal32
aHeadingAccuracy
|
is the new accuracy of the heading, in degrees.
|
SetSpeed(TReal32)
IMPORT_C void
|
SetSpeed
|
(
|
TReal32
|
aSpeed
|
)
|
|
Changes the speed of this course.
Parameters
TReal32
aSpeed
|
is the new speed, in metres per second.
|
SetSpeedAccuracy(TReal32)
IMPORT_C void
|
SetSpeedAccuracy
|
(
|
TReal32
|
aSpeedAccuracy
|
)
|
|
Changes the accuracy of the speed component of this course.
-
panic
-
aSpeedAccuracy is negative.
Parameters
TReal32
aSpeedAccuracy
|
is the new accuracy of the speed, in metres per second.
|
SetVerticalSpeed(TReal32)
IMPORT_C void
|
SetVerticalSpeed
|
(
|
TReal32
|
aVerticalSpeed
|
)
|
|
Changes the vertical speed of this course.
Parameters
TReal32
aVerticalSpeed
|
is the new vertical speed, in metres per second.
|
SetVerticalSpeedAccuracy(TReal32)
IMPORT_C void
|
SetVerticalSpeedAccuracy
|
(
|
TReal32
|
aVerticalSpeedAccuracy
|
)
|
|
Changes the accuracy of the speed component of this course.
-
panic
-
aVerticalSpeedAccuracy is negative.
Parameters
TReal32
aVerticalSpeedAccuracy
|
is the new accuracy of the vertical speed, in metres per second.
|
Speed()
Retrieves the speed of this course.
SpeedAccuracy()
IMPORT_C
TReal32
|
SpeedAccuracy
|
(
|
)
|
const
|
Retrieves the accuracy of the speed component of this course.
VerticalSpeed()
IMPORT_C
TReal32
|
VerticalSpeed
|
(
|
)
|
const
|
Retrieves the vertical speed of this course.
VerticalSpeedAccuracy()
IMPORT_C
TReal32
|
VerticalSpeedAccuracy
|
(
|
)
|
const
|
Retrieves the accuracy of the vertical speed component of this course.
Member Data Documentation
TReal32
iCourseAccuracy
TReal32
|
iCourseAccuracy
|
[protected]
|
Course accuracy, in degrees.
TReal32
iHeading
True Heading, in degrees.
TReal32
iHeadingAccuracy
TReal32
|
iHeadingAccuracy
|
[protected]
|
Heading accuracy, in degrees.
TUint8
iReserved
Unused variable for future expansion.
TReal32
iSpeed
Speed, in metres per second.
TReal32
iSpeedAccuracy
Speed accuracy, in metres per second.
TReal32
iVerticalSpeed
Vertical Speed, in metres per second.
TReal32
iVerticalSpeedAccuracy
TReal32
|
iVerticalSpeedAccuracy
|
[protected]
|
Vertical Speed accuracy, in metres per second.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.