|
WSF
|
A collection of routines that populate XIO 'info' structures from their corresponding WSF object.
These routines operate only within WSF simulations that are using the XIO simulation capability. The XIO simulation side will call these routines to populate XIO 'info' structures from their corresponding WSF object. The data can then be sent to any XIO application - even applications that don't use WSF objects.
| WsfXIO_PlatformPartInfo * WsfXIO_ObjectInfoLoad::CreatePlatformPart | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfPlatformPart & | aPart ) |
Creates a WsfXIO_PlatformPartInfo from a WsfPlatformPart. Returns null_ptr if the part is not a recognized tpe.
References Load_Comm(), Load_Processor(), Load_Sensor(), and WsfComponent::QueryInterfaceT().
Referenced by WsfXIO_PlatformInfoService::HandleTypeQuery(), and Load_Platform().
| void WsfXIO_ObjectInfoLoad::Load_ArticulatedPart | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_ArticulatedPartInfo & | aInfo, | ||
| const WsfArticulatedPart & | aPart ) |
| void WsfXIO_ObjectInfoLoad::Load_Comm | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_CommInfo & | aInfo, | ||
| const wsf::comm::Comm & | aComm ) |
References wsf::comm::Comm::GetNetwork(), Load_ArticulatedPart(), WsfXIO_CommInfo::mNetworkName, and WsfXIO_PlatformPartInfo::mPartType.
Referenced by CreatePlatformPart().
| void WsfXIO_ObjectInfoLoad::Load_EM_Rcvr | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_EM_RcvrInfo & | aInfo, | ||
| const WsfEM_Rcvr & | aRcvr ) |
References WsfComponentListT< COMPONENT_TYPE >::Begin(), WsfComponentListT< COMPONENT_TYPE >::End(), WsfEM_XmtrRcvr::GetBandwidth(), WsfEM_Rcvr::GetDetectionThreshold(), WsfEM_XmtrRcvr::GetFrequency(), WsfEM_XmtrRcvr::GetInternalLoss(), WsfEM_Rcvr::GetNoiseFigure(), WsfEM_Rcvr::GetNoisePower(), WsfEM_XmtrRcvr::GetPeakAntennaGain(), WsfXIO_EM_RcvrInfo::mBandwidth, WsfXIO_EM_RcvrInfo::mDetectionThreshold, WsfXIO_EM_RcvrInfo::mFrequency, WsfXIO_EM_RcvrInfo::mInternalLoss, WsfXIO_EM_RcvrInfo::mNoiseFigure, WsfXIO_EM_RcvrInfo::mNoisePower, and WsfXIO_EM_RcvrInfo::mPeakAntennaGain.
Referenced by WsfXIO_PlatformPartInfoService::UpdatePartEvent::CopyState(), and Load_EM_Xmtr().
| void WsfXIO_ObjectInfoLoad::Load_EM_Xmtr | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_EM_XmtrInfo & | aInfo, | ||
| const WsfEM_Xmtr & | aXmtr ) |
References WsfComponentListT< COMPONENT_TYPE >::Begin(), WsfComponentListT< COMPONENT_TYPE >::End(), WsfEM_XmtrRcvr::GetBandwidth(), WsfEM_XmtrRcvr::GetFrequency(), WsfEM_XmtrRcvr::GetInternalLoss(), WsfEM_Xmtr::GetLinkedReceiver(), WsfEM_XmtrRcvr::GetPeakAntennaGain(), WsfEM_Xmtr::GetPower(), WsfEM_Xmtr::GetPulseCompressionRatio(), WsfEM_Xmtr::GetPulseRepetitionFrequency(), WsfEM_Xmtr::GetPulseRepetitionInterval(), WsfEM_Xmtr::GetPulseWidth(), WsfEM_Xmtr::IsUsingPeakPower(), Load_EM_Rcvr(), WsfXIO_EM_XmtrInfo::mBandwidth, WsfXIO_EM_XmtrInfo::mFrequency, WsfXIO_EM_XmtrInfo::mInternalLoss, WsfXIO_EM_XmtrInfo::mLinkedRcvrPtr, WsfXIO_EM_XmtrInfo::mPeakAntennaGain, WsfXIO_EM_XmtrInfo::mPower, WsfXIO_EM_XmtrInfo::mPulseCompressionRatio, WsfXIO_EM_XmtrInfo::mPulseRepetitionFrequency, WsfXIO_EM_XmtrInfo::mPulseRepetitionInterval, WsfXIO_EM_XmtrInfo::mPulseWidth, and WsfXIO_EM_XmtrInfo::mUsePeakPower.
Referenced by WsfXIO_PlatformPartInfoService::UpdatePartEvent::CopyState().
| void WsfXIO_ObjectInfoLoad::Load_Mover | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_MoverInfo & | aInfo, | ||
| const WsfMover & | aMover ) |
| void WsfXIO_ObjectInfoLoad::Load_Platform | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_PlatformInfo & | aInfo, | ||
| const WsfPlatform & | aPlatform ) |
References WsfComponentListT< COMPONENT_TYPE >::Begin(), WsfXIO_PlatformInfo::cEXTERNALLY_CONTROLLED, CreatePlatformPart(), WsfComponentListT< COMPONENT_TYPE >::End(), WsfDisInterface::Find(), WsfAuxDataEnabled::GetAuxDataConst(), WsfCommandChain::GetCommanderNameId(), WsfComponentList::GetComponent(), WsfDisInterface::GetDisPlatform(), WsfDisPlatform::GetEntityId(), WsfDisPlatform::GetEntityState(), WsfDisPlatform::GetEntityType(), WsfZone::GetGlobalName(), WsfPlatform::GetIcon(), WsfPlatform::GetIndex(), WsfNamed::GetNameId(), WsfObject::GetNameId(), WsfPlatform::GetSide(), WsfXIO_Simulation::GetSimulation(), WsfPlatform::GetSpatialDomain(), WsfObject::GetTypeId(), WsfAuxDataEnabled::HasAuxData(), WsfPlatform::IsExternallyControlled(), Load_Mover(), WsfXIO_PlatformInfo::mAuxDataPtr, WsfXIO_PlatformInfo::mCommanders, WsfXIO_PlatformInfo::mEntityId, WsfXIO_PlatformInfo::mEntityType, WsfXIO_PlatformInfo::mFlags, WsfXIO_Zone::mGlobalName, WsfXIO_PlatformInfo::mIcon, WsfXIO_PlatformInfo::mIndex, WsfXIO_PlatformInfo::mMarking, WsfXIO_PlatformInfo::mMoverPtr, WsfXIO_PlatformInfo::mName, WsfXIO_Zone::mName, moverPtr, WsfXIO_PlatformInfo::mParts, WsfXIO_PlatformInfo::mSide, WsfXIO_PlatformInfo::mSpatialDomain, WsfXIO_PlatformInfo::mTrackManagerInfo, WsfXIO_PlatformInfo::mType, WsfXIO_PlatformInfo::mZoneNames, and WsfComponent::QueryInterfaceT().
Referenced by WsfXIO_PlatformInfoService::HandleRequest(), and WsfXIO_PlatformInfoService::HandleTypeQuery().
| void WsfXIO_ObjectInfoLoad::Load_PlatformPart | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_PlatformPartInfo & | aInfo, | ||
| const WsfPlatformPart & | aPart ) |
References WsfPlatformPart::DebugEnabled(), WsfPlatform::GetIndex(), WsfObject::GetNameId(), WsfPlatformPart::GetPlatform(), WsfObject::GetTypeId(), WsfObject::GetTypeList(), WsfPlatformPart::IsExternallyControlled(), WsfPlatformPart::IsOperational(), WsfPlatformPart::IsTurnedOn(), WsfXIO_PlatformPartInfo::mBasicType, WsfXIO_PlatformPartInfo::mDebugEnabled, WsfXIO_PlatformPartInfo::mIsExternallyControlled, WsfXIO_PlatformPartInfo::mIsOperational, WsfXIO_PlatformPartInfo::mIsTurnedOn, WsfXIO_PlatformPartInfo::mName, WsfXIO_PlatformPartInfo::mPlatformIndex, and WsfXIO_PlatformPartInfo::mType.
Referenced by Load_ArticulatedPart(), Load_Mover(), and Load_Processor().
| void WsfXIO_ObjectInfoLoad::Load_Processor | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_ProcessorInfo & | aInfo, | ||
| const WsfProcessor & | aProcessor ) |
References Load_PlatformPart(), and WsfXIO_PlatformPartInfo::mPartType.
Referenced by CreatePlatformPart().
| void WsfXIO_ObjectInfoLoad::Load_Sensor | ( | WsfXIO_Simulation & | aXIO_Simulation, |
| WsfXIO_SensorInfo & | aInfo, | ||
| const WsfSensor & | aSensor ) |