![]() |
VR-Forces 4.0.4 Class Documentation
|
File: planAndMoveToTask.h. More...

Public Member Functions | |
| DtPlanAndMoveToTask () | |
| default constructor | |
| DtPlanAndMoveToTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a task 'put' itself, the writeName will preface the task. | |
| DtPlanAndMoveToTask (const DtString &writeName, const DtPlanAndMoveToTask &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtPlanAndMoveToTask & | operator= (const DtPlanAndMoveToTask &orig) |
| assignment operator | |
| virtual | ~DtPlanAndMoveToTask () |
| virtual int | type () const |
| Returns "plan-and-move-to". | |
| 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. | |
Static Public Member Functions | |
| static DtSimTask * | creator () |
File: planAndMoveToTask.h.
Class: DtPlanAndMoveToTask DtPlanAndMoveToTask represents a planAndMoveTo task for an entity to perform. It inherits DtMoveToTask and has all the same parameters as that task.
This task can be used by any vehicle having a path planning controller. It indicates that the vehicle should plan a path to the specified object, and then move along that path to the object.
task-type: DtPlanAndMoveToType
parameters: control point name - The string name of the control point to move toward. You can look up the DtVrfObject corresponding to this name in the Object Manager.
default constructor
| DtPlanAndMoveToTask::DtPlanAndMoveToTask | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a task 'put' itself, the writeName will preface the task.
| DtPlanAndMoveToTask::DtPlanAndMoveToTask | ( | const DtString & | writeName, |
| const DtPlanAndMoveToTask & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtPlanAndMoveToTask::~DtPlanAndMoveToTask | ( | ) | [virtual] |
| const DtPlanAndMoveToTask& DtPlanAndMoveToTask::operator= | ( | const DtPlanAndMoveToTask & | orig | ) |
assignment operator
| virtual int DtPlanAndMoveToTask::type | ( | ) | const [virtual] |
Returns "plan-and-move-to".
Reimplemented from DtMoveToTask.
| virtual DtSimTask* DtPlanAndMoveToTask::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of this task.
Reimplemented from DtMoveToTask.
| virtual DtString DtPlanAndMoveToTask::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this task.
Reimplemented from DtMoveToTask.
| static DtSimTask* DtPlanAndMoveToTask::creator | ( | ) | [static] |
Reimplemented from DtMoveToTask.