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

DtCrashIntoTask is a task message intended to order an entity to manuver itself to crash directly into a target object. More...

Inheritance diagram for DtCrashIntoTask:
Inheritance graph
[legend]

List of all members.

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 DtCrashIntoTaskoperator= (const DtCrashIntoTask &orig)
 assignment operator
virtual ~DtCrashIntoTask ()
virtual int type () const
 Returns DtCrashIntoTaskType from radioMsgTypes.h.
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.
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 DtSimTaskcreator ()

Protected Attributes

DtRwString myTargetName

Detailed Description

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.


Constructor & Destructor Documentation

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]

Member Function Documentation

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]

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)