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

DtTargetEntityTask represents a target entity task for a missile to perform. More...

Inheritance diagram for DtTargetEntityTask:
Inheritance graph
[legend]

List of all members.

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 DtTargetEntityTaskoperator= (const DtTargetEntityTask &orig)
 assignment operator
virtual ~DtTargetEntityTask ()
virtual int type () const
 Returns "target-entity".
virtual DtSimTaskclone (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 DtStringtargetEntity () 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 DtSimTaskcreator ()

Protected Attributes

DtString myTargetEntity

Detailed Description

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.


Constructor & Destructor Documentation

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


Member Function Documentation

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]

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)