![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtWarheadDetonationActuatorPSR: More...

Public Member Functions | |
| DtWarheadDetonationActuatorPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtWarheadDetonationActuatorPSR (const DtWarheadDetonationActuatorPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor - not implemented | |
| virtual | ~DtWarheadDetonationActuatorPSR () |
| destructor | |
| DtWarheadDetonationActuatorPSR & | operator= (const DtWarheadDetonationActuatorPSR &orig) |
| assignment operator - not implemented | |
| virtual DtVrfProcessStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const |
| returns a newly created copy of this object | |
| virtual DtString | type () const |
| Returns the string type of the repository, as defined in procSRTypes.h. | |
| virtual DtWarheadType | warhead () const |
| Get the warhead type. | |
| virtual void | setWarhead (DtWarheadType wh) |
| Set the warhead type. | |
| virtual DtDetonatorFuze | fuze () const |
| Get the fuze type. | |
| virtual void | setFuze (DtDetonatorFuze fuze) |
| Set the fuze type. | |
| virtual DtString | attackerName () const |
| Get the attacker entity Name. | |
| virtual void | setAttackerName (const DtString &name) |
| Set the attacker entity Name. | |
| virtual DtString | targetName () const |
| Get the target name associated with the detonation proximity. | |
| virtual void | setTargetName (const DtString &target) |
| Set the target name associated with the detonation proximity. | |
| virtual DtReal | detonationProximity () const |
| Get the detonation proximity. | |
| virtual void | setDetonationProximity (DtReal proximity) |
| Set the detonation proximity. | |
| virtual void | setDetonationTime (DtReal time) |
| Set the detonation time. | |
| virtual DtReal | detonationTime () const |
| Get the detonation time. | |
| virtual void | setArmed (bool arm) |
| Set whether the munition is armed or not. | |
| virtual bool | armed () const |
| Get whether we're armed or not. | |
| virtual const DtSimMunition & | currentMunition () const |
| virtual DtSimMunition & | currentMunition () |
| virtual void | setCurrentMunition (const DtSimMunition ¤tMunition) |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
| Returns a newly created instance of this class. | |
Protected Attributes | |
| DtRwInt | myFuze |
| DtSimMunition | myCurrentMunition |
| DtRwBoolean | myAmArmed |
| DtRwReal | myDetonationTime |
| For timed detonations. | |
| DtRwString | myAttackerName |
| Stores the writable name of the attacker. | |
| DtRwString | myTargetName |
| DtRwReal | myDetonationProximity |
| For proximity detonation: | |
class DtWarheadDetonationActuatorPSR:
Instances of DtWarheadDetonationActuatorPSR are used to hold runtime variables for the DtWarheadDetonationActuator for checkpointing.
| DtWarheadDetonationActuatorPSR::DtWarheadDetonationActuatorPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtWarheadDetonationActuatorPSR::DtWarheadDetonationActuatorPSR | ( | const DtWarheadDetonationActuatorPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor - not implemented
| virtual DtWarheadDetonationActuatorPSR::~DtWarheadDetonationActuatorPSR | ( | ) | [virtual] |
destructor
| DtWarheadDetonationActuatorPSR& DtWarheadDetonationActuatorPSR::operator= | ( | const DtWarheadDetonationActuatorPSR & | orig | ) |
assignment operator - not implemented
| virtual DtVrfProcessStateRepository* DtWarheadDetonationActuatorPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtWarheadDetonationActuatorPSR::type | ( | ) | const [virtual] |
Returns the string type of the repository, as defined in procSRTypes.h.
Implements DtVrfProcessStateRepository.
| virtual DtWarheadType DtWarheadDetonationActuatorPSR::warhead | ( | ) | const [virtual] |
Get the warhead type.
| virtual void DtWarheadDetonationActuatorPSR::setWarhead | ( | DtWarheadType | wh | ) | [virtual] |
Set the warhead type.
| virtual DtDetonatorFuze DtWarheadDetonationActuatorPSR::fuze | ( | ) | const [virtual] |
Get the fuze type.
| virtual void DtWarheadDetonationActuatorPSR::setFuze | ( | DtDetonatorFuze | fuze | ) | [virtual] |
Set the fuze type.
| virtual DtString DtWarheadDetonationActuatorPSR::attackerName | ( | ) | const [virtual] |
Get the attacker entity Name.
| virtual void DtWarheadDetonationActuatorPSR::setAttackerName | ( | const DtString & | name | ) | [virtual] |
Set the attacker entity Name.
| virtual DtString DtWarheadDetonationActuatorPSR::targetName | ( | ) | const [virtual] |
Get the target name associated with the detonation proximity.
| virtual void DtWarheadDetonationActuatorPSR::setTargetName | ( | const DtString & | target | ) | [virtual] |
Set the target name associated with the detonation proximity.
| virtual DtReal DtWarheadDetonationActuatorPSR::detonationProximity | ( | ) | const [virtual] |
Get the detonation proximity.
| virtual void DtWarheadDetonationActuatorPSR::setDetonationProximity | ( | DtReal | proximity | ) | [virtual] |
Set the detonation proximity.
| virtual void DtWarheadDetonationActuatorPSR::setDetonationTime | ( | DtReal | time | ) | [virtual] |
Set the detonation time.
| virtual DtReal DtWarheadDetonationActuatorPSR::detonationTime | ( | ) | const [virtual] |
Get the detonation time.
| virtual void DtWarheadDetonationActuatorPSR::setArmed | ( | bool | arm | ) | [virtual] |
Set whether the munition is armed or not.
| virtual bool DtWarheadDetonationActuatorPSR::armed | ( | ) | const [virtual] |
Get whether we're armed or not.
| virtual const DtSimMunition& DtWarheadDetonationActuatorPSR::currentMunition | ( | ) | const [virtual] |
| virtual DtSimMunition& DtWarheadDetonationActuatorPSR::currentMunition | ( | ) | [virtual] |
| virtual void DtWarheadDetonationActuatorPSR::setCurrentMunition | ( | const DtSimMunition & | currentMunition | ) | [virtual] |
| static DtVrfProcessStateRepository* DtWarheadDetonationActuatorPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
DtRwInt DtWarheadDetonationActuatorPSR::myFuze [protected] |
DtRwBoolean DtWarheadDetonationActuatorPSR::myAmArmed [protected] |
For timed detonations.
Stores the writable name of the attacker.
For proximity detonation: