![]() |
VR-Forces 4.0.4 Class Documentation
|
A task to fly at a specified altitude, maintaining whatever the current or commanded heading and speed are. More...

Public Member Functions | |
| DtFlyAltitudeTask () | |
| default constructor | |
| DtFlyAltitudeTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtFlyAltitudeTask (const DtString &writeName, const DtFlyAltitudeTask &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtFlyAltitudeTask & | operator= (const DtFlyAltitudeTask &orig) |
| assignment operator | |
| virtual | ~DtFlyAltitudeTask () |
| 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. | |
| virtual void | setAltitude (double altitude) |
| The altitude to fly at. | |
| 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. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
| static double | theDefaultClimbDescentRate () |
Protected Attributes | |
| DtRwReal | myAltitude |
| DtRwReal | myClimbDescentRate |
A task to fly at a specified altitude, maintaining whatever the current or commanded heading and speed are.
default constructor
| DtFlyAltitudeTask::DtFlyAltitudeTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtFlyAltitudeTask::DtFlyAltitudeTask | ( | const DtString & | writeName, |
| const DtFlyAltitudeTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtFlyAltitudeTask::~DtFlyAltitudeTask | ( | ) | [virtual] |
| const DtFlyAltitudeTask& DtFlyAltitudeTask::operator= | ( | const DtFlyAltitudeTask & | orig | ) |
assignment operator
| virtual int DtFlyAltitudeTask::type | ( | ) | const [virtual] |
Implements DtSimTask.
| virtual DtSimTask* DtFlyAltitudeTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
| virtual DtString DtFlyAltitudeTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Implements DtSimTask.
| virtual double DtFlyAltitudeTask::altitude | ( | ) | const [virtual] |
The altitude to fly at.
| virtual void DtFlyAltitudeTask::setAltitude | ( | double | altitude | ) | [virtual] |
The altitude to fly at.
| virtual double DtFlyAltitudeTask::climbDescentRate | ( | ) | const [virtual] |
Climb / Descent rate used to reach the desired altitude.
Specified in meters / second.
| virtual void DtFlyAltitudeTask::setClimbDescentRate | ( | double | rate | ) | [virtual] |
Climb / Descent rate used to reach the desired altitude.
Specified in meters / second.
| virtual int DtFlyAltitudeTask::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 DtFlyAltitudeTask::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSimTask.
| virtual bool DtFlyAltitudeTask::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimTask.
| static DtSimTask* DtFlyAltitudeTask::creator | ( | ) | [static] |
| static double DtFlyAltitudeTask::theDefaultClimbDescentRate | ( | ) | [static] |
DtRwReal DtFlyAltitudeTask::myAltitude [protected] |
DtRwReal DtFlyAltitudeTask::myClimbDescentRate [protected] |