#include <WsfDisEmission.hpp>
Inherits DisEmission.
|
| void | UpdateSensor (DisSystem *aSystemPtr, WsfSensor *aSensorPtr) |
| void | UpdateLocation (DisSystem *aSystemPtr, WsfArticulatedPart *aArticulatedPartPtr) |
| | Updates the articulated part given the DIS emission PDU location data.
|
| void | UpdateXmtr (DisBeam *aBeamPtr, WsfEM_Xmtr *aXmtrPtr, bool &aBeamOn) |
| | Updates an EM transmitter using the DIS emission PDU beam data.
|
| void | UpdateSysBeamMapping (unsigned int aSysUniqueId, unsigned int aBeamUniqueId, unsigned int aXmtrUniqueId) |
| | Update the system-beam to xmtr ID mapping.
|
◆ OverrideTypeAndFunctionCallback
◆ WsfDisEmission() [1/2]
| WsfDisEmission::WsfDisEmission |
( |
DisPdu & | aPdu, |
|
|
GenI & | aGenI, |
|
|
WsfDisInterface * | aInterfacePtr ) |
◆ WsfDisEmission() [2/2]
| WsfDisEmission::WsfDisEmission |
( |
| ) |
|
|
default |
◆ ~WsfDisEmission()
| WsfDisEmission::~WsfDisEmission |
( |
| ) |
|
|
overridedefault |
◆ GetExtEmission()
◆ Process()
| int WsfDisEmission::Process |
( |
| ) |
|
|
override |
Process the DIS Emission PDU.
References WsfExtEmission::cLEVEL_ONE_DEBUG, WsfExtEmission::cLEVEL_TWO_DEBUG, WsfObserver::DisEmissionReceived(), WsfDisUtil::FindDisPlatform(), WsfDisUtil::GetExtInterface(), WsfObject::GetName(), WsfDisPlatform::GetPlatform(), WsfDisPlatform::GetShadowPlatform(), WsfDisUtil::GetSimulation(), WsfDisUtil::GetTimeFromPdu(), WsfObject::GetType(), WsfPlatform::IsExternallyControlled(), and simTime.
Referenced by ~WsfDisEmission().
◆ UpdateLocation()
| void WsfDisEmission::UpdateLocation |
( |
DisSystem * | aSystemPtr, |
|
|
WsfArticulatedPart * | aArticulatedPartPtr ) |
Updates the articulated part given the DIS emission PDU location data.
Updates the articulated part location from the DIS emitter location data.
- Parameters
-
| aSystemPtr | [input] Pointer to the DIS emission PDU system. |
| aArticulatedPartPtr | [input] Pointer to the part to update. |
Referenced by UpdateSensor(), and WsfMilDisInterface::UpdateWeapon().
◆ UpdateSensor()
| void WsfDisEmission::UpdateSensor |
( |
DisSystem * | aSystemPtr, |
|
|
WsfSensor * | aSensorPtr ) |
Updates the sensor from the DIS emitter system data.
- Parameters
-
| aSystemPtr | [input] Pointer to the DIS emission PDU system. |
| aSensorPtr | [input] Pointer to the sensor to update. |
References WsfModeList::CanMultiSelect(), WsfSensor::DeselectMode(), WsfModeList::GetDerivedModeList(), WsfSensor::GetEM_Xmtr(), WsfSensor::GetEM_XmtrCount(), WsfSensor::GetMaximumRequestCount(), WsfEM_XmtrRcvr::GetMode(), WsfModeList::GetModeCount(), WsfMode::GetModeIndex(), WsfSensor::GetModeList(), WsfModeList::GetModeNameId(), WsfDisUtil::GetSimulation(), WsfUniqueId::GetUniqueId(), WsfEM_Xmtr::HasListeners(), WsfMode::Select(), WsfSimulation::TurnPartOff(), WsfSimulation::TurnPartOn(), UpdateLocation(), UpdateSysBeamMapping(), and UpdateXmtr().
Referenced by WsfDisInterface::UpdatePlatformSystem().
◆ UpdateSysBeamMapping()
| void WsfDisEmission::UpdateSysBeamMapping |
( |
unsigned int | aSysUniqueId, |
|
|
unsigned int | aBeamUniqueId, |
|
|
unsigned int | aXmtrUniqueId ) |
◆ UpdateXmtr()
| void WsfDisEmission::UpdateXmtr |
( |
DisBeam * | aBeamPtr, |
|
|
WsfEM_Xmtr * | aXmtrPtr, |
|
|
bool & | aBeamOn ) |
Updates an EM transmitter using the DIS emission PDU beam data.
Updates the EM transmitter from the DIS emitter beam data.
- Parameters
-
| aBeamPtr | [input] Pointer to the DIS emission PDU beam. |
| aXmtrPtr | [input] Pointer to the transmitter to update. |
| aBeamOn | [updated] Set to 'true' if the effective radiated power is > 0.0, otherwise not changed. |
References WsfExtEmission::cLEVEL_TWO_DEBUG, WsfEM_XmtrRcvr::GetAntennaGain(), WsfEM_XmtrRcvr::GetBandwidth(), GetExtEmission(), WsfEM_XmtrRcvr::GetFrequency(), WsfEM_XmtrRcvr::GetInternalLoss(), WsfEM_XmtrRcvr::GetMode(), WsfNamed::GetName(), WsfEM_XmtrRcvr::GetPolarization(), WsfEM_Xmtr::GetPulseRepetitionFrequency(), WsfEM_Xmtr::GetPulseWidth(), WsfEM_Xmtr::SetBandwidth(), WsfEM_Xmtr::SetFrequency(), WsfEM_Xmtr::SetPower(), WsfEM_Xmtr::SetPulseRepetitionFrequency(), and WsfEM_Xmtr::SetPulseWidth().
Referenced by UpdateSensor(), and WsfMilDisInterface::UpdateWeapon().
◆ OverrideTypeAndFunction
The documentation for this class was generated from the following files: