WSF
Fires::DisObserver Class Reference

#include <FiresDisObserver.hpp>

Public Types

typedef std::map< WsfStringId, DisEventId > NameToEventMap
typedef std::map< DisEventId, WsfStringIdEventToNameMap

Public Member Functions

 DisObserver (WsfSimulation *aSimPtr)
void ProcessPDU (WsfDisDetonation &aDet)
 Perform custom processing on a detonation PDU received from an external source.
void ProcessFirePDU (DisFire &aFire)
 Perform custom processing on a fire PDU received from an external source.
void ProcessDetonationPDU (DisDetonation &aDet)
const NameToEventMapGetNameToEventMap () const
const EventToNameMapGetEventToNameMap () const

Detailed Description

An observer that monitors dis fire and detonate pdus and performs custom processing on them.

Member Typedef Documentation

◆ EventToNameMap

typedef std::map<DisEventId, WsfStringId> Fires::DisObserver::EventToNameMap

◆ NameToEventMap

typedef std::map<WsfStringId, DisEventId> Fires::DisObserver::NameToEventMap

Constructor & Destructor Documentation

◆ DisObserver()

Fires::DisObserver::DisObserver ( WsfSimulation * aSimPtr)
explicit

Member Function Documentation

◆ GetEventToNameMap()

const EventToNameMap & Fires::DisObserver::GetEventToNameMap ( ) const
inline

◆ GetNameToEventMap()

const NameToEventMap & Fires::DisObserver::GetNameToEventMap ( ) const
inline

◆ ProcessDetonationPDU()

void Fires::DisObserver::ProcessDetonationPDU ( DisDetonation & aDet)

◆ ProcessFirePDU()

◆ ProcessPDU()

void Fires::DisObserver::ProcessPDU ( WsfDisDetonation & aDet)

Perform custom processing on a detonation PDU received from an external source.

References WsfWeaponEngagement::Defeat(), WsfComponentList::GetComponent(), WsfImplicitWeapon::GetEngagement(), and WsfWeaponEngagement::Terminate().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved