![]() |
VR-Forces 4.0.4 Class Documentation
|
File: setDetonate.h. More...

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 DtSetDetonate & | operator= (const DtSetDetonate &orig) |
| assignment operator | |
| virtual | ~DtSetDetonate () |
| virtual int | type () const |
| Returns DtSetDetonateRequestType from setDtaTypes. | |
| virtual DtSetDataRequest * | clone (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 DtSetDataRequest * | creator () |
Protected Attributes | |
| DtRwInt | myDetonatorFuseType |
| DtRwReal | myDetonationTime |
| DtRwReal | myDetonationProximity |
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.
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] |
| 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.
| static DtSetDataRequest* DtSetDetonate::creator | ( | ) | [static] |
DtRwInt DtSetDetonate::myDetonatorFuseType [protected] |
DtRwReal DtSetDetonate::myDetonationTime [protected] |
DtRwReal DtSetDetonate::myDetonationProximity [protected] |