89 virtual bool init()
override;
93 virtual bool createPSR();
101 static bool processDirectDetonationCallback(
const DtDetonationContext& detonationContext,
void* usr);
109 static bool processCollateralDetonationCallback(
const DtDetonationContext& detonationContext,
void* usr);
142 virtual const char*
type()
const override = 0;
153 virtual void tick()
override;
156 static void setDestroyedCallback(
DtSimMessage* msg,
void* usrData);
159 static void setRestoredCallback(
DtSimMessage* msg,
void* usrData);
162 static void setInvulnerableCallback(
DtSimMessage* msg,
void* usrData);
165 static void setFunctionDamageStatusCallback(
DtSimMessage* msg,
void* usrData);
183 virtual bool isCatastrophicallyKilled()
const;
190 virtual bool isFirepowerKilled()
const;
198 virtual bool isMobilityKilled()
const;
205 virtual bool isSensorsKilled()
const;
221 virtual bool protectedFromCollateralDamageByEmbarkation()
const;
226 virtual void determineDestroyedStatus();
231 virtual void determineDamageIfEmbarked();
236 virtual bool isRegisteredForDetonations()
const;
237 virtual void setIsRegisteredForDetonations(
bool yesOrNo);
247 virtual void setDestroyed();
251 virtual void setRestored();
258 virtual void processSetFunctionDamageStatus(
DtSimMessage* msg);
264 virtual bool registerForDetonations();
269 virtual bool unregisterForDetonations();
273 virtual void setMobilityKilled(
bool consoleWarn =
true);
277 virtual void setFirepowerKilled(
bool consoleWarn =
true);
281 virtual void setSensorsKilled(
bool consoleWarn =
true);
287 virtual void triggerDestructionExplosions();
291 virtual void updateDestructionExplosions();
298 virtual DtVector positionOnEntity(
const DtVector& percentOffset);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtDamageAdjudicationComponentDescriptor is used to specify the parameters for the DtDamageAdjudicatio...
Definition: damageAdjudicationComponentDescriptor.h:33
Holds data and provides accessors pertinent to damage adjudication. E.g. time destroyed.
Definition: damageAdjudicationPSR.h:18
Definition: simRadio.h:30
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual void setRadio(DtSimRadio *radio)
Definition: readerWriterRegistry.h:39
End User Description: DtActuator is the base class for all actuator model components. Developer Description: The DtActuator base class caches a pointer to the entity's radio for convenience. Derived classes may have articulated parts that are configured from the DtActuatorComponentDescriptor's DtSimArtPartDescriptorList. For each articulated part in the list a DtArticulatedPartStateRepository will be created to store the data for the part such as it's location, rotation and so forth. These are created in the entity's DtVrfObjectStateRepository createParts() function. This call creates all the attached parts for all the actuators. These articulated state repositories are managed by the DtAttachmentManager. They are cached by their partType which is the DIS Enumeration describing the part from the disEnums.h file and was specified in the actuator's DtActuatorComponentDescriptor as descriped above. The partType is used as the category of the DtEntityType used to look up articulated parts in the DtAttachementManager. When an actuator needs access to a particular articulated part it looks it up by the part's object type.
Definition: actuatorComponent.h:47
DtDamageAdjudicationActuator is responsible for adjudicating the damage from appropriate detonations...
Definition: damageAdjudicationActuator.h:63
std::set< DtString > myProcessedEvents
Definition: damageAdjudicationActuator.h:313
DtDamageAdjudicationComponentDescriptor * myDamageComponentDescriptor
Definition: damageAdjudicationActuator.h:301
DtPrbValueList.
Definition: prbValueList.h:19
DtHumanLocalObjectFacade myHumanLocalObjectFacade
Definition: damageAdjudicationActuator.h:311
File: simMsg.h.
Definition: simMessage.h:35
virtual bool init() override
Overridden to cache a pointer to the entity's radio in this class.
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
The DtDetonationContext contains all the information necessary for processing a Detonation Interactio...
Definition: detonationContext.h:23
DtDamageAdjudicationPSR * myProcessState
Definition: damageAdjudicationActuator.h:303
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
bool myIsRegisteredForDetonations
Keep track of whether or not we've registered detonation callbacks with detonation manager...
Definition: damageAdjudicationActuator.h:307
Definition: rwExplosionEntry.h:17
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: damageAdjudicationActuator.h:310
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object.
Definition: localObject.h:98