VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions
DtPlanAndMoveToTask Class Reference

File: planAndMoveToTask.h. More...

Inheritance diagram for DtPlanAndMoveToTask:
Inheritance graph
[legend]

List of all members.

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 DtPlanAndMoveToTaskoperator= (const DtPlanAndMoveToTask &orig)
 assignment operator
virtual ~DtPlanAndMoveToTask ()
virtual int type () const
 Returns "plan-and-move-to".
virtual DtSimTaskclone (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 DtSimTaskcreator ()

Detailed Description

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.


Constructor & Destructor Documentation

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


Member Function Documentation

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.

Reimplemented from DtMoveToTask.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)