![]() |
VR-Forces 4.0.4 Class Documentation
|
DtFlyToLocationTask represents a moveToLocation task for an entity to perform. More...

Public Member Functions | |
| DtFlyToLocationTask () | |
| default constructor | |
| DtFlyToLocationTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a task 'put' itself, the writeName will preface the task. | |
| DtFlyToLocationTask (const DtString &writeName, const DtFlyToLocationTask &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy DtFlyToLocationTask | |
| const DtFlyToLocationTask & | operator= (const DtFlyToLocationTask &orig) |
| assignment operator | |
| virtual | ~DtFlyToLocationTask () |
| virtual int | type () const |
| Returns "move-towards" DtMoveToLocationTaskType. | |
| virtual DtSimTask * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const |
| Creates a copy of this movetoLocation task. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this task. | |
| virtual const DtVector & | aimingPoint () const |
| Set/get the point to move towards. | |
| virtual void | setAimingPoint (const DtVector &point) |
| 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 void | setUseFixedPitch (bool) |
| virtual bool | useFixedPitch () const |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class simTask) with the task contents. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
Protected Attributes | |
| DtRwVector | myAimingPoint |
| DtRwBoolean | myUseFixedPitch |
DtFlyToLocationTask represents a moveToLocation task for an entity to perform.
It inherits read/writableness from SimTask, and includes the aiming point to move towards.
This task will only be recognized by fixed wings, and, if use fixed pitch is true, will fly to the location specified using fixed pitch
default constructor
| DtFlyToLocationTask::DtFlyToLocationTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a task 'put' itself, the writeName will preface the task.
| DtFlyToLocationTask::DtFlyToLocationTask | ( | const DtString & | writeName, |
| const DtFlyToLocationTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy DtFlyToLocationTask
| virtual DtFlyToLocationTask::~DtFlyToLocationTask | ( | ) | [virtual] |
| const DtFlyToLocationTask& DtFlyToLocationTask::operator= | ( | const DtFlyToLocationTask & | orig | ) |
assignment operator
| virtual int DtFlyToLocationTask::type | ( | ) | const [virtual] |
Returns "move-towards" DtMoveToLocationTaskType.
Implements DtSimTask.
| virtual DtSimTask* DtFlyToLocationTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of this movetoLocation task.
Implements DtSimTask.
| virtual DtString DtFlyToLocationTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Implements DtSimTask.
| virtual const DtVector& DtFlyToLocationTask::aimingPoint | ( | ) | const [virtual] |
Set/get the point to move towards.
Specified in geocentric coordinates.
| virtual void DtFlyToLocationTask::setAimingPoint | ( | const DtVector & | point | ) | [virtual] |
| virtual int DtFlyToLocationTask::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 DtFlyToLocationTask::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSimTask.
| virtual void DtFlyToLocationTask::setUseFixedPitch | ( | bool | ) | [virtual] |
| virtual bool DtFlyToLocationTask::useFixedPitch | ( | ) | const [virtual] |
| virtual bool DtFlyToLocationTask::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimTask.
| static DtSimTask* DtFlyToLocationTask::creator | ( | ) | [static] |
DtRwVector DtFlyToLocationTask::myAimingPoint [protected] |
DtRwBoolean DtFlyToLocationTask::myUseFixedPitch [protected] |