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

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