|
WSF
|
#include <FiresDisObserver.hpp>
Public Types | |
| typedef std::map< WsfStringId, DisEventId > | NameToEventMap |
| typedef std::map< DisEventId, WsfStringId > | EventToNameMap |
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 NameToEventMap & | GetNameToEventMap () const |
| const EventToNameMap & | GetEventToNameMap () const |
An observer that monitors dis fire and detonate pdus and performs custom processing on them.
| typedef std::map<DisEventId, WsfStringId> Fires::DisObserver::EventToNameMap |
| typedef std::map<WsfStringId, DisEventId> Fires::DisObserver::NameToEventMap |
|
explicit |
|
inline |
|
inline |
| void Fires::DisObserver::ProcessDetonationPDU | ( | DisDetonation & | aDet | ) |
| void Fires::DisObserver::ProcessFirePDU | ( | DisFire & | aFire | ) |
Perform custom processing on a fire PDU received from an external source.
References WsfComponentList::RoleIterator< T >::AtEnd(), WsfImplicitWeapon::GetCurrentEngagement(), WsfPlatform::GetIndex(), WsfWeapon::GetLaunchedPlatformType(), WsfObject::GetNameId(), WsfDisPlatform::GetPlatform(), WsfWeaponEngagement::GetSerialNumber(), and WsfObject::GetTypeId().
| 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().