DtFireInteraction * myFire
Current outgoing fire interaction and scheduled detonation time.
Definition: warfareComponent.h:60
Instances of DtDetonationInteraction are used to communicate information associated with the impact o...
Definition: detonationInteractionHLA.h:37
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:62
~DtWarfareComponent()
Destructor.
DtEntityPublisher * myEntityPub
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:56
Definition: warfareComponent.h:20
void processDetonation(DtDetonationInteraction *detInter)
Reaction to detonation interactions affecting the owning vehicle.
void detonateMunition()
Immediately detonate the currently active munition (if any)
Part of the F18 example.
Definition: f18/vehicleSim.h:29
DtTime myDetonateTime
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:61
DtVehicleSim * myOwner
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:53
void fireMunition(const DtGlobalObjectDesignator &tg)
Fire and detonation interface delegated from DtVehicleSim.
Instances of DtEntityPublisher are used for local or source simulations of entities (i...
Definition: entityPublisherHLA.h:29
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
This file provides protocol independence for Fire Interactions.
DtEntityStateRepository * myESR
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:57
Instances of DtFireInteraction are used to represent the firing of a weapon.
Definition: fireInteractionHLA.h:35
Instances of DtReflectedEntityList are used to manage remote entities from the network.
Definition: reflectedEntityListHLA.h:38
DtWarfareComponent(DtVehicleSim *owner, DtExerciseConn *conn, DtReflectedEntityList *rel, DtEntityPublisher *entPub, DtEntityStateRepository *esr)
Construct a warfare component bound to a vehicle and its state/network context.
This file provides protocol to independence DtExerciseConn.
int checkDetonation(DtDetonationInteraction *detInter)
Evaluate whether an incoming detonation is lethal for this vehicle.
DtReflectedEntityList * myRel
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:55
DtExerciseConn * myExConn
Owning vehicle, shared context, and entity state used for fire/detonations.
Definition: warfareComponent.h:54
Instances of DtString are used to represent strings.
Definition: vlString.h:38
static void theDetonationCb(DtDetonationInteraction *inter, void *self)
Static callback handler registered with DtDetonationInteraction.
This file provides protocol independence for Detonation Interactions.
void tick()
Per-frame update driving munition timing and scheduled detonation.