![]() |
VR-Forces 4.0.4 Class Documentation
|
DtCrashIntoTask is a task message intended to order an entity to manuver itself to crash directly into a target object. More...

Public Member Functions | |
| DtCrashIntoTask () | |
| default constructor | |
| DtCrashIntoTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a task 'put' itself, the writeName will preface the task. | |
| DtCrashIntoTask (const DtString &writeName, const DtCrashIntoTask &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtCrashIntoTask & | operator= (const DtCrashIntoTask &orig) |
| assignment operator | |
| virtual | ~DtCrashIntoTask () |
| virtual int | type () const |
| Returns DtCrashIntoTaskType from radioMsgTypes.h. | |
| virtual DtSimTask * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const |
| Creates a copy of this task. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this task. | |
| virtual DtString | targetName () const |
| Get/set the name of the object into which the entity should crash. | |
| virtual void | setTargetName (const DtString &name) |
| 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. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
Protected Attributes | |
| DtRwString | myTargetName |
DtCrashIntoTask is a task message intended to order an entity to manuver itself to crash directly into a target object.
The target object may be an entity, waypoint, etc.
default constructor
| DtCrashIntoTask::DtCrashIntoTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a task 'put' itself, the writeName will preface the task.
| DtCrashIntoTask::DtCrashIntoTask | ( | const DtString & | writeName, |
| const DtCrashIntoTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtCrashIntoTask::~DtCrashIntoTask | ( | ) | [virtual] |
| const DtCrashIntoTask& DtCrashIntoTask::operator= | ( | const DtCrashIntoTask & | orig | ) |
assignment operator
| virtual int DtCrashIntoTask::type | ( | ) | const [virtual] |
Returns DtCrashIntoTaskType from radioMsgTypes.h.
Implements DtSimTask.
| virtual DtSimTask* DtCrashIntoTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of this task.
Implements DtSimTask.
| virtual DtString DtCrashIntoTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Implements DtSimTask.
| virtual DtString DtCrashIntoTask::targetName | ( | ) | const [virtual] |
Get/set the name of the object into which the entity should crash.
| virtual void DtCrashIntoTask::setTargetName | ( | const DtString & | name | ) | [virtual] |
| virtual int DtCrashIntoTask::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 DtCrashIntoTask::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the task from the network buffer.
Reimplemented from DtSimTask.
| virtual bool DtCrashIntoTask::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimTask.
| static DtSimTask* DtCrashIntoTask::creator | ( | ) | [static] |
DtRwString DtCrashIntoTask::myTargetName [protected] |