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

File: setDetonate.h. More...

Inheritance diagram for DtSetDetonate:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSetDetonate ()
 default constructor
 DtSetDetonate (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor If you have a task 'put' itself, the writeName will preface the task.
 DtSetDetonate (const DtString &writeName, const DtSetDetonate &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtSetDetonateoperator= (const DtSetDetonate &orig)
 assignment operator
virtual ~DtSetDetonate ()
virtual int type () const
 Returns DtSetDetonateRequestType from setDtaTypes.
virtual DtSetDataRequestclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
 Creates a copy of this request.
virtual DtString stringRep () const
 Get a readable string representation of this request.
virtual void setDetonatorFuse (const int fuse)
 Set/get fuse type.
virtual const int detonatorFuse () const
virtual void setDetonationTime (const DtReal time)
 Set/get time to delay detonation by.
virtual const DtReal detonationTime () const
virtual void setDetonationProximity (DtReal p)
 Set/Get the distance (meters) from the target object within which to detonate the munition.
virtual DtReal detonationProximity () const
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) with the request contents.

Static Public Member Functions

static DtSetDataRequestcreator ()

Protected Attributes

DtRwInt myDetonatorFuseType
DtRwReal myDetonationTime
DtRwReal myDetonationProximity

Detailed Description

File: setDetonate.h.

Class: DtSetDetonate DtSetDetonate represents a set that sets the entity to detonate its munition. Sets the fuse to be used to detonate and optionally the time delay of the detonation or the distance within which the fuse is triggered--proximity detonation.


Constructor & Destructor Documentation

default constructor

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

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

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

copy constructor

virtual DtSetDetonate::~DtSetDetonate ( ) [virtual]

Member Function Documentation

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

assignment operator

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

Returns DtSetDetonateRequestType from setDtaTypes.

Implements DtSetDataRequest.

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

Creates a copy of this request.

Implements DtSetDataRequest.

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

Get a readable string representation of this request.

Implements DtSetDataRequest.

virtual void DtSetDetonate::setDetonatorFuse ( const int  fuse) [virtual]

Set/get fuse type.

virtual const int DtSetDetonate::detonatorFuse ( ) const [virtual]
virtual void DtSetDetonate::setDetonationTime ( const DtReal  time) [virtual]

Set/get time to delay detonation by.

virtual const DtReal DtSetDetonate::detonationTime ( ) const [virtual]
virtual void DtSetDetonate::setDetonationProximity ( DtReal  p) [virtual]

Set/Get the distance (meters) from the target object within which to detonate the munition.

virtual DtReal DtSetDetonate::detonationProximity ( ) const [virtual]
virtual int DtSetDetonate::netRepSize ( ) const [virtual]

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

Reimplemented from DtSetDataRequest.

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

Fills in the task from the network buffer.

Reimplemented from DtSetDataRequest.

virtual bool DtSetDetonate::setToNet ( ) [virtual]

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

Reimplemented from DtSetDataRequest.


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)