|
WSF
|
An internal class used by WsfDisInterface to maintain information about a platform. More...
#include <WsfDisPlatform.hpp>
Public Types | |
| enum | PDUTypeType { cPDUTYPE_NOT_DEFINED = 0x00000000 , cPDUTYPE_SIGNAL = 0x00000010 , cPDUTYPE_EMISSION = 0x00000020 , cPDUTYPE_ENTITY_STATE = 0x00000040 , cPDUTYPE_TRANSMITTER = 0x00000080 } |
| using | Component = WsfDisPlatformComponent |
| using | ComponentList = WsfComponentListT<WsfDisPlatformComponent> |
Public Member Functions | |
| WsfDisPlatform (double aSimTime, WsfPlatform *aPlatformPtr, WsfDisInterface *aInterfacePtr, std::unique_ptr< DisEntityState > aEntityStatePtr, const DisEntityId &aEntityId, const DisEntityType &aEntityType, bool aIsIncomingTransfer, bool aIsOutgoingTransfer) | |
| ~WsfDisPlatform () | |
Emission PDU methods. | |
| using | SB_Key = std::pair<unsigned char, unsigned char> |
| System-Beam key - a combination of the unique IDs. | |
| using | SB_MapType = std::map<SB_Key, unsigned int> |
| using | SB_MapTypeIterator = std::map<SB_Key, unsigned int>::iterator |
| using | SB_MapTypePair = std::pair<SB_Key, unsigned int> |
| bool | GetEmissionPDU () const |
| void | SendEmissionsPDU (double aSimTime) |
| Send out the emissions PDUs that represent all the sensors on the platform. | |
| DisSystem * | GetSensorSystem (WsfSensor *aSensorPtr) |
| Given a WSF sensor, locate its corresponding DIS system. | |
| unsigned char | GetPartIdToBeamId (unsigned int aUniqueId) |
| unsigned int | GetSysBeamIdToPartId (SB_Key aSB_Key) |
| void | SetSysBeamIdToPartId (SB_Key aSB_Key, unsigned int aUniqueId) |
Miscellaneous methods. | |
| using | InitialSendDisStatusCallback = UtCallbackListN<void(WsfDisPlatform*, bool&)> |
| static InitialSendDisStatusCallback | InitialSendDisStatus |
| bool | PlatformBeingTracked (DisEntityId &anEntityId) |
| Returns indicator whether or not other platform is being tracked by this one. | |
| bool | GetSendDis () const |
| Returns indicator whether or not DIS PDUs will be sent for the platform. | |
| void | SetSendDis (bool aFlag) |
| Ability to set whether or not DIS PDUs are to be sent for this platform once the run has started. | |
| void | SetSendTransmitterPdus (bool aFlag) |
| WsfExchange::Query * | GetQueryPtr () |
| Get/Set the associated WsfExchange::Query information. | |
| WSF_DEPRECATED void | SetQueryPtr (WsfExchange::Query *aQueryPtr) |
| void | SetQueryPtr (std::unique_ptr< WsfExchange::Query > aQueryPtr) |
| void | SetDoExtrapolate (bool aFlag) |
| Set do not extrapolate flag. | |
| void | TrySendCMEData (double simTime) |
| void | SendOrQueueEmissionsPDU (double aSimTime) |
Platform methods. | |
| WsfPlatform * | GetPlatform () const |
| Get the associated platform. | |
| void | CreateEmission (double aSimTime, const DisEntityId &aDisEntityId) |
| Create the initial emission pdu pointer. | |
| bool | IsIncomingTransfer () const |
| Was this platform created in response to an incoming object transfer. | |
| bool | HasBeenReplaced () const |
| Has this platform been replaced in response to an incoming object transfer. | |
| void | SetHasBeenReplaced (bool aHasBeenReplaced) |
| Indicate if this platform has been replaced in response to an incoming object transfer. | |
| const DisEntityId & | GetEntityId () const |
| const DisEntityType & | GetEntityType () const |
| DisUint8 | GetForceId () const |
| WsfPlatform * | GetShadowPlatform () const |
| void | SetShadowPlatform (WsfPlatform *aPlatformPtr) |
| WsfDisInterface * | GetInterface () const |
| void | AddComponent (Component *aComponentPtr) |
| const ComponentList & | GetComponents () const |
Entity State PDU methods. | |
| int | AddArticulation (int aType, int aParentType, unsigned int aPublishBitmap, WsfArticulatedPart *aPartPtr, int aStartCount) |
| void | ForceUpdate (double aSimTime) |
| void | GetEntityState (double &aEntityStateUpdateTime, DisEntityState *&aEntityStatePtr) |
| void | SetEntityState (double aSimTime, DisEntityState *aEntityStatePtr) |
| DisEntityState * | GetEntityState () |
| Get the pointer to the entity state. | |
| double | GetEntityStateUpdateTime () const |
| Returns last time the entity's state was updated. | |
| void | SetEntityStateUpdateTime (double aSimTime) |
| Store the time when the entity's state is updated. | |
| double | GetLastTimeEntityStateSent () const |
| Return the last time when an entity state PDU was sent. | |
| double | GetInitialDistributionTime () const |
| Return the time the initial state PDU is to be sent. | |
| double | GetLastTimeMoverUpdated () const |
| Return the last time the mover was updated. | |
Simulation observer methods. | |
| void | Comment (double aSimTime, const std::string &aComment) |
| void | CommFrequencyChanged (double aSimTime, wsf::comm::Comm *aCommPtr) |
| void | CommTurnedOff (double aSimTime, wsf::comm::Comm *aCommPtr) |
| void | CommTurnedOn (double aSimTime, wsf::comm::Comm *aCommPtr) |
| void | MessageReceived (double aSimTime, wsf::comm::Comm *aXmtrPtr, wsf::comm::Comm *aRcvrPtr, const WsfMessage &aMessage, wsf::comm::Result &aResult) |
| void | MessageTransmitted (double aSimTime, wsf::comm::Comm *aCommPtr, const WsfMessage &aMessage) |
| void | MoverUpdated (double aSimTime, WsfExtEntityDeadReckon::PlatformDR &aDeadReckonData) |
| void | PlatformDeleted (double aSimTime) |
| void | PlatformInitialized (double aSimTime) |
| void | SensorDetectionChanged (double aSimTime, WsfSensor *aSensorPtr, size_t aTargetPlatformIndex, WsfSensorResult &aResult) |
| void | SensorFrequencyChanged (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr) |
| void | SensorModeActivated (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr) |
| void | SensorModeDeactivated (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr) |
| void | SensorRequestCanceled (double aSimTime, WsfSensor *aSensorPtr, const WsfTrack *aTrackPtr) |
| void | SensorRequestInitiated (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr, const WsfTrack *aTrackPtr) |
| void | SensorRequestUpdated (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr, const WsfTrack *aTrackPtr) |
| void | SensorScanUpdated (double aSimTime, WsfSensor *aSensorPtr) |
| void | SensorTrackDropped (double aSimTime, WsfSensor *aSensorPtr, const WsfTrack *aTrackPtr) |
| void | SensorTrackInitiated (double aSimTime, WsfSensor *aSensorPtr, const WsfTrack *aTrackPtr) |
| void | SensorTurnedOff (double aSimTime, WsfSensor *aSensorPtr) |
| void | SensorTurnedOn (double aSimTime, WsfSensor *aSensorPtr) |
| void | ResetEntityId (const DisEntityId &aDisEntityId) |
| void | SetEntityId (const DisEntityId &aDisEntityId) |
An internal class used by WsfDisInterface to maintain information about a platform.
| using WsfDisPlatform::InitialSendDisStatusCallback = UtCallbackListN<void(WsfDisPlatform*, bool&)> |
| using WsfDisPlatform::SB_Key = std::pair<unsigned char, unsigned char> |
System-Beam key - a combination of the unique IDs.
| using WsfDisPlatform::SB_MapType = std::map<SB_Key, unsigned int> |
| using WsfDisPlatform::SB_MapTypeIterator = std::map<SB_Key, unsigned int>::iterator |
| using WsfDisPlatform::SB_MapTypePair = std::pair<SB_Key, unsigned int> |
| WsfDisPlatform::WsfDisPlatform | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr, | ||
| WsfDisInterface * | aInterfacePtr, | ||
| std::unique_ptr< DisEntityState > | aEntityStatePtr, | ||
| const DisEntityId & | aEntityId, | ||
| const DisEntityType & | aEntityType, | ||
| bool | aIsIncomingTransfer, | ||
| bool | aIsOutgoingTransfer ) |
Constructor.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform associated with the DIS representation. |
| aInterfacePtr | The WsfDisInterface to be used with this representation. |
| aEntityStatePtr | The associated entity state for externally controlled entities. |
| aEntityId | The DIS Entity Id to be assigned. |
| aEntityType | The DIS Entity Type to be assigned. |
| aIsIncomingTransfer | 'true' if the platform was transferred to the application from another. |
| aIsOutgoingTransfer | 'true' if the platform will be transferred to external control. |
References WsfExtInterface::GetDeferredConnectionTime(), WsfDisInterface::GetExtInterface(), WsfDisUtil::GetExtInterface(), WsfDisInterface::GetInitialDistributionInterval(), WsfDisInterface::GetRandom(), InitialSendDisStatus, WsfPlatform::IsExternallyControlled(), WsfPlatform::IsExternallyMoved(), WsfDisPlaybackDevice::IsPlaybackEntity(), WsfExtData::SelectEntityType(), and WsfDisExt::ToDis().
| WsfDisPlatform::~WsfDisPlatform | ( | ) |
| int WsfDisPlatform::AddArticulation | ( | int | aType, |
| int | aParentType, | ||
| unsigned int | aPublishBitmap, | ||
| WsfArticulatedPart * | aPartPtr, | ||
| int | aStartCount ) |
References WsfDisArticulatedPart::CreateArticulationRecords().
Referenced by WsfDisArticulatedPartList::AddArticulatedParts().
|
inline |
Referenced by WsfMilDisInterface::PlatformCreated().
| void WsfDisPlatform::Comment | ( | double | aSimTime, |
| const std::string & | aComment ) |
References GetEntityId().
Referenced by WsfDisInterface::Comment().
| void WsfDisPlatform::CommFrequencyChanged | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
Referenced by WsfDisInterface::CommFrequencyChanged().
| void WsfDisPlatform::CommTurnedOff | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
Referenced by WsfDisInterface::CommTurnedOff().
| void WsfDisPlatform::CommTurnedOn | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
Referenced by WsfDisInterface::CommTurnedOn().
| void WsfDisPlatform::CreateEmission | ( | double | aSimTime, |
| const DisEntityId & | aDisEntityId ) |
Create the initial emission pdu pointer.
References WsfComponentList::RoleIterator< T >::AtEnd().
Referenced by PlatformInitialized().
| void WsfDisPlatform::ForceUpdate | ( | double | aSimTime | ) |
Force an update of the platform. This is called to ensure that the platform position is up-to-date and that an entity state PDU has been sent.
References WsfExtEntityDeadReckon::ForceUpdate(), WsfExtInterface::GetEntityDeadReckon(), WsfDisUtil::GetExtInterface(), GetPlatform(), and WsfPlatform::Update().
Referenced by WsfDisWeaponEvents::DirectedEnergyWeaponFired(), SendEmissionsPDU(), and SensorTurnedOn().
|
inline |
Referenced by WsfMilDisPlatform::Find().
|
inline |
Referenced by WsfDisInterface::SendPeriodicPdusWhilePaused().
|
inline |
Get the DIS Entity Id for this platform
Referenced by WsfDisVisualization::BehaviorChange(), Comment(), WsfDisWeaponEvents::DirectedEnergyWeaponFired(), WsfDisWeaponEvents::DirectedEnergyWeaponHit(), WsfWeaponServer::GenerateCommand(), WsfDisInterface::GetEntityId(), WsfDisInterface::GetEntityIdFromIndex(), WsfDisWeaponEvents::InitiateWeaponTransfer(), WsfXIO_ObjectInfoLoad::Load_Platform(), MessageReceived(), MessageTransmitted(), WsfWeaponServer::PlatformAdded(), WsfXIO_AutoDisMapping::PlatformInitialized(), WsfWeaponServer::ProcessCommand(), WsfL16::Interface::SendJMessage(), WsfL16::Interface::SendUserDefinedJMessage(), TrySendCMEData(), WsfDisMover::Update(), WsfDisVisualization::VisibleChange(), WsfL16::Interface_J11::WeaponFired(), WsfDisWeaponEvents::WeaponTerminated(), and WsfDisUtil::WsfToDisPlayers().
|
inline |
Get the pointer to the entity state.
| void WsfDisPlatform::GetEntityState | ( | double & | aEntityStateUpdateTime, |
| DisEntityState *& | aEntityStatePtr ) |
Get the current entity state PDU for externally controlled or playback entities.
This basically gets the last values set by SetEntityState().
| aEntityStateUpdateTime | The simulation time of the last update. |
| aEntityStatePtr | The entity state PDU associated with this entity. |
Referenced by WsfDisInterface::ExtrapolatePlatformState(), WsfXIO_ObjectInfoLoad::Load_Platform(), WsfDisInterface::SendPeriodicPdusWhilePaused(), and WsfDisInterface::UpdatePlatformFromEntityState().
|
inline |
Returns last time the entity's state was updated.
Referenced by WsfDisMover::Update().
|
inline |
Get the DIS Entity Type for this platform.
Referenced by WsfXIO_ObjectInfoLoad::Load_Platform(), and WsfDisWeaponEvents::WeaponTerminated().
|
inline |
Get the DIS Force Id for this platform.
Referenced by WsfDisFilterAllowance::PduAllowed(), and PlatformInitialized().
|
inline |
Return the time the initial state PDU is to be sent.
|
inline |
Referenced by WsfMilDisPlatform::WsfMilDisPlatform().
|
inline |
Return the last time when an entity state PDU was sent.
|
inline |
Return the last time the mover was updated.
| unsigned char WsfDisPlatform::GetPartIdToBeamId | ( | unsigned int | aUniqueId | ) |
|
inline |
Get the associated platform.
Referenced by WsfDisWeaponEvents::DirectedEnergyWeaponFired(), WsfDisUtil::DisToWsfPlayers(), WsfDisInterface::ExtrapolatePlatformState(), ForceUpdate(), WsfXIO_AutoDisMapping::HandlePlatformInfo(), WsfDisWeaponEvents::InitiateWeaponTransfer(), MoverUpdated(), WsfWeaponServer::PlatformAdded(), PlatformDeleted(), PlatformInitialized(), WsfDisDetonation::Process(), WsfDisDirectedEnergyFire::Process(), WsfDisEmission::Process(), WsfDisEntityDamageStatus::Process(), WsfDisEntityState::Process(), WsfDisFire::Process(), WsfDisRemoveEntity::Process(), WsfDisRepairComplete::Process(), WsfDisRepairResponse::Process(), WsfDisResupplyOffer::Process(), WsfDisResupplyReceived::Process(), WsfWeaponServer::ProcessCommand(), Fires::DisObserver::ProcessFirePDU(), SendOrQueueEmissionsPDU(), WsfWeaponServer::SetCommander(), WsfDisWeaponEvents::TransferPlatformToInternalControl(), WsfDisMover::Update(), WsfDisInterface::UpdatePlatformFromEntityState(), WsfDisWeaponEvents::WeaponTerminated(), and WsfDisUtil::WsfToDisPlayers().
|
inline |
Get/Set the associated WsfExchange::Query information.
Referenced by WsfDisExchange::ExchangeQueried(), WsfDisRepairComplete::Process(), WsfDisRepairResponse::Process(), WsfDisResupplyCancel::Process(), WsfDisResupplyOffer::Process(), WsfDisResupplyReceived::Process(), and WsfDisServiceRequest::Process().
|
inline |
Returns indicator whether or not DIS PDUs will be sent for the platform.
| DisSystem * WsfDisPlatform::GetSensorSystem | ( | WsfSensor * | aSensorPtr | ) |
Given a WSF sensor, locate its corresponding DIS system.
|
inline |
Referenced by WsfDisEmission::Process().
| unsigned int WsfDisPlatform::GetSysBeamIdToPartId | ( | WsfDisPlatform::SB_Key | aSB_Key | ) |
Referenced by WsfMilDisInterface::RemoveXmtrs().
|
inline |
Has this platform been replaced in response to an incoming object transfer.
|
inline |
Was this platform created in response to an incoming object transfer.
| void WsfDisPlatform::MessageReceived | ( | double | aSimTime, |
| wsf::comm::Comm * | aXmtrPtr, | ||
| wsf::comm::Comm * | aRcvrPtr, | ||
| const WsfMessage & | aMessage, | ||
| wsf::comm::Result & | aResult ) |
| void WsfDisPlatform::MessageTransmitted | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr, | ||
| const WsfMessage & | aMessage ) |
References wsf::comm::ComponentHW::Find(), WsfEM_XmtrRcvr::GetAntenna(), WsfEM_XmtrRcvr::GetBandwidth(), WsfExtRadioEntityType::GetCategory(), WsfExtRadioEntityType::GetCountry(), WsfExtRadioEntityType::GetDomain(), wsf::comm::ComponentHW::GetEM_Xmtr(), wsf::comm::ComponentHW::GetEM_XmtrCount(), GetEntityId(), WsfExtRadioEntityType::GetEntityKind(), WsfDisUtil::GetExtInterface(), WsfEM_XmtrRcvr::GetFrequency(), WsfEM_Antenna::GetLocationWCS(), WsfExtRadioEntityType::GetNomenclature(), WsfExtRadioEntityType::GetNomenclatureVersion(), WsfEM_Xmtr::GetPower(), and WsfEM_Xmtr::SetFrequency().
Referenced by WsfDisInterface::MessageTransmitted().
| void WsfDisPlatform::MoverUpdated | ( | double | aSimTime, |
| WsfExtEntityDeadReckon::PlatformDR & | aDeadReckonData ) |
References WsfExtEntityDeadReckon::cNO_CHANGE, wsf::EarthGravityModelExtension::Get(), WsfPlatform::GetConcealmentFactor(), WsfDisUtil::GetExtInterface(), wsf::EarthGravityModelExtension::GetGeoidUndulation(), GetPlatform(), WsfExtEntityDeadReckon::DR_State::mAccelerationWCS, WsfExtEntityDeadReckon::DR_State::mAngularRateWCS, WsfExtEntityDeadReckon::PlatformDR::mHeartbeatTimer, WsfExtEntityDeadReckon::PlatformDR::mLastUpdateType, WsfExtEntityDeadReckon::DR_State::mLocationWCS, WsfExtEntityDeadReckon::DR_State::mOrientationWCS, WsfExtEntityDeadReckon::PlatformDR::mUpdatedState, WsfExtEntityDeadReckon::DR_State::mVelocityWCS, and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::MoverUpdated().
| bool WsfDisPlatform::PlatformBeingTracked | ( | DisEntityId & | anEntityId | ) |
Returns indicator whether or not other platform is being tracked by this one.
Referenced by WsfDisFilterAllowance::PduAllowed().
| void WsfDisPlatform::PlatformDeleted | ( | double | aSimTime | ) |
References WsfDisUtil::GetExtInterface(), GetPlatform(), and SendEmissionsPDU().
Referenced by WsfDisInterface::SimulationComplete().
| void WsfDisPlatform::PlatformInitialized | ( | double | aSimTime | ) |
Perform functions that cannot be performed until the platform has been initialized.
This is called via the simulation observer interface AFTER the platform has been initialized. Some functions that were formerly taken in the constructor have been moved to here because the initialization process may alter data that is needed by those functions. (e.g.: WSF_COMPOSITE_SENSOR may mark a constituent as 'private', which indicates it is not to be sent out).
References CreateEmission(), WsfUtil::GetAuxValue(), WsfDisUtil::GetExtInterface(), GetForceId(), GetPlatform(), WsfDisPlaybackDevice::IsPlaybackEntity(), and platformPtr.
Referenced by WsfDisInterface::PlatformInitialized().
| void WsfDisPlatform::ResetEntityId | ( | const DisEntityId & | aDisEntityId | ) |
References SetEntityId().
Referenced by WsfWeaponServer::ProcessCommand().
| void WsfDisPlatform::SendEmissionsPDU | ( | double | aSimTime | ) |
Send out the emissions PDUs that represent all the sensors on the platform.
References ForceUpdate(), and WsfDisUtil::GetExtInterface().
Referenced by WsfDisInterface::ExecuteDeferredTransmitEvent(), WsfDisInterface::ExecuteSensorUpdateEvent(), PlatformDeleted(), and WsfDisInterface::SendPeriodicPdusWhilePaused().
| void WsfDisPlatform::SendOrQueueEmissionsPDU | ( | double | aSimTime | ) |
An internal method to either generate and send emission PDU's immediately or request that the I/O thread send them when possible.
References WsfSimulation::AddEvent(), WsfDisUtil::GetExtInterface(), WsfPlatform::GetIndex(), GetPlatform(), and WsfDisUtil::GetSimulation().
Referenced by MoverUpdated(), SensorDetectionChanged(), SensorFrequencyChanged(), SensorModeActivated(), SensorModeDeactivated(), SensorRequestCanceled(), SensorRequestInitiated(), SensorRequestUpdated(), SensorScanUpdated(), SensorTrackDropped(), SensorTrackInitiated(), SensorTurnedOff(), and SensorTurnedOn().
| void WsfDisPlatform::SensorDetectionChanged | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| size_t | aTargetPlatformIndex, | ||
| WsfSensorResult & | aResult ) |
References WsfEM_Interaction::mCheckedStatus, WsfEM_Interaction::mFailedStatus, and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorDetectionChanged().
| void WsfDisPlatform::SensorFrequencyChanged | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorFrequencyChanged().
| void WsfDisPlatform::SensorModeActivated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorModeActivated().
| void WsfDisPlatform::SensorModeDeactivated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorModeDeactivated().
| void WsfDisPlatform::SensorRequestCanceled | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorRequestCanceled().
| void WsfDisPlatform::SensorRequestInitiated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorRequestInitiated().
| void WsfDisPlatform::SensorRequestUpdated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfPlatformPart::IsTurnedOn(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorRequestUpdated().
| void WsfDisPlatform::SensorScanUpdated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorScanUpdated().
| void WsfDisPlatform::SensorTrackDropped | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfTrack::GetTargetIndex(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorTrackDropped().
| void WsfDisPlatform::SensorTrackInitiated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfTrack::GetTargetIndex(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorTrackInitiated().
| void WsfDisPlatform::SensorTurnedOff | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorTurnedOff().
| void WsfDisPlatform::SensorTurnedOn | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References ForceUpdate(), and SendOrQueueEmissionsPDU().
Referenced by WsfDisInterface::SensorTurnedOn().
|
inline |
Set do not extrapolate flag.
| void WsfDisPlatform::SetEntityId | ( | const DisEntityId & | aDisEntityId | ) |
Referenced by WsfWeaponServer::PlatformAdded(), and ResetEntityId().
| void WsfDisPlatform::SetEntityState | ( | double | aSimTime, |
| DisEntityState * | aEntityStatePtr ) |
Make the supplied PDU the current PDU for externally controlled or playback entities. This updates the platform to include the effects of any changes resulting from changes in the DIS appearance word or articulation records.
| aSimTime | The current simulation time. |
| aEntityStatePtr | The PDU to be associated with this entity. |
References WsfSimulation::DeletePlatform(), WsfDisUtil::GetSimulation(), and WsfDisPlaybackDevice::IsPlaybackEntity().
Referenced by WsfDisEntityState::Process().
|
inline |
Store the time when the entity's state is updated.
|
inline |
Indicate if this platform has been replaced in response to an incoming object transfer.
Referenced by WsfDisWeaponEvents::TransferPlatformToInternalControl().
| void WsfDisPlatform::SetQueryPtr | ( | std::unique_ptr< WsfExchange::Query > | aQueryPtr | ) |
| void WsfDisPlatform::SetQueryPtr | ( | WsfExchange::Query * | aQueryPtr | ) |
References SetQueryPtr().
Referenced by WsfDisExchange::ExchangeQueried(), WsfDisServiceRequest::Process(), and SetQueryPtr().
|
inline |
Ability to set whether or not DIS PDUs are to be sent for this platform once the run has started.
|
inline |
Ability to set whether or not transmitter PDUs are to be sent for this platform once the run has started.
|
inline |
| void WsfDisPlatform::SetSysBeamIdToPartId | ( | WsfDisPlatform::SB_Key | aSB_Key, |
| unsigned int | aUniqueId ) |
Referenced by WsfDisEmission::UpdateSysBeamMapping().
| void WsfDisPlatform::TrySendCMEData | ( | double | simTime | ) |
References WsfSimulation::AddEvent(), GetEntityId(), WsfDisUtil::GetSimulation(), and simTime.
|
static |
Referenced by WsfDisPlatform().