VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
5.7 - Fire and Detonation Processing

Processing of damage and fire interactions is managed by the DtDetonationManager (detonationManager.h)and the DtFireManager (fireManager.h).

They notify the appropriate entity or entities when an interaction involving them occurs.

The components work together to minimize processing of interactions. The DtFire-Manager registers for both fire and detonation interactions. The DtDetonationManager registers for detonation interactions. The DtDamageAdjudicationActuator (damageAdjudicationActuator.h) and DtUnderFireDeterminationSensor (underFireDeterminationSensor.h) register themselves, their entities, and their appropriate callback functions with the managers. When a detonation or fire interaction occurs, the fire and detonation managers determine which registered entities are affected, and notify only those entities of the interaction. Thus only the appropriate registered entities need to process the interaction.

The following figure illustrates how DtDamageAdjudicationsActuator registers for damage callbacks:

vrf_registeringdamagecallbacks.png
Registering for Damage Callbacks

The following figure illustrates processing a damage from a detonation:

vrf_processingdamage.png
Processing Damage from a Detonation

[<< Modeling Resource Consumption] [Home] [Specifying Parameters for Components >>]


Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)