![]() |
VR-Forces 4.0.4 Class Documentation
|
DtTargetPointTask represents a target point task for a missile to perform. More...

Public Member Functions | |
| DtTargetPointTask () | |
| default constructor | |
| DtTargetPointTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=NULL) | |
| constructor If you have a task 'put' itself, the writeName will preface the task. | |
| DtTargetPointTask (const DtSymbolString &writeName, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtTargetPointTask (const DtString &writeName, const DtTargetPointTask &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| DtTargetPointTask (const DtSymbolString &writeName, const DtTargetPointTask &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtTargetPointTask & | operator= (const DtTargetPointTask &orig) |
| assignment operator | |
| virtual | ~DtTargetPointTask () |
| virtual int | type () const |
| Returns "move-to". | |
| virtual DtSimTask * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| Creates a copy of this move-to task. | |
| virtual DtSimTask * | clone (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual DtString | stringRep () const |
| Get a readable string representation of this task. | |
| virtual const DtVector & | targetPoint () const |
| virtual void | setTargetPoint (const DtVector &targetPoint) |
| virtual int | netRepSize () const |
| Returns the size of the full network representation 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. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
Protected Attributes | |
| DtVector | myTargetPoint |
DtTargetPointTask represents a target point task for a missile to perform.
It inherits read/writableness from SimTask, and includes the target point to move to.
default constructor
| DtTargetPointTask::DtTargetPointTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
constructor If you have a task 'put' itself, the writeName will preface the task.
| DtTargetPointTask::DtTargetPointTask | ( | const DtSymbolString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtTargetPointTask::DtTargetPointTask | ( | const DtString & | writeName, |
| const DtTargetPointTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| DtTargetPointTask::DtTargetPointTask | ( | const DtSymbolString & | writeName, |
| const DtTargetPointTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| virtual DtTargetPointTask::~DtTargetPointTask | ( | ) | [virtual] |
| const DtTargetPointTask& DtTargetPointTask::operator= | ( | const DtTargetPointTask & | orig | ) |
assignment operator
| virtual int DtTargetPointTask::type | ( | ) | const [virtual] |
Returns "move-to".
Implements DtSimTask.
| virtual DtSimTask* DtTargetPointTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
Creates a copy of this move-to task.
Implements DtSimTask.
| virtual DtSimTask* DtTargetPointTask::clone | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
| virtual DtString DtTargetPointTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Implements DtSimTask.
| virtual const DtVector& DtTargetPointTask::targetPoint | ( | ) | const [virtual] |
| virtual void DtTargetPointTask::setTargetPoint | ( | const DtVector & | targetPoint | ) | [virtual] |
| virtual int DtTargetPointTask::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimTask.
| virtual bool DtTargetPointTask::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSimTask.
| virtual bool DtTargetPointTask::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimTask.
| static DtSimTask* DtTargetPointTask::creator | ( | ) | [static] |
DtVector DtTargetPointTask::myTargetPoint [protected] |