VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtTargetPointTask Class Reference

DtTargetPointTask represents a target point task for a missile to perform. More...

Inheritance diagram for DtTargetPointTask:
Inheritance graph
[legend]

List of all members.

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 DtTargetPointTaskoperator= (const DtTargetPointTask &orig)
 assignment operator
virtual ~DtTargetPointTask ()
virtual int type () const
 Returns "move-to".
virtual DtSimTaskclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const
 Creates a copy of this move-to task.
virtual DtSimTaskclone (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtString stringRep () const
 Get a readable string representation of this task.
virtual const DtVectortargetPoint () 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 DtSimTaskcreator ()

Protected Attributes

DtVector myTargetPoint

Detailed Description

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.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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]

Member Data Documentation


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)