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

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