64 virtual bool init()
override;
84 virtual DtReal smokeTime()
const;
85 virtual void setSmokeTime(DtReal smokeTime);
90 virtual DtTime flameTime()
const;
91 virtual void setFlameTime(
DtTime flameTime);
96 virtual bool terminateOnDestroy()
const;
97 virtual void setTerminateOnDestroy(
bool yesNo);
102 virtual bool explodeWhenDestroyed()
const;
103 virtual void setExplodeWhenDestroyed(
bool b);
108 virtual bool movementKillOnOneHitZoneDamaged()
const;
109 virtual void setMovmentKillOnOneHitZoneDamaged(
bool b);
114 virtual bool weaponKillOnOneHitZoneDamaged()
const;
115 virtual void setWeaponKillOnOneHitZoneDamaged(
bool b);
120 virtual bool sensorsKillOnOneHitZoneDamaged()
const;
121 virtual void setSensorsKillOnOneHitZoneDamaged(
bool b);
125 virtual bool functionKillOnOneHitZoneDamaged(DtU8
function);
135 virtual bool showHitZoneBoundingVolumeTaskVis()
const;
136 virtual void setShowHitZoneBoundingVolumeTaskVis(
bool b);
141 virtual bool showDetonationInformationTaskVis()
const;
142 virtual void setShowDetonationInformationTaskVis(
bool b);
149 virtual bool getMunitionDirectKillProbabilities(
const DtSimMunition& munition,
150 const DtString& surface, DtReal angleOfIncidence, DtReal range,
153 virtual bool getPowerDirectKillProbabilities(
const DtSimMunition& munition,
154 const DtString& surface, DtReal angleOfIncidence, DtReal range,
157 virtual bool getMunitionCollateralDamageProbabilities(
const DtSimMunition& munition,
158 const DtString& surface, DtReal angleOfIncidence, DtReal range,
161 virtual bool getPowerCollateralDamageProbabilities(
const DtSimMunition& munition,
162 const DtString& surface, DtReal angleOfIncidence, DtReal range,
168 virtual void putSelf(std::string& fp,
int indentLevel = 0,
bool writeUnspecified =
false,
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwTemplatedMapPtr< DtRwString, DtDamageProbabilityTable > DtRwDamageByMunitionPowerMap
Definition: damageAdjudicationComponentDescriptor.h:25
DtDamageAdjudicationComponentDescriptor is used to specify the parameters for the DtDamageAdjudicatio...
Definition: damageAdjudicationComponentDescriptor.h:33
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwBoolean myShowHitZoneBoundingVolumeTaskVis
Parameter Name: show-hit-zone-bounding-volume-task-vis Parameter Description: Parameter Default Value...
Definition: damageAdjudicationComponentDescriptor.h:251
DtRwTime mySmokeTime
Parameter Name: smoke-time Parameter Description: The time the smoking appearance indicator will be t...
Definition: damageAdjudicationComponentDescriptor.h:188
virtual bool init()
Base class init does nothing, but will be called by createComponentDescriptor(), allowing derived cla...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwTime myFlameTime
Parameter Name: flame-time Parameter Description: The time the flaming appearance indicator will be t...
Definition: damageAdjudicationComponentDescriptor.h:195
std::map< DtString, double > DetonationPowerMap
Definition: damageAdjudicationComponentDescriptor.h:37
DtPrbValueList.
Definition: prbValueList.h:19
DtRwBoolean mySensorsKillOnOneHitZoneDamaged
Parameter Name: sensors-kill-on-one-hit-zone-damaged Parameter Description: If true, entity will be function killed when one hit zone associated with that function is damaged. if false, all of the hit zones associated with that function will need to be damaged for this function to be killed. Parameter Default Value: false. .
Definition: damageAdjudicationComponentDescriptor.h:246
DtRwBoolean myExplodeWhenDestroyed
Parameter Name: explode-when-destroyed Parameter Description: If true, entity will create one or more...
Definition: damageAdjudicationComponentDescriptor.h:219
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file. If write unspecified is true, will write entries that are uns...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myTerminateOnDestroy
Parameter Name: terminate-on-destroy Parameter Description: The flag that determines whether the enti...
Definition: damageAdjudicationComponentDescriptor.h:201
DtRwBoolean myShowDetonationInformationTaskVis
Parameter Name: show-detonation-information-task-vis Parameter Description: Parameter Default Value: ...
Definition: damageAdjudicationComponentDescriptor.h:256
DtRwBoolean myWeaponKillOnOneHitZoneDamaged
Parameter Name: weapon-kill-on-one-hit-zone-damaged Parameter Description: If true, entity will be function killed when one hit zone associated with that function is damaged. if false, all of the hit zones associated with that function will need to be damaged for this function to be killed. Parameter Default Value: false. .
Definition: damageAdjudicationComponentDescriptor.h:239
DtDmgMunitionTable is the parameter that specifies the damage model for an entity. An entity may choose not to have a damage model, so this class uses the setValueSpecified() capability of DtReaderWriter to support being an optional argument.
Definition: dmgMunitionTable.h:25
std::map< DtRwString, DtDamageProbabilityTable > DtDamageByMunitionPowerMap
Definition: damageAdjudicationComponentDescriptor.h:28
bool myOwnDamageModel
Definition: damageAdjudicationComponentDescriptor.h:259
DtSimMunition class.
Definition: simMunition.h:31
DtRwDamageByMunitionPowerMap myDamageModelByMunitionPower
Parameter Name: damage-by-munition-power Parameter Description: Damage model based on the power of th...
Definition: damageAdjudicationComponentDescriptor.h:213
static const DtFilename & appPath()
Gets the current working directory. The first time this accessor is called, it determines the current...
DtRwExplosionList myExplosionList
Parameter Name: explosion-list Parameter Description: List of explosions that will occur when the ent...
Definition: damageAdjudicationComponentDescriptor.h:225
DtRwBoolean myMovementKillOnOneHitZoneDamaged
Parameter Name: movement-kill-on-one-hit-zone-damaged Parameter Description: If true, entity will be function killed when one hit zone associated with that function is damaged. if false, all of the hit zones associated with that function will need to be damaged for this function to be killed. Parameter Default Value: false. .
Definition: damageAdjudicationComponentDescriptor.h:232
const DtDmgMunitionTable * myDamageModel
Parameter Name: damage-model Parameter Description: Damage model for direct or collateral damage from...
Definition: damageAdjudicationComponentDescriptor.h:207