|
WSF
|
#include <WsfDisInterface.hpp>


Public Types | |
| using | DeviceList = std::vector<WsfDisDevice*> |
| Public Types inherited from WsfDisInput | |
| using | Component = WsfDisComponent |
| using | ComponentList = WsfComponentListT<WsfDisComponent> |
| using | ArticulationVec = std::vector<Articulation> |
| using | ArticulationMap = std::map<WsfStringId, ArticulationVec> |
Public Member Functions | |
| WsfDisInterface (WsfDisInput &aScenario, WsfSimulation &aSim, WsfExtInterface *aExtInterfacePtr) | |
| void | AddedToSimulation () override |
| bool | Initialize () override |
| ~WsfDisInterface () override | |
| bool | PrepareExtension () override |
| bool | ActivateConnection (double aSimTime) |
| WsfDisPlatform * | AddExternalPlatform (double aSimTime, std::unique_ptr< WsfDisEntityState > aEntityPtr) |
| bool | ClearIgnoredSiteAndApp (unsigned short aSite, unsigned short aApp) |
| Remove a site/application from the ignored site/application list. | |
| bool | ClearIgnoredSitesAndApps () |
| WsfDisPlatform * | FindDisPlatform (const DisEntityId &aEntityId) |
| double | GetSimTime () const |
| WsfDisPlatform * | GetDisPlatform (size_t aPlatformIndex) |
| size_t | GetDisPlatformCount () const |
| WsfExtEntityDeadReckon * | GetDeadReckonPtr () |
| void | GetEntityId (WsfPlatform *aPlatformPtr, DisEntityId &aEntityId) |
| Return the DIS Entity ID of the given platform. | |
| void | GetEntityIdFromIndex (size_t aPlatformIndex, DisEntityId &aEntityId) |
| double | GetEntityOrientationThreshold () const |
| Return the orientation threshold (radians). | |
| double | GetEntityPositionThreshold () const |
| Return the entity position threshold (meters). | |
| double | GetHeartbeatTimer () const |
| Return the heartbeat timer (seconds). | |
| double | GetHeartbeatMultiplier () const |
| Return the heartbeat multiplier. | |
| double | GetTimeFromPdu (DisPdu &aPdu) const |
| bool | GetAutostart () const |
| unsigned int | GetPutCounter () const |
| Returns number of sent DIS PDUs. | |
| void | SetPutCounter (int aCount) |
| Sets the number of sent DIS PDUs. | |
| bool | HasInputDevice () const |
| Returns true if at least device is configured for receiving DIS PDU's. | |
| bool | HasOutputDevice () const |
| Returns true if at least device is configured for sending DIS PDU's. | |
| bool | HasExternalDevice () const |
| Returns true if at least one device is a external device. | |
| bool | HasDevice () const |
| Returns true if a device is configured for sending or receiving PDU's. | |
| unsigned int | GetDeviceCount () const |
| WsfDisDevice * | GetDevice (unsigned int aIndex) |
| DeviceList & | GetDeviceList () |
| int | GetSendPort () const |
| Returns the send port used for DIS output. | |
| int | GetRcvPort () const |
| Returns the receive port used for DIS input. | |
| double | GetInitialDistributionInterval () |
| Returns initial distribution time. | |
| DisPduFactory * | GetPduFactory () |
| DisPdu * | GetPdu () |
| ut::Random & | GetRandom () |
| Get the local random number generator. | |
| void | PutPdu (double aSimTime, std::unique_ptr< DisPdu > aPduPtr) |
| void | ImmediatePutPdu (double aSimTime, DisPdu &aPduPtr) |
| void | SetHeartbeatMultiplier (double aValue) |
| void | SetPduFactory (DisPduFactory *aFactoryPtr) |
| bool | GetSuppressDisOutput () |
| void | SetSuppressDisOutput (bool aFlag) |
| bool | GetSuppressEmissionsData () const |
| bool | SuppressAllNonStandardPDUs () |
| const WsfScenario & | GetScenario () const |
| Public Member Functions inherited from WsfSimulationExtension | |
| WsfSimulationExtension () | |
| ~WsfSimulationExtension () override=default | |
| WsfSimulation & | GetSimulation () const |
| const WsfScenario & | GetScenario () const |
| virtual bool | PlatformsInitialized () |
| virtual void | PendingStart () |
| virtual void | Start () |
| virtual void | Complete (double aSimTime) |
| Public Member Functions inherited from WsfExtension | |
| virtual | ~WsfExtension ()=default |
| const std::string & | GetExtensionName () const |
| Public Member Functions inherited from WsfDisInput | |
| WsfDisInput () | |
| bool | ProcessInput (WsfScenario &aScenario, UtInput &aInput) |
| bool | ProcessBlockInput (WsfScenario &aScenario, UtInput &aInput) |
| std::vector< DeviceConfiguration > & | GetDeviceConfigurations () |
| Return whether device configurations for evaluation. | |
| bool | ProcessDeviceInput (WsfScenario &aScenario, UtInput &aInput, DeviceConfiguration &aConfiguration) |
| bool | ProcessFilterAllowance (UtInput &aInput, WsfDisFilterAllowance &aAllowance) |
| std::set< std::pair< unsigned short, unsigned short > > & | GetIgnoredSiteAndApps () |
| Returns the list of ignored sites and applications. | |
| bool | GetIgnoredSiteAndApplicationPair (unsigned int aIndex, std::pair< unsigned short, unsigned short > &aSiteAndAppPair) |
| Returns a site and application begin filtered out by index. | |
| bool | IgnoreSiteAndApplication (unsigned short aSite, unsigned short aApp) |
| bool | IsTerseMode () const |
| bool | UseSimpleAccelerations () const |
| bool | SuppressNonStandardData () const |
| Returns 'true' if the DIS interface is only sending standard DIS data. | |
| bool | MultiThreaded () const |
| bool | DebugEnabled () const |
| void | SuppressNonStandardData (bool aDoSupress) |
| Called by WsfDisInterface to disable output of non-DIS standard data. | |
| bool | UseTrackJamForTrackingRequests () |
| Is the sensor track-jam list being used to indicate a tracking request. | |
| bool | SuppressCME_PassiveSensor () const |
| bool | SuppressCME_EntityData () const |
| bool | SuppressCME_DetectBeam () const |
| double | GetSensorUpdateInterval () const |
| int | GetTimeToLive () const |
| const WsfDisArticulatedPart::ArticulationList & | GetArticulationList () const |
| void | AddComponent (Component *aComponentPtr) |
| const ComponentList & | GetComponents () const |
Static Public Member Functions | |
| static WsfDisInterface * | Find (const WsfSimulation &aSimulation) |
| static void | ReadEntityId (UtInput &aInput, DisEntityId &aEntityId) |
| static void | ReadEntityType (UtInput &aInput, DisEntityType &aEntityType) |
| static void | __private_SetSim (WsfSimulationExtension &aExtension, WsfSimulation *aSimPtr) |
| Static Public Member Functions inherited from WsfDisInput | |
| static bool | ValidSignatureTypeName (std::string &aType) |
Static Public Attributes | |
| static DisUint16 | cSHADOW_SITE = 0x7FFF |
| static DisUint16 | cMIN_PLAYBACK_SITE |
| static DisUint16 | cMAX_PLAYBACK_SITE |
Friends | |
| class | WsfDisPlatform |
| class | WsfDisEntityState |
XIO auto_mapping support. | |
| using | DelayEntityStateFn = bool (*)(WsfDisInterface& aInterfacePtr, const DisEntityId& aEntityId) |
| using | CreatePlatformFn |
| static void | SimTimeToDisClockTime (double aSimTime, DisClockTime &aClockTime) |
| void | SetDelayEntityStateFunction (DelayEntityStateFn aDelayFn) |
| void | SetCreateDisPlatformFunction (CreatePlatformFn aModifyFn) |
| void | ResumeEntityStateProcessing (double aSimTime, const DisEntityId &aEntityId) |
| void | AdvanceTime (double aSimTime) |
| void | Comment (double aSimTime, WsfPlatform *aPlatformPtr, 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 | FrameComplete (double aSimTime) |
| void | FramePlatformsUpdated (double aSimTime) |
| void | FrameStarting (double aSimTime) |
| bool | UseSimpleOrientationRate () |
| bool | UseWorldToBodyAngularVelocities () |
| bool | ZeroWorldToBodyAngularVelocities () |
| bool | IgnoreStopFreezePDU () |
| 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 | PlatformAdded (double aSimTime, WsfPlatform *aPlatformPtr) |
| void | PlatformDeleted (double aSimTime, WsfPlatform *aPlatformPtr) |
| void | PlatformInitialized (double aSimTime, WsfPlatform *aPlatformPtr) |
| void | RequestTimeAdvance (double aSimTime, double aMaxRate, double aTimeStep) |
| 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 | SimulationPausing () |
| void | SimulationResuming () |
| void | SimulationComplete (double aSimTime) |
| void | SimulationDestroyed (WsfSimulation *aSimulationPtr) |
| void | SimulationStarting () |
| DisUint32 | GetNextRequestNumber () |
| DisUint8 | GetReliabilityService () const |
| bool | PauseIsInProgress () const |
| void | SendPeriodicPdusWhilePaused (std::vector< unsigned int > &aEntityIndices) |
| void | SendDateAndTime (WsfDisDevice &aDevice, const DisEntityId &aReceivingId, const UtCalendar &aDateTime) |
| Send the start date and time in a SetData PDU. | |
| bool | ShouldJoinExercise () const |
| void | WriteEntityTypes (std::ostream &aStream) |
| WsfExtInterface * | GetExtInterface () const |
| WsfExtEmission * | GetExtEmission () const |
| WsfDisArticulatedPartList * | GetArticulatedParts () const |
| void | EnableFiltering () |
| void | ResetFiltering () |
| std::map< DisEntityId, WsfDisPlatform * > & | GetEntityIdToDisPlatform () |
Methods for dealing for updating PDU's from WSF objects and vis-versa. | |
| void | ExtrapolatePlatformState (double aSimTime, WsfDisPlatform *aDisPlatformPtr) |
| Called from WsfDisMover to update the platform state by extrapolating from the last received entity state. | |
| void | PrepareFinalEntityState (double aSimTime, WsfPlatform *aPlatformPtr, DisEntityState *aEntityStatePtr) |
| bool | UpdateAppearanceFromPlatform (double aSimTime, WsfPlatform *aPlatformPtr, DisEntityState *aEntityStatePtr) |
| Update the DIS appearance word from the platform state. | |
| void | UpdatePlatformFromAppearance (double aSimTime, WsfPlatform *aPlatformPtr, DisEntityState *aEntityStatePtr) |
| Update the platform state from the DIS appearance word. | |
| void | UpdatePlatformFromEntityState (double aSimTime, WsfDisPlatform *aDisPlatformPtr, DisEntityState *aEntityStatePtr) |
| void | UpdatePlatformSystem (WsfPlatform *aPlatformPtr, WsfDisEmission *aEmissionPtr, DisSystem *aSystemPtr) |
| void | SetBeamTypeAndFunction (WsfPlatformPart *aPartPtr, WsfStringId aModeNameId, int aBeamNumber, DisBeam *aBeamPtr, DisEnum8 aDefaultFunction) |
| void | SetEmitterTypeAndFunction (WsfPlatformPart *aPartPtr, DisSystem *aSystemPtr) |
| void | UpdateBeamFromXmtr (WsfEM_Xmtr &aXmtr, DisBeam *aBeamPtr, double aMinAz, double aMaxAz, double aMinEl, double aMaxEl) |
| Update a DIS Beam record from a Transmitter object. | |
| void | UpdateXmtrFromBeam (WsfDisEmission *aEmissionPtr, DisBeam *aBeamPtr, WsfEM_Xmtr *aXmtrPtr, bool &aBeamOn) |
| void | UpdateSystemFromSensor (WsfSensor *aSensorPtr, DisSystem *aSystemPtr) |
| Update a DIS System record from a Sensor object. | |
| void | UpdateLastSimTime (double aSimTime) |
| bool | IsDeferredConnection () const |
| void | ExecuteDeferredTransmitEvent (double aSimTime, size_t aPlatformIndex) |
| double | ExecuteSensorUpdateEvent (double aSimTime) |
| void | InitializeInputData () |
| Called by WsfDisInterface to reinitialize input to default values. | |
| void | ReceivedBadEntityState () |
| bool | GetEntityType (WsfStringId aTypeName, DisEntityType &aEntityType) const |
| Given a type name, select a DIS entity type. | |
Additional Inherited Members | |
| Public Attributes inherited from WsfDisInput | |
| union { | |
| struct { | |
| bool mMultiThreaded: 1 | |
| bool mDebugEnabled: 1 | |
| bool mShadowAll: 1 | |
| bool mLogCreatedEntities: 1 | |
| bool mSuppressCommData: 1 | |
| bool mSuppressEmissionsData: 1 | |
| bool mSendPeriodicsWhilePaused: 1 | |
| bool mDebugAppearanceUpdates: 1 | |
| bool mUsePduTime: 1 | |
| bool mAutostart: 1 | |
| bool mUseSimpleAccelerations: 1 | |
| bool mTerseMode: 1 | |
| bool mUseSimpleOrientRates: 1 | |
| Use the calculated simple orientation rates. More... | |
| bool mJoinExercise: 1 | |
| Join an exercise for non-realtime simulation. More... | |
| bool mUseTrackJamForTrackingRequests: 1 | |
| bool mSimpleMissReporting: 1 | |
| bool mDebugThread: 1 | |
| bool mUseWorldToBodyAngularVelocities: 1 | |
| Force the world (Euler) angular velocities to body axis angular velocities. More... | |
| bool mZeroBodyAngularVelocities: 1 | |
| Zero out the world (Euler) angular velocities to body axis angular velocities. More... | |
| bool mIgnoreStopFreezePDU: 1 | |
| Ignore the Stop/Freeze PDU; can be used by simulations running asynchronously. More... | |
| bool mSuppressCME_DetectBeam: 1 | |
| Deprecated commands. More... | |
| bool mSuppressCME_EntityData: 1 | |
| 'true' if the non-standard 'other' PDU used for CME entity data should NOT be sent. More... | |
| bool mSuppressCME_DrawData: 1 | |
| 'true' if the non-standard practice of sending WsfDraw PDUs across the network should NOT take place More... | |
| bool mSuppressCME_PassiveSensor: 1 | |
| 'true' if the non-standard practice of sending emissions PDUs for passive sensors should NOT take place. More... | |
| bool mUseDeprecatedCME_DrawData: 1 | |
| 'true' if the WsfDraw DIS 'Other' PDUs containing draw commands will be sent using the deprecated format. More... | |
| bool mSuppressNonStandardData: 1 | |
| 'true' if WSF will only output standard DIS data. More... | |
| } | |
| unsigned int mFlags | |
| }; | |
| unsigned | mMaxBadPDU_Count |
| int | mMulticastTimeToLive |
| double | mThreadSleepTime |
| Protected Types inherited from WsfDisInput | |
| using | RangeFilteredPlatforms = std::vector<std::tuple<WsfStringId, size_t, double>> |
| using | NameTypeToStateIdPair = std::pair<WsfStringId, int> |
| using | StringToStateIdPair = std::pair<std::string, WsfStringId> |
| using | StringToStateIdVec = std::vector<StringToStateIdPair> |
| using | IdIdToStringIDMap = std::map<NameTypeToStateIdPair, StringToStateIdVec> |
| using | IdIdToStringIDMapIter = std::map<NameTypeToStateIdPair, StringToStateIdVec>::iterator |
| Protected Member Functions inherited from WsfExtension | |
| void | InitializeExtensionName (const std::string &aName) |
| Protected Member Functions inherited from WsfDisInput | |
| bool | ProcessArticulatedPart (UtInput &aInput) |
| Protected Attributes inherited from WsfDisInput | |
| std::set< WsfStringId > | mShadowTypeId |
| std::set< WsfStringId > | mShadowNameId |
| std::vector< DeviceConfiguration > | mDeviceConfigurations |
| RangeFilteredPlatforms | mRangeFilteredPlatforms |
| std::set< WsfExtEntityType > | mIgnoredTypes |
| std::set< DisEnum8 > | mIgnoredPduTypes |
| std::set< std::pair< unsigned short, unsigned short > > | mIgnoredSiteAndApps |
| std::set< std::pair< unsigned short, unsigned short > > | mIgnoredKindAndDomain |
| double | mInputHeartbeatMultiplier |
| double | mSensorUpdateInterval |
| IdIdToStringIDMap | mAfterBurnerByName |
| IdIdToStringIDMap | mAfterBurnerByType |
| ArticulationMap | mArticulationByName |
| Map for changing appearance (signatures, etc.) via articulated parts. | |
| ArticulationMap | mArticulationByType |
| IdIdToStringIDMap | mConfigIdByName |
| IdIdToStringIDMap | mConfigIdByType |
| WsfDisArticulatedPart::ArticulationList | mArticulationList |
| bool | sDebugEnabled |
| std::set< int > | sExcludedPlatformTypes |
| ComponentList | mComponents |
This is the 'private' part of WsfDisInterface.
The DIS interface has been split into two parts in order to allow the compilation of a WSF application without requiring the presence of the DIS or GenIO include files (obviously they would still be required for linking!).
The private part contains all the references to any of the DIS objects.
| using WsfDisInterface::DelayEntityStateFn = bool (*)(WsfDisInterface& aInterfacePtr, const DisEntityId& aEntityId) |
| using WsfDisInterface::DeviceList = std::vector<WsfDisDevice*> |
| WsfDisInterface::WsfDisInterface | ( | WsfDisInput & | aScenario, |
| WsfSimulation & | aSim, | ||
| WsfExtInterface * | aExtInterfacePtr ) |
References AdvanceTime(), WsfObserver::AdvanceTime(), CommFrequencyChanged(), WsfObserver::CommFrequencyChanged(), CommTurnedOff(), WsfObserver::CommTurnedOff(), CommTurnedOn(), WsfObserver::CommTurnedOn(), MessageReceived(), WsfObserver::MessageReceived(), MessageTransmitted(), WsfObserver::MessageTransmitted(), PlatformAdded(), WsfObserver::PlatformAdded(), PlatformDeleted(), WsfObserver::PlatformDeleted(), PlatformInitialized(), WsfObserver::PlatformInitialized(), RequestTimeAdvance(), WsfObserver::RequestTimeAdvance(), SensorDetectionChanged(), WsfObserver::SensorDetectionChanged(), SensorFrequencyChanged(), WsfObserver::SensorFrequencyChanged(), SensorModeActivated(), WsfObserver::SensorModeActivated(), SensorModeDeactivated(), WsfObserver::SensorModeDeactivated(), SensorRequestCanceled(), WsfObserver::SensorRequestCanceled(), SensorRequestInitiated(), WsfObserver::SensorRequestInitiated(), SensorRequestUpdated(), WsfObserver::SensorRequestUpdated(), SensorScanUpdated(), WsfObserver::SensorScanUpdated(), SensorTrackDropped(), WsfObserver::SensorTrackDropped(), SensorTrackInitiated(), WsfObserver::SensorTrackInitiated(), SensorTurnedOff(), WsfObserver::SensorTurnedOff(), SensorTurnedOn(), WsfObserver::SensorTurnedOn(), SimulationComplete(), WsfObserver::SimulationComplete(), SimulationPausing(), WsfObserver::SimulationPausing(), SimulationResuming(), WsfObserver::SimulationResuming(), SimulationStarting(), WsfObserver::SimulationStarting(), SuppressAllNonStandardPDUs(), WsfDisInput::WsfDisInput(), and WsfSimulationExtension::WsfSimulation.
Referenced by Find().
|
override |
| bool WsfDisInterface::ActivateConnection | ( | double | aSimTime | ) |
Activate the network connection.
This method is called by WsfDisInterface::ActivateDeferredConnectionEvent::Execute(), or during Initialize(), to activate the network connection.
References WsfDisDevice::AddFilterAllowance(), WsfDisDevice::cDEVICE_BROADCAST, WsfDisDevice::cDEVICE_MULTICAST, WsfDisDevice::cDEVICE_PLAYBACK, WsfDisDevice::cDEVICE_RECORD, WsfDisDevice::cDEVICE_UNICAST, WsfDisFilterAllowance::cENTITYFORCE, WsfDisFilterAllowance::cENTITYTYPE, WsfDisFilterAllowance::cTRACKED, GetReliabilityService(), WsfSimulationExtension::GetSimulation(), WsfDisActionRequest::MakeJoinExerciseRequest(), WsfDisActionRequestR::MakeJoinExerciseRequest(), WsfDisInput::mAutostart, WsfDisInput::mDeviceConfigurations, WsfDisFilterAllowance::mEntityForceId, WsfDisFilterAllowance::mEntitySide, WsfDisFilterAllowance::mEntityType, WsfDisFilterAllowance::mEntityTypeName, WsfDisFilterAllowance::mFilterType, WsfDisInput::mJoinExercise, WsfDisInput::mMulticastTimeToLive, WsfDisInput::mSuppressCME_DrawData, WsfDisInput::mSuppressNonStandardData, WsfDisFilterAllowance::mTrackedFlag, WsfDisFilterAllowance::mTrackingForceId, WsfDisFilterAllowance::mTrackingSide, WsfDisInput::mUseDeprecatedCME_DrawData, ok, WsfDisDevice::PutPdu(), WsfDisPlaybackDevice::Reset(), SendDateAndTime(), WsfSimulation::SetIsExternallyStarted(), WsfSimulation::SubstituteOutputFileVariables(), and WsfDisExt::ToDis().
Referenced by PrepareExtension().
|
overridevirtual |
Called in response to WsfSimulation::RegisterExtension. The extension has now been registered in the simulation.
Reimplemented from WsfSimulationExtension.
References WsfDisInput::mComponents.
| WsfDisPlatform * WsfDisInterface::AddExternalPlatform | ( | double | aSimTime, |
| std::unique_ptr< WsfDisEntityState > | aEntityPtr ) |
Create a DIS platform extension that corresponds to the specified Entity State PDU.
| aSimTime | The current simulation time. |
| aEntityPtr | The entity state PDU. |
References WsfDisPlatform.
| void WsfDisInterface::AdvanceTime | ( | double | aSimTime | ) |
References GetPdu(), HasInputDevice(), and WsfDisInput::mMultiThreaded.
Referenced by WsfDisInterface().
| bool WsfDisInterface::ClearIgnoredSiteAndApp | ( | unsigned short | aSite, |
| unsigned short | aApp ) |
Remove a site/application from the ignored site/application list.
References WsfDisInput::mIgnoredSiteAndApps, and ok.
| bool WsfDisInterface::ClearIgnoredSitesAndApps | ( | ) |
References WsfDisInput::mIgnoredSiteAndApps.
| void WsfDisInterface::Comment | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr, | ||
| const std::string & | aComment ) |
| void WsfDisInterface::CommFrequencyChanged | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
| void WsfDisInterface::CommTurnedOff | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
References WsfDisPlatform::CommTurnedOff(), WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::CommTurnedOn | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr ) |
References WsfDisPlatform::CommTurnedOn(), WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), and WsfDisPlatform.
Referenced by PrepareExtension(), and WsfDisInterface().
|
inline |
| void WsfDisInterface::ExecuteDeferredTransmitEvent | ( | double | aSimTime, |
| size_t | aPlatformIndex ) |
This is called by the internal DeferredTransmitEvent to send out an Emission PDU.
Numerous events that require transmitting an Emissions PDU may occur almost simultaneously. In order to avoid sending a PDU with each event, the first event will schedule an event that will trigger a very short time (0.001 seconds) in the future. The event will call this routine while will then send the PDU. All of events that occur during the first event and the time the transmission event will simply update the DIS system/beams as required. The transmitted PDU will then contain the sum of the effects of the events in a single PDU.
This is necessary to account for such a situation as when a single detection could cause a transition into detect state and then into track state (1-out-of-1). Without this, two PDU's would be sent for the same time, which causes problems to some receivers.
References GetDisPlatform(), WsfDisPlatform::SendEmissionsPDU(), and WsfDisPlatform.
| double WsfDisInterface::ExecuteSensorUpdateEvent | ( | double | aSimTime | ) |
This is called by the internal SensorUpdateEvent to send out Emission PDU's in support of the 'sensor_update_interval'.
References GetDisPlatform(), WsfSimulationExtension::GetSimulation(), WsfSimulation::GetTimestep(), WsfDisInput::mSensorUpdateInterval, WsfDisPlatform::SendEmissionsPDU(), and WsfDisPlatform.
| void WsfDisInterface::ExtrapolatePlatformState | ( | double | aSimTime, |
| WsfDisPlatform * | aDisPlatformPtr ) |
Called from WsfDisMover to update the platform state by extrapolating from the last received entity state.
References wsf::EarthGravityModelExtension::Get(), wsf::TerrainInterface::Get(), WsfDisPlatform::GetEntityState(), wsf::EarthGravityModelExtension::GetGeoidUndulation(), WsfDisPlatform::GetPlatform(), GetScenario(), WsfDisPlaybackDevice::IsPlaybackEntity(), platformPtr, and WsfDisPlatform.
|
static |
| WsfDisPlatform * WsfDisInterface::FindDisPlatform | ( | const DisEntityId & | aEntityId | ) |
Find the DIS platform with the specified entity ID.
References WsfDisPlatform.
Referenced by WsfDisUtil::DisToWsfPlayers(), and WsfDisUtil::FindDisPlatform().
| void WsfDisInterface::FrameComplete | ( | double | aSimTime | ) |
| void WsfDisInterface::FramePlatformsUpdated | ( | double | aSimTime | ) |
| void WsfDisInterface::FrameStarting | ( | double | aSimTime | ) |
|
inline |
|
inline |
Return whether we have directed the simulation to autostart when in networked mode.
References WsfDisInput::mAutostart.
|
inline |
|
inline |
|
inline |
|
inline |
| WsfDisPlatform * WsfDisInterface::GetDisPlatform | ( | size_t | aPlatformIndex | ) |
Get the DIS platform extension given a platform index.
References WsfDisPlatform.
Referenced by ExecuteDeferredTransmitEvent(), ExecuteSensorUpdateEvent(), WsfDisUtil::GetDisPlatform(), WsfXIO_ObjectInfoLoad::Load_Platform(), WsfDisFilterAllowance::PduAllowed(), PlatformInitialized(), SendPeriodicPdusWhilePaused(), WsfL16::Interface_J11::WeaponFired(), and WsfDisUtil::WsfToDisPlayers().
|
inline |
Referenced by WsfDisFilterAllowance::PduAllowed().
| void WsfDisInterface::GetEntityId | ( | WsfPlatform * | aPlatformPtr, |
| DisEntityId & | aEntityId ) |
Return the DIS Entity ID of the given platform.
References WsfDisPlatform::GetEntityId(), WsfPlatform::GetIndex(), and WsfDisPlatform.
Referenced by WsfMilDisPlatform::UpdateJammerSystem().
| void WsfDisInterface::GetEntityIdFromIndex | ( | size_t | aPlatformIndex, |
| DisEntityId & | aEntityId ) |
Return the DIS Entity ID of the given platform index.
References WsfDisPlatform::GetEntityId(), and WsfDisPlatform.
Referenced by WsfDisUtil::GetEntityIdFromIndex().
|
inline |
|
inline |
Return the orientation threshold (radians).
|
inline |
Return the entity position threshold (meters).
| bool WsfDisInterface::GetEntityType | ( | WsfStringId | aTypeName, |
| DisEntityType & | aEntityType ) const |
Given a type name, select a DIS entity type.
References WsfDisExt::ToDis().
| WsfExtEmission * WsfDisInterface::GetExtEmission | ( | ) | const |
Referenced by SetEmitterTypeAndFunction(), UpdatePlatformSystem(), and UpdateXmtrFromBeam().
|
inline |
|
inline |
Return the heartbeat multiplier.
|
inline |
Return the heartbeat timer (seconds).
|
inline |
Returns initial distribution time.
Referenced by WsfDisPlatform::WsfDisPlatform().
|
inline |
Referenced by WsfDisUtil::GetNextRequestNumber().
| DisPdu * WsfDisInterface::GetPdu | ( | ) |
Attempt to receive a PDU from a connection.
References WsfDisDevice::GetPdu(), and GetPduFactory().
Referenced by AdvanceTime().
|
inline |
Referenced by GetPdu().
|
inline |
Returns number of sent DIS PDUs.
| ut::Random & WsfDisInterface::GetRandom | ( | ) |
Get the local random number generator.
Referenced by WsfDisPlatform::WsfDisPlatform().
| int WsfDisInterface::GetRcvPort | ( | ) | const |
Returns the receive port used for DIS input.
Return the receive port for DIS inputs.
|
inline |
Referenced by ActivateConnection(), WsfDisUtil::GetReliabilityService(), and RequestTimeAdvance().
| const WsfScenario & WsfSimulationExtension::GetScenario | ( | ) | const |
Returns the scenario in which this extension is registered.
Referenced by ExtrapolatePlatformState(), and WsfDisUtil::GetScenario().
| int WsfDisInterface::GetSendPort | ( | ) | const |
Returns the send port used for DIS output.
Return the send port for DIS inputs.
|
inline |
Referenced by UpdatePlatformSystem().
|
inline |
|
inline |
References WsfDisInput::mSuppressEmissionsData.
| double WsfDisInterface::GetTimeFromPdu | ( | DisPdu & | aPdu | ) | const |
Return the simulation time corresponding to a timestamp in a PDU
| aPdu | The PDU from which the time is be extracted. |
References WsfDisInput::mUsePduTime, and simTime.
Referenced by WsfDisUtil::GetTimeFromPdu().
|
inline |
Returns true if a device is configured for sending or receiving PDU's.
References HasInputDevice(), and HasOutputDevice().
Referenced by CommFrequencyChanged(), CommTurnedOff(), CommTurnedOn(), MessageReceived(), MessageTransmitted(), MoverUpdated(), PlatformInitialized(), PrepareExtension(), SensorDetectionChanged(), SensorFrequencyChanged(), SensorModeActivated(), SensorModeDeactivated(), SensorRequestCanceled(), SensorRequestInitiated(), SensorRequestUpdated(), SensorScanUpdated(), SensorTrackDropped(), SensorTrackInitiated(), SensorTurnedOff(), and SensorTurnedOn().
|
inline |
Returns true if at least one device is a external device.
|
inline |
Returns true if at least device is configured for receiving DIS PDU's.
Referenced by AdvanceTime(), HasDevice(), and PrepareExtension().
|
inline |
Returns true if at least device is configured for sending DIS PDU's.
Referenced by Comment(), HasDevice(), and PutPdu().
|
inline |
References WsfDisInput::mIgnoreStopFreezePDU.
| void WsfDisInterface::ImmediatePutPdu | ( | double | aSimTime, |
| DisPdu & | aPdu ) |
Immediately send a PDU out over the current connections.
| aSimTime | The current simulation time. |
| aPdu | The PDU to be sent. |
References WsfDisInput::mMultiThreaded.
Referenced by RequestTimeAdvance(), WsfMilDisPlatform::SendingEmission(), and SendPeriodicPdusWhilePaused().
|
overridevirtual |
Called in response to WsfSimulation::Initialize. This is called to allow the extension to perform any initialization that is required.
Reimplemented from WsfSimulationExtension.
References WsfDisInput::mComponents.
| void WsfDisInterface::InitializeInputData | ( | ) |
Called by WsfDisInterface to reinitialize input to default values.
|
inline |
| void WsfDisInterface::MessageReceived | ( | double | aSimTime, |
| wsf::comm::Comm * | aXmtrPtr, | ||
| wsf::comm::Comm * | aRcvrPtr, | ||
| const WsfMessage & | aMessage, | ||
| wsf::comm::Result & | aResult ) |
References WsfPlatformPart::GetPlatform(), HasDevice(), WsfDisPlatform::MessageReceived(), WsfDisInput::mSuppressCommData, platformPtr, and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::MessageTransmitted | ( | double | aSimTime, |
| wsf::comm::Comm * | aCommPtr, | ||
| const WsfMessage & | aMessage ) |
References WsfPlatformPart::GetPlatform(), HasDevice(), WsfDisPlatform::MessageTransmitted(), WsfDisInput::mSuppressCommData, platformPtr, and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::MoverUpdated | ( | double | aSimTime, |
| WsfExtEntityDeadReckon::PlatformDR & | aDeadReckonData ) |
|
inline |
| void WsfDisInterface::PlatformAdded | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr ) |
Referenced by PrepareExtension(), and WsfDisInterface().
| void WsfDisInterface::PlatformDeleted | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr ) |
References WsfPlatform::GetIndex().
Referenced by WsfDisInterface().
| void WsfDisInterface::PlatformInitialized | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr ) |
References GetDisPlatform(), WsfPlatform::GetIndex(), HasDevice(), WsfDisPlatform::PlatformInitialized(), and WsfDisPlatform.
Referenced by PrepareExtension(), and WsfDisInterface().
|
overridevirtual |
Called in response to a call to WsfSimulation::Initialize and WsfSimulation::PrepareSimulation.
A simulation extension will typically implement either WsfSimulationExtension::Initialize or WsfSimulationExtension::PrepareExtension, or a combination of both. The main difference is that:
The primary criteria for deciding which method to use is to look at the extension and see if it uses any external resources such as files or sockets. If the extension uses external resources and wants to support snapshotting then it MUST use this this method so it can (re)establish connections to external resources (A snapshot cannot save the state of an open file or socket and so it must be reopened.)
Reimplemented from WsfSimulationExtension.
References ActivateConnection(), WsfSimulation::AddEvent(), WsfComponentList::RoleIterator< T >::AtEnd(), CommTurnedOn(), WsfSimulation::GetPlatformCount(), WsfSimulation::GetPlatformEntry(), WsfSimulation::GetSimTime(), WsfSimulationExtension::GetSimulation(), HasDevice(), HasInputDevice(), WsfDisInput::mAutostart, WsfDisInput::mComponents, WsfDisInput::mDeviceConfigurations, WsfDisInput::mIgnoredKindAndDomain, WsfDisInput::mIgnoredPduTypes, WsfDisInput::mIgnoredSiteAndApps, WsfDisInput::mIgnoredTypes, WsfDisInput::mInputHeartbeatMultiplier, WsfDisInput::mMultiThreaded, WsfDisInput::mRangeFilteredPlatforms, ok, PlatformAdded(), PlatformInitialized(), SensorTurnedOn(), WsfSimulation::SetIsExternallyStarted(), simTime, and WsfSimulationExtension::WsfSimulation.
| void WsfDisInterface::PrepareFinalEntityState | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr, | ||
| DisEntityState * | aEntityStatePtr ) |
Prepare an entity state for its final transmission. This performs the following operations: -) Captures the final platform position and orientation -) Sets the velocity and acceleration to zero -) Captures the final damage state -) Marks the entity as frozen and inactive.
References WsfPlatform::GetDamageFactor().
| void WsfDisInterface::PutPdu | ( | double | aSimTime, |
| std::unique_ptr< DisPdu > | aPduPtr ) |
Send a PDU out over the current connection.
| aSimTime | The current simulation time. |
| aPduPtr | The PDU to be sent. |
References HasOutputDevice(), and WsfDisInput::mMultiThreaded.
Referenced by WsfDisUtil::PutPdu().
|
static |
Read a DIS Entity Id from an input stream.
| aInput | The input stream |
| aEntityId | The value read from the stream. |
References WsfExtData::ConvertInputToEntityId(), and WsfDisExt::ToDis().
Referenced by WsfMilDisInterface::ProcessInput().
|
static |
Read a DIS Entity Type from an input stream.
| aInput | The input stream |
| aEntityType | The value read from the stream. |
References WsfExtData::ConvertInputToEntityType(), and WsfDisExt::ToDis().
Referenced by WsfMilDisInterface::ProcessInput().
| void WsfDisInterface::ReceivedBadEntityState | ( | ) |
References WsfDisInput::mMaxBadPDU_Count.
| void WsfDisInterface::RequestTimeAdvance | ( | double | aSimTime, |
| double | aMaxRate, | ||
| double | aTimeStep ) |
| void WsfDisInterface::ResetFiltering | ( | ) |
| void WsfDisInterface::ResumeEntityStateProcessing | ( | double | aSimTime, |
| const DisEntityId & | aEntityId ) |
| void WsfDisInterface::SendDateAndTime | ( | WsfDisDevice & | aDevice, |
| const DisEntityId & | aReceivingId, | ||
| const UtCalendar & | aDateTime ) |
Send the start date and time in a SetData PDU.
References WsfDisDevice::PutPdu().
Referenced by ActivateConnection().
| void WsfDisInterface::SendPeriodicPdusWhilePaused | ( | std::vector< unsigned int > & | aEntityIndices | ) |
| void WsfDisInterface::SensorDetectionChanged | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| size_t | aTargetPlatformIndex, | ||
| WsfSensorResult & | aResult ) |
| void WsfDisInterface::SensorFrequencyChanged | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
| void WsfDisInterface::SensorModeActivated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
| void WsfDisInterface::SensorModeDeactivated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr ) |
| void WsfDisInterface::SensorRequestInitiated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr, | ||
| const WsfTrack * | aTrackPtr ) |
| void WsfDisInterface::SensorRequestUpdated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorMode * | aModePtr, | ||
| const WsfTrack * | aTrackPtr ) |
| void WsfDisInterface::SensorScanUpdated | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), WsfDisPlatform::SensorScanUpdated(), and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::SensorTrackDropped | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), WsfDisPlatform::SensorTrackDropped(), and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::SensorTurnedOff | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), WsfDisPlatform::SensorTurnedOff(), and WsfDisPlatform.
Referenced by WsfDisInterface().
| void WsfDisInterface::SensorTurnedOn | ( | double | aSimTime, |
| WsfSensor * | aSensorPtr ) |
References WsfPlatform::GetIndex(), WsfPlatformPart::GetPlatform(), HasDevice(), WsfPlatform::IsExternallyControlled(), WsfDisPlatform::SensorTurnedOn(), and WsfDisPlatform.
Referenced by PrepareExtension(), and WsfDisInterface().
| void WsfDisInterface::SetBeamTypeAndFunction | ( | WsfPlatformPart * | aPartPtr, |
| WsfStringId | aModeNameId, | ||
| int | aBeamNumber, | ||
| DisBeam * | aBeamPtr, | ||
| DisEnum8 | aDefaultFunction ) |
Set the beam type (AKA 'beam parameter index') and beam function in a DIS Beam record.
| aPartPtr | Pointer to the part (comm, sensor, etc) that contains the beam. |
| aModeNameId | The name (ID) of the mode in which the beam is a part. |
| aBeamNumber | The 1-based mode number of the beam within the mode. |
| aBeamPtr | Pointer to the DIS Beam to be updated. |
| aDefaultFunction | The default beam function to be used if one was not defined by the inputs. |
References WsfExtEmission::GetBeamFunction(), WsfExtEmission::GetBeamType(), WsfExtData::GetEmission(), GetExtInterface(), and WsfObject::GetTypeId().
Referenced by WsfMilDisPlatform::UpdateJammerSystem().
|
inline |
|
inline |
| void WsfDisInterface::SetEmitterTypeAndFunction | ( | WsfPlatformPart * | aPartPtr, |
| DisSystem * | aSystemPtr ) |
Set the emitter type (AKA 'emitter name') and function in the specified DIS System record.
| aPartPtr | Pointer to the associated WSF part (comm, sensor, etc) that represents the system. |
| aSystemPtr | Pointer to the DIS System to be updated. |
References WsfExtEmission::GetEmitterFunction(), WsfExtEmission::GetEmitterType(), GetExtEmission(), WsfObject::GetTypeId(), and WsfDisEmission::OverrideTypeAndFunction.
|
inline |
| void WsfDisInterface::SetPduFactory | ( | DisPduFactory * | aFactory | ) |
Change the PDU factory used to create incoming PDUs.
WsfDisInterface will delete the factory when it is no longer needed.
|
inline |
Sets the number of sent DIS PDUs.
|
inline |
|
inline |
References WsfDisInput::mJoinExercise.
|
static |
Referenced by WsfDisUtil::SimTimeToDisClockTime().
| void WsfDisInterface::SimulationComplete | ( | double | aSimTime | ) |
References WsfDisInput::mMultiThreaded, WsfDisPlatform::PlatformDeleted(), WsfDisPlaybackDevice::Reset(), and WsfDisPlatform.
Referenced by SimulationDestroyed(), WsfDisInterface(), and ~WsfDisInterface().
| void WsfDisInterface::SimulationDestroyed | ( | WsfSimulation * | aSimulationPtr | ) |
References SimulationComplete(), and WsfSimulationExtension::WsfSimulation.
| void WsfDisInterface::SimulationPausing | ( | ) |
| void WsfDisInterface::SimulationResuming | ( | ) |
Referenced by WsfDisInterface().
| void WsfDisInterface::SimulationStarting | ( | ) |
References WsfDisInput::mMultiThreaded.
Referenced by WsfDisInterface().
|
inline |
References WsfDisInput::mSuppressCME_DetectBeam, WsfDisInput::mSuppressCME_EntityData, and WsfDisInput::mSuppressCME_PassiveSensor.
Referenced by WsfDisInterface().
| bool WsfDisInterface::UpdateAppearanceFromPlatform | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr, | ||
| DisEntityState * | aEntityStatePtr ) |
Update the DIS appearance word from the platform state.
References WsfPlatform::GetConcealmentFactor(), and WsfPlatform::GetDamageFactor().
| void WsfDisInterface::UpdateBeamFromXmtr | ( | WsfEM_Xmtr & | aXmtr, |
| DisBeam * | aBeamPtr, | ||
| double | aMinAz, | ||
| double | aMaxAz, | ||
| double | aMinEl, | ||
| double | aMaxEl ) |
Update a DIS Beam record from a Transmitter object.
References WsfArticulatedPart::cSLEW_FIXED, WsfEM_XmtrRcvr::GetAntenna(), WsfEM_Antenna::GetArticulatedPart(), WsfEM_XmtrRcvr::GetBandwidth(), WsfArticulatedPart::GetCurrentCuedOrientation(), WsfArticulatedPart::GetCurrentOrientationECS(), WsfExtData::GetEmission(), GetExtInterface(), WsfEM_XmtrRcvr::GetFrequency(), WsfEM_XmtrRcvr::GetInternalLoss(), WsfEM_XmtrRcvr::GetPeakAntennaGain(), WsfEM_Xmtr::GetPower(), WsfEM_Xmtr::GetPulseRepetitionFrequency(), WsfEM_Xmtr::GetPulseWidth(), WsfArticulatedPart::GetSlewMode(), WsfArticulatedPart::IsCued(), WsfArticulatedPart::TransientCueActive(), and WsfExtEmission::UpdateBeamLimits().
Referenced by UpdateSystemFromSensor().
|
inline |
| void WsfDisInterface::UpdatePlatformFromAppearance | ( | double | aSimTime, |
| WsfPlatform * | aPlatformPtr, | ||
| DisEntityState * | aEntityStatePtr ) |
Update the platform state from the DIS appearance word.
References WsfPlatform::GetAppearance(), WsfPlatform::GetConcealmentFactor(), WsfPlatform::GetDamageFactor(), WsfObject::GetNameId(), WsfPlatform::GetSignatureList(), WsfObject::GetTypeId(), WsfPlatform::SetAppearance(), WsfPlatform::SetConcealmentFactor(), WsfPlatform::SetDamageFactor(), and WsfSignatureList::SetState().
Referenced by UpdatePlatformFromEntityState().
| void WsfDisInterface::UpdatePlatformFromEntityState | ( | double | aSimTime, |
| WsfDisPlatform * | aDisPlatformPtr, | ||
| DisEntityState * | aEntityStatePtr ) |
| void WsfDisInterface::UpdatePlatformSystem | ( | WsfPlatform * | aPlatformPtr, |
| WsfDisEmission * | aEmissionPtr, | ||
| DisSystem * | aSystemPtr ) |
References WsfExtEmission::AddSensor(), WsfExtEmission::cLEVEL_ONE_DEBUG, WsfExtEmission::cLEVEL_TWO_DEBUG, WsfExtEmission::GetDebugMask(), GetExtEmission(), WsfObject::GetName(), WsfExtEmission::GetPartTypeId(), WsfExtEmission::GetSensor(), GetSimTime(), WsfObject::GetType(), WsfDisInput::mComponents, and WsfDisEmission::UpdateSensor().
| void WsfDisInterface::UpdateSystemFromSensor | ( | WsfSensor * | aSensorPtr, |
| DisSystem * | aSystemPtr ) |
Update a DIS System record from a Sensor object.
References WsfEM_Antenna::cSCAN_AZ, WsfEM_Antenna::cSCAN_AZ_EL, WsfEM_Antenna::cSCAN_EL, WsfEM_XmtrRcvr::GetAntenna(), WsfEM_XmtrRcvr::GetAntennaPattern(), WsfAntennaPattern::GetAzimuthBeamwidth(), WsfArticulatedPart::GetCurrentOrientationECS(), WsfAntennaPattern::GetElevationBeamwidth(), WsfSensor::GetEM_Rcvr(), WsfSensor::GetEM_RcvrCount(), WsfSensor::GetEM_Xmtr(), WsfSensor::GetEM_XmtrCount(), WsfExtData::GetEmission(), GetExtInterface(), WsfEM_XmtrRcvr::GetFrequency(), WsfSensorMode::GetMaximumRequestCount(), WsfEM_XmtrRcvr::GetMode(), WsfSensor::GetModeEntry(), WsfMode::GetModeIndex(), WsfEM_XmtrRcvr::GetPolarization(), WsfEM_Antenna::GetScanMode(), UpdateBeamFromXmtr(), and WsfExtEmission::UpdateBeamLimits().
| void WsfDisInterface::UpdateXmtrFromBeam | ( | WsfDisEmission * | aEmissionPtr, |
| DisBeam * | aBeamPtr, | ||
| WsfEM_Xmtr * | aXmtrPtr, | ||
| bool & | aBeamOn ) |
References WsfExtEmission::cLEVEL_TWO_DEBUG, WsfArticulatedPart::cSLEW_FIXED, WsfEM_Xmtr::cXF_SENSOR, WsfEM_XmtrRcvr::GetAntenna(), WsfEM_XmtrRcvr::GetArticulatedPart(), GetExtEmission(), WsfEM_Xmtr::GetFunction(), WsfArticulatedPart::GetSlewMode(), WsfDisInput::mComponents, WsfArticulatedPart::SetCuedOrientation(), and WsfExtEmission::UpdateBeamLimits().
|
inline |
References WsfDisInput::mUseSimpleOrientRates.
|
inline |
References WsfDisInput::mUseWorldToBodyAngularVelocities.
| void WsfDisInterface::WriteEntityTypes | ( | std::ostream & | aStream | ) |
|
inline |
References WsfDisInput::mZeroBodyAngularVelocities.
|
friend |
References WsfDisEntityState.
Referenced by WsfDisEntityState.
|
friend |
References WsfDisPlatform.
Referenced by AddExternalPlatform(), Comment(), CommFrequencyChanged(), CommTurnedOff(), CommTurnedOn(), ExecuteDeferredTransmitEvent(), ExecuteSensorUpdateEvent(), ExtrapolatePlatformState(), FindDisPlatform(), GetDisPlatform(), GetEntityId(), GetEntityIdFromIndex(), MessageReceived(), MessageTransmitted(), MoverUpdated(), PlatformInitialized(), SendPeriodicPdusWhilePaused(), SensorDetectionChanged(), SensorFrequencyChanged(), SensorModeActivated(), SensorModeDeactivated(), SensorRequestCanceled(), SensorRequestInitiated(), SensorRequestUpdated(), SensorScanUpdated(), SensorTrackDropped(), SensorTrackInitiated(), SensorTurnedOff(), SensorTurnedOn(), SimulationComplete(), UpdatePlatformFromEntityState(), and WsfDisPlatform.
|
static |
|
static |
|
static |
Referenced by WsfDisEntityState::Process().