VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtBreachTask Class Reference
Inheritance diagram for DtBreachTask:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtBreachTask ()
 default constructor
 DtBreachTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor If you have a task 'put' itself, the writeName will preface the task.
 DtBreachTask (const DtString &writeName, const DtBreachTask &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtBreachTaskoperator= (const DtBreachTask &orig)
 assignment operator
virtual ~DtBreachTask ()
virtual int type () const
 Returns type from tasktypes.
virtual DtSimTaskclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
 Creates a copy of this Detonate task.
virtual DtString stringRep () const
 Get a readable string representation of this task.
virtual const DtStringbreachTargetName () const
 Set/get ent id of object to breach.
virtual void setBreachTargetName (const DtString &objName)
virtual const DtEntityIdentifier & breachTargetId () const
virtual void setBreachTargetId (const DtEntityIdentifier &objId)
virtual const DtVectorbreachStPt () const
virtual void setBreachStPt (const DtVector &start)
virtual const DtVectorbreachEndPt () const
virtual void setBreachEndPt (const DtVector &end)
virtual int netRepSize () const
 ********not sure if needed Set/get global Id of breaching entity virtual void setBreachingUnitId(DtGlobalObjectDesignator& breachingDudeId); virtual const DtGlobalObjectDesignator& brechingUnitId() const; ****************************8
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 myBreachTargetName
DtEntityIdentifier myBreachTargetId
DtRwVector myBreachStPoint
DtRwVector myBreachEndPoint

Constructor & Destructor Documentation

default constructor

DtBreachTask::DtBreachTask ( const DtString writeName,
DtReaderWriterRegistry parentRegistry = 0 
)

constructor If you have a task 'put' itself, the writeName will preface the task.

DtBreachTask::DtBreachTask ( const DtString writeName,
const DtBreachTask orig,
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor

virtual DtBreachTask::~DtBreachTask ( ) [virtual]

Member Function Documentation

const DtBreachTask& DtBreachTask::operator= ( const DtBreachTask orig)

assignment operator

virtual int DtBreachTask::type ( ) const [virtual]

Returns type from tasktypes.

Implements DtSimTask.

virtual DtSimTask* DtBreachTask::clone ( const DtString name,
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

Creates a copy of this Detonate task.

Implements DtSimTask.

virtual DtString DtBreachTask::stringRep ( ) const [virtual]

Get a readable string representation of this task.

Implements DtSimTask.

virtual const DtString& DtBreachTask::breachTargetName ( ) const [virtual]

Set/get ent id of object to breach.

virtual void DtBreachTask::setBreachTargetName ( const DtString objName) [virtual]
virtual const DtEntityIdentifier& DtBreachTask::breachTargetId ( ) const [virtual]
virtual void DtBreachTask::setBreachTargetId ( const DtEntityIdentifier &  objId) [virtual]
virtual const DtVector& DtBreachTask::breachStPt ( ) const [virtual]
virtual void DtBreachTask::setBreachStPt ( const DtVector start) [virtual]
virtual const DtVector& DtBreachTask::breachEndPt ( ) const [virtual]
virtual void DtBreachTask::setBreachEndPt ( const DtVector end) [virtual]
virtual int DtBreachTask::netRepSize ( ) const [virtual]

********not sure if needed Set/get global Id of breaching entity virtual void setBreachingUnitId(DtGlobalObjectDesignator& breachingDudeId); virtual const DtGlobalObjectDesignator& brechingUnitId() const; ****************************8

Returns the size of the full network representation. Padded to an 8-byte boundary.

Reimplemented from DtSimTask.

virtual bool DtBreachTask::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Fills in the task from the network buffer.

Reimplemented from DtSimTask.

virtual bool DtBreachTask::setToNet ( ) [virtual]

Fills in the network buffer (created by base class simTask) with the task contents.

Reimplemented from DtSimTask.

static DtSimTask* DtBreachTask::creator ( ) [static]

Member Data Documentation

DtEntityIdentifier DtBreachTask::myBreachTargetId [protected]

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)