![]() |
VR-Forces 4.0.4 Class Documentation
|
A task for an aircraft to fly a specified heading and altitude using the specified rates to achieve those values. More...

Public Member Functions | |
| DtFlyHeadingAndAltitudeTask () | |
| default constructor | |
| DtFlyHeadingAndAltitudeTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtFlyHeadingAndAltitudeTask (const DtString &writeName, const DtFlyHeadingAndAltitudeTask &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtFlyHeadingAndAltitudeTask & | operator= (const DtFlyHeadingAndAltitudeTask &orig) |
| assignment operator | |
| virtual | ~DtFlyHeadingAndAltitudeTask () |
| virtual int | type () const |
| virtual DtSimTask * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const |
| Make a copy of this task. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this task. | |
| virtual int | netRepSize () const |
| Returns the size of the full network representation (control object name included) padded to an 8-byte boundary. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the task from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class simTask) with the task contents. | |
| virtual double | altitude () const |
| The altitude to fly at specified in meters. | |
| virtual void | setAltitude (double altitude) |
| The altitude to fly at specified in meters. | |
| virtual double | climbDescentRate () const |
| Climb / Descent rate used to reach the desired altitude. | |
| virtual void | setClimbDescentRate (double rate) |
| Climb / Descent rate used to reach the desired altitude. | |
| virtual double | heading () const |
| The heading to fly, specified in radians. | |
| virtual void | setHeading (double heading) |
| The heading to fly, specified in radians. | |
| virtual double | turnRate () const |
| Turn rate used to reach the desired heading, specified in radians / second. | |
| virtual void | setTurnRate (double rate) |
| Turn rate used to reach the desired heading, specified in radians / second. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
Protected Attributes | |
| DtRwReal | myHeading |
| DtRwReal | myTurnRate |
| DtRwReal | myAltitude |
| DtRwReal | myClimbDescentRate |
A task for an aircraft to fly a specified heading and altitude using the specified rates to achieve those values.
default constructor
| DtFlyHeadingAndAltitudeTask::DtFlyHeadingAndAltitudeTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtFlyHeadingAndAltitudeTask::DtFlyHeadingAndAltitudeTask | ( | const DtString & | writeName, |
| const DtFlyHeadingAndAltitudeTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtFlyHeadingAndAltitudeTask::~DtFlyHeadingAndAltitudeTask | ( | ) | [virtual] |
| const DtFlyHeadingAndAltitudeTask& DtFlyHeadingAndAltitudeTask::operator= | ( | const DtFlyHeadingAndAltitudeTask & | orig | ) |
assignment operator
| virtual int DtFlyHeadingAndAltitudeTask::type | ( | ) | const [virtual] |
Implements DtSimTask.
| virtual DtSimTask* DtFlyHeadingAndAltitudeTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
| virtual DtString DtFlyHeadingAndAltitudeTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Implements DtSimTask.
| virtual double DtFlyHeadingAndAltitudeTask::altitude | ( | ) | const [virtual] |
The altitude to fly at specified in meters.
| virtual void DtFlyHeadingAndAltitudeTask::setAltitude | ( | double | altitude | ) | [virtual] |
The altitude to fly at specified in meters.
| virtual double DtFlyHeadingAndAltitudeTask::climbDescentRate | ( | ) | const [virtual] |
Climb / Descent rate used to reach the desired altitude.
Specified in meters / second.
| virtual void DtFlyHeadingAndAltitudeTask::setClimbDescentRate | ( | double | rate | ) | [virtual] |
Climb / Descent rate used to reach the desired altitude.
Specified in meters / second.
| virtual double DtFlyHeadingAndAltitudeTask::heading | ( | ) | const [virtual] |
The heading to fly, specified in radians.
| virtual void DtFlyHeadingAndAltitudeTask::setHeading | ( | double | heading | ) | [virtual] |
The heading to fly, specified in radians.
| virtual double DtFlyHeadingAndAltitudeTask::turnRate | ( | ) | const [virtual] |
Turn rate used to reach the desired heading, specified in radians / second.
| virtual void DtFlyHeadingAndAltitudeTask::setTurnRate | ( | double | rate | ) | [virtual] |
Turn rate used to reach the desired heading, specified in radians / second.
| virtual int DtFlyHeadingAndAltitudeTask::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation (control object name included) padded to an 8-byte boundary.
Reimplemented from DtSimTask.
| virtual bool DtFlyHeadingAndAltitudeTask::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSimTask.
| virtual bool DtFlyHeadingAndAltitudeTask::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimTask.
| static DtSimTask* DtFlyHeadingAndAltitudeTask::creator | ( | ) | [static] |
DtRwReal DtFlyHeadingAndAltitudeTask::myHeading [protected] |
DtRwReal DtFlyHeadingAndAltitudeTask::myTurnRate [protected] |
DtRwReal DtFlyHeadingAndAltitudeTask::myAltitude [protected] |