24 const DtString& rwName = DtString::nullString(),
29 const DtString& rwName = DtString::nullString(),
40 const DtString& rwName = DtString::nullString(),
46 virtual void setCurrentDamageState(DtDamageState state);
47 virtual DtDamageState currentDamageState()
const;
50 virtual void setTimeToRecover(
double recoverTime);
51 virtual double timeToRecover()
const;
54 virtual void addPowerType(
const DtRwString & powerType,
const double initialLevel = 0);
57 virtual void setPowerLevel(
DtString & powerType,
const double level);
58 virtual double powerLevel(
DtString & powerType);
CumulativePowersMap myCumulativePowersMap
Keep track when we save out scenario on current level of health of the entity.
Definition: humanDamagePSR.h:74
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Holds data and provides accessors pertinent to damage adjudication. E.g. time destroyed.
Definition: damageAdjudicationPSR.h:18
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the string type of this process state repository.
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Returns a newly created instance of this class.
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
Returns a newly created copy of this object.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Definition: humanDamagePSR.h:18
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
DtRwReal myTimeToRecover
Time to recover from stunned state.
Definition: humanDamagePSR.h:77
DtDamageAdjudicationPSR & operator=(const DtDamageAdjudicationPSR &orig)
Assignment operator.
DtRwTemplatedMapPtr< DtRwString, DtRwReal > CumulativePowersMap
Definition: humanDamagePSR.h:16
DtRwInt myCurrentDamageState
Previous Damage State.
Definition: humanDamagePSR.h:71