|
WSF
|
csv_event_output utilities for printing of CSV based event results More...
Functions | |
| void | Write (std::ostream &aStream, const GenUniqueId &aApplicationId) |
| void | PrintTime (std::ostream &aStream, double aSimTime) |
| void | PrintDateTime (std::ostream &aStream, const WsfSimulation &aSimulation) |
| void | PrintDateTime (std::ostream &aStream, double aSimTime, const WsfSimulation &aSimulation) |
| void | PrintTime (std::ostream &aStream, WsfSimulation &aSimulation) |
| void | PrintLLA (std::ostream &aStream, double aLat, double aLon, double aAlt) |
| std::string | MakePrintableString (const std::string &aInput) |
| Transform an input string that may contain unprintable characters into one that is 'acceptable'. | |
| void | PrintEM_Interaction (std::ostream &aStream, WsfEM_Interaction &aResult) |
| void | PrintEM_AbsTargetData (std::ostream &aStream, const WsfEM_Interaction &aResult, WsfPlatform *aTgtPtr, const WsfEM_Interaction::LocationData &aLocData) |
| void | PrintEM_RelTargetData (std::ostream &aStream, const WsfEM_Interaction &aResult, WsfPlatform *aTgtPtr, const WsfEM_Interaction::RelativeData &aRelData) |
| void | PrintEM_AbsXmtrRcvrData (std::ostream &aStream, const WsfEM_Interaction &aResult, WsfEM_XmtrRcvr *aXmtrRcvrPtr, const WsfEM_Interaction::LocationData &aLocData) |
| void | PrintEM_RelXmtrRcvrData (std::ostream &aStream, const WsfEM_Interaction &aResult, WsfEM_XmtrRcvr *aXmtrRcvrPtr, const WsfEM_Interaction::RelativeData &aRelData) |
| void | PrintEM_BeamData (std::ostream &aStream, WsfEM_XmtrRcvr *aXmtrRcvrPtr, const WsfEM_Interaction::BeamData &aBeamData) |
| void | PrintEM_LocationData (std::ostream &aStream, WsfPlatform *aPlatformPtr, const WsfEM_Interaction::LocationData &aLocationData) |
| void | PrintEM_Range (std::ostream &aStream, double aRange, bool aWriteNewLine) |
| void | PrintLocationDataLLA (std::ostream &aStream, double aLat, double aLon, double aAlt) |
| void | PrintLocationData (std::ostream &aStream, UtEntity *aPlatformPtr) |
| void | PrintLocationDataECI (std::ostream &aStream, const double aLocationECI[3]) |
| Like PrintLocationDataLLA, but outputs ECI values instead. | |
| void | PrintNonLocationData (std::ostream &aStream, WsfPlatform *aPlatformPtr, const std::string &aIndent) |
| void | PrintMessageData (std::ostream &aStream, double aSimTime, const WsfMessage &aMessage, WsfSimulation &aSimulation, Settings::MessagePrintMap aMessagePrinters, bool aPrintTrackDataBrief) |
| void | PrintPlatformEvent (std::ostream &aStream, WsfPlatform *aPlatformPtr, bool aShowPs) |
| Perform common print processing for the "PLATFORM_" messages. | |
| void | PrintSensorResult (std::ostream &aStream, WsfSensor *aSensorPtr, WsfSensorResult &aResult) |
| void | PrintSystemOffOnEvent (std::ostream &aStream, double aSimTime, const std::string &aEvent, const std::string &aSystemType, WsfPlatformPart *aSystemPtr) |
| Print common information associated with turning a system off or on. | |
| void | PrintTrackCovarianceData (std::ostream &aStream, double aSimTime, const std::string &aCovarianceType, const UtCovariance *aCovariancePtr, const WsfTrack *aTrackPtr) |
| void | PrintAuxData (std::ostream &aStream, const UtAttributeContainer *aAuxDataPtr) |
| void | PrintTrackData (std::ostream &aStream, double aSimTime, const WsfTrack *aTrackPtr, const WsfSimulation &aSimulation, bool aPrintTrackDataBrief) |
| void | PrintTrackTargetName (std::ostream &aStream, const WsfTrack *aTrackPtr, WsfSimulation &aSimulation) |
| void | PrintEvent (std::ostream &aStream, double aSimTime, const std::string &aSubjectName, const std::string &aEventName, const std::string &aObjectName, const std::string &aAdditionalInformation) |
| std::string | GetCyberEvent (const std::string &aEventName, const cyber::Engagement &aEngagement) |
| void | GetAdditionalDE_Info (WsfDirectedEnergyWeapon *aWeaponPtr, WsfPlatform *aTargetPtr, std::string &aInfo) |
| void | GetAdditionalImplicitInfo (WsfImplicitWeapon *aWeaponPtr, WsfPlatform *aTargetPtr, std::string &aInfo) |
| std::string | GetTargetName (std::ostream &aStream, size_t aTargetIndex, WsfSimulation &aSimulation) |
| void | PrintWE_FiringGeometry (std::ostream &aStream, WsfPlatform *aShooterPtr, WsfPlatform *aTargetPtr) |
| void | PrintWE_PlayerData (std::ostream &aStream, const WsfWeaponEngagement *aEngagementPtr, WsfPlatform *aOtherPtr, WsfPlatform *&aFiringPtr, WsfPlatform *&aWeaponPtr, WsfPlatform *&aTargetPtr, WsfSimulation &aSimulation) |
| void | PrintWE_RelativeGeometry (std::ostream &aStream, const WsfWeaponEngagement *aEngagementPtr, WsfPlatform *aWeaponPtr, WsfPlatform *aTargetPtr) |
| void | PrintWE_Termination (std::ostream &aStream, const WsfWeaponEngagement *aEngagementPtr, WsfPlatform *aOtherPtr, WsfSimulation &aSimulation, int aTimeFormat) |
| void | PrintOrbitalElementsData (std::ostream &aStream, const UtOrbitalElements &aOE) |
| void | PrintOrbitalManeuverData (std::ostream &aStream, WsfSpaceMoverBase *aSpaceMoverPtr, const WsfOrbitalEvent &aManeuver) |
csv_event_output utilities for printing of CSV based event results
| WSF_MIL_EXPORT void wsf::event::utilsCSV::GetAdditionalDE_Info | ( | WsfDirectedEnergyWeapon * | aWeaponPtr, |
| WsfPlatform * | aTargetPtr, | ||
| std::string & | aInfo ) |
References GetAdditionalImplicitInfo(), WsfDirectedEnergyWeapon::Beam::GetAveragePower(), WsfDirectedEnergyWeapon::GetBeam(), WsfImplicitWeapon::GetCurrentEngagement(), WsfWeaponEffects::GetDamageRadius(), WsfDirectedEnergyWeapon::Beam::GetEdgeIrradiance(), WsfDirectedEnergyWeapon::Beam::GetEdgeRadius(), WsfDirectedEnergyWeapon::Beam::GetEnergy(), WsfDirectedEnergyWeapon::Beam::GetEnergyDensity(), WsfDirectedEnergyWeapon::Beam::GetIncidenceAngle(), WsfDirectedEnergyWeapon::Beam::GetPeakIrradiance(), WsfDirectedEnergyWeapon::Beam::GetSemiMajorAxis(), WsfDirectedEnergyWeapon::Beam::GetSemiMinorAxis(), and WsfWeaponEngagement::GetWeaponEffects().
Referenced by wsf::event::DirectedEnergyWeaponAbortShot::PrintCSV(), wsf::event::DirectedEnergyWeaponBeginShot::PrintCSV(), wsf::event::DirectedEnergyWeaponEndShot::PrintCSV(), and wsf::event::DirectedEnergyWeaponUpdateShot::PrintCSV().
| WSF_MIL_EXPORT void wsf::event::utilsCSV::GetAdditionalImplicitInfo | ( | WsfImplicitWeapon * | aWeaponPtr, |
| WsfPlatform * | aTargetPtr, | ||
| std::string & | aInfo ) |
| std::string WSF_CYBER_EXPORT wsf::event::utilsCSV::GetCyberEvent | ( | const std::string & | aEventName, |
| const cyber::Engagement & | aEngagement ) |
References wsf::cyber::Engagement::GetAttacker(), wsf::cyber::Engagement::GetAttackType(), and wsf::cyber::Engagement::GetVictim().
Referenced by wsf::event::CyberAttackAttributed::PrintCSV(), wsf::event::CyberAttackDetected::PrintCSV(), wsf::event::CyberAttackFailed::PrintCSV(), wsf::event::CyberAttackInitiated::PrintCSV(), wsf::event::CyberAttackRecovery::PrintCSV(), wsf::event::CyberAttackSucceeded::PrintCSV(), wsf::event::CyberScanAttributed::PrintCSV(), wsf::event::CyberScanDetected::PrintCSV(), wsf::event::CyberScanFailed::PrintCSV(), wsf::event::CyberScanInitiated::PrintCSV(), and wsf::event::CyberScanSucceeded::PrintCSV().
| WSF_MIL_EXPORT std::string wsf::event::utilsCSV::GetTargetName | ( | std::ostream & | aStream, |
| size_t | aTargetIndex, | ||
| WsfSimulation & | aSimulation ) |
References WsfObject::GetName(), and WsfSimulation::GetPlatformByIndex().
Referenced by wsf::event::DirectedEnergyWeaponAbortShot::PrintCSV(), wsf::event::DirectedEnergyWeaponBeginShot::PrintCSV(), wsf::event::DirectedEnergyWeaponEndShot::PrintCSV(), wsf::event::DirectedEnergyWeaponUpdateShot::PrintCSV(), wsf::event::ImplicitWeaponBeginEngagement::PrintCSV(), and wsf::event::ImplicitWeaponEndEngagement::PrintCSV().
| WSF_EXPORT std::string wsf::event::utilsCSV::MakePrintableString | ( | const std::string & | aInput | ) |
Transform an input string that may contain unprintable characters into one that is 'acceptable'.
| WSF_EXPORT void wsf::event::utilsCSV::PrintAuxData | ( | std::ostream & | aStream, |
| const UtAttributeContainer * | aAuxDataPtr ) |
References PrintAuxData().
Referenced by PrintAuxData(), and PrintTrackData().
| WSF_EXPORT void wsf::event::utilsCSV::PrintDateTime | ( | std::ostream & | aStream, |
| const WsfSimulation & | aSimulation ) |
References WsfSimulation::GetSimTime(), and PrintDateTime().
Referenced by wsf::event::SimulationComplete::PrintCSV(), wsf::event::SimulationStarting::PrintCSV(), and PrintDateTime().
| WSF_EXPORT void wsf::event::utilsCSV::PrintDateTime | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const WsfSimulation & | aSimulation ) |
References WsfSimulation::GetDateTime(), and WsfDateTime::GetStartDateAndTime().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_AbsTargetData | ( | std::ostream & | aStream, |
| const WsfEM_Interaction & | aResult, | ||
| WsfPlatform * | aTgtPtr, | ||
| const WsfEM_Interaction::LocationData & | aLocData ) |
References WsfObject::GetType(), and PrintEM_LocationData().
Referenced by PrintEM_Interaction().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_AbsXmtrRcvrData | ( | std::ostream & | aStream, |
| const WsfEM_Interaction & | aResult, | ||
| WsfEM_XmtrRcvr * | aXmtrRcvrPtr, | ||
| const WsfEM_Interaction::LocationData & | aLocData ) |
References WsfEM_XmtrRcvr::GetArticulatedPart(), WsfEM_XmtrRcvr::GetPlatform(), WsfObject::GetType(), and PrintEM_LocationData().
Referenced by PrintEM_Interaction().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_BeamData | ( | std::ostream & | aStream, |
| WsfEM_XmtrRcvr * | aXmtrRcvrPtr, | ||
| const WsfEM_Interaction::BeamData & | aBeamData ) |
References WsfEM_Antenna::cEBS_NONE, WsfEM_Antenna::ConvertWCS_VectorToNED(), WsfEM_XmtrRcvr::GetAntenna(), WsfEM_Antenna::GetEBS_Mode(), WsfEM_Interaction::BeamData::mAz, WsfEM_Interaction::BeamData::mEBS_Az, WsfEM_Interaction::BeamData::mEBS_El, WsfEM_Interaction::BeamData::mEl, WsfEM_Interaction::BeamData::mGain, and WsfEM_Interaction::BeamData::mWCS_ToBeamTransform.
Referenced by PrintEM_Interaction().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_Interaction | ( | std::ostream & | aStream, |
| WsfEM_Interaction & | aResult ) |
References WsfComponentListT< COMPONENT_TYPE >::Begin(), WsfEM_Interaction::ComputeUndefinedGeometry(), WsfEM_Interaction::cRCVR_ALTITUDE_LIMITS, WsfEM_Interaction::cRCVR_ANGLE_LIMITS, WsfEM_Interaction::cRCVR_HORIZON_MASKING, WsfEM_Interaction::cRCVR_RANGE_LIMITS, WsfEM_Interaction::cRCVR_TERRAIN_MASKING, WsfEM_Interaction::cSIGNAL_LEVEL, WsfEM_Interaction::cXMTR_ALTITUDE_LIMITS, WsfEM_Interaction::cXMTR_ANGLE_LIMITS, WsfEM_Interaction::cXMTR_HORIZON_MASKING, WsfEM_Interaction::cXMTR_RANGE_LIMITS, WsfEM_Interaction::cXMTR_TERRAIN_MASKING, WsfComponentListT< COMPONENT_TYPE >::End(), WsfEM_Interaction::GetComponents(), WsfEM_Interaction::GetReceiver(), WsfEM_Interaction::GetTarget(), WsfEM_Interaction::GetTransmitter(), WsfEM_Interaction::mAbsorptionFactor, WsfEM_Interaction::mBackgroundRadiantIntensity, WsfEM_Interaction::mBistatic, WsfEM_Interaction::mClutterPower, WsfEM_Interaction::mContrastRadiantIntensity, WsfEM_Interaction::mDetectionThreshold, WsfEM_Interaction::mFailedStatus, WsfEM_Interaction::mInfraredSig, WsfEM_Interaction::mInfraredSigAz, WsfEM_Interaction::mInfraredSigEl, WsfEM_Interaction::mInterferencePower, WsfEM_Interaction::mMaskingFactor, WsfEM_Interaction::mOpticalReflectivity, WsfEM_Interaction::mOpticalSig, WsfEM_Interaction::mOpticalSigAz, WsfEM_Interaction::mOpticalSigEl, WsfEM_Interaction::mPixelCount, WsfEM_Interaction::mPropagationFactor, WsfEM_Interaction::mRadarSig, WsfEM_Interaction::mRadarSigAz, WsfEM_Interaction::mRadarSigEl, WsfEM_Interaction::mRcvdPower, WsfEM_Interaction::mRcvrBeam, WsfEM_Interaction::mRcvrLoc, WsfEM_Interaction::mRcvrNoisePower, WsfEM_Interaction::mRcvrToTgt, WsfEM_Interaction::mRcvrToXmtr, WsfEM_Interaction::mSignalToNoise, WsfEM_Interaction::mTgtLoc, WsfEM_Interaction::mTgtToRcvr, WsfEM_Interaction::mTgtToXmtr, WsfEM_Interaction::mXmtdPower, WsfEM_Interaction::mXmtrBeam, WsfEM_Interaction::mXmtrLoc, WsfEM_Interaction::mXmtrToRcvr, WsfEM_Interaction::mXmtrToTgt, PrintEM_AbsTargetData(), PrintEM_AbsXmtrRcvrData(), PrintEM_BeamData(), PrintEM_RelTargetData(), and PrintEM_RelXmtrRcvrData().
Referenced by wsf::event::JammingAttempt::PrintCSV(), wsf::event::MessageDeliveryAttempt::PrintCSV(), and PrintSensorResult().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_LocationData | ( | std::ostream & | aStream, |
| WsfPlatform * | aPlatformPtr, | ||
| const WsfEM_Interaction::LocationData & | aLocationData ) |
References WsfEM_Interaction::LocationData::mIsValid, WsfEM_Interaction::LocationData::mLocWCS, PrintLocationDataECI(), and PrintLocationDataLLA().
Referenced by PrintEM_AbsTargetData(), and PrintEM_AbsXmtrRcvrData().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_Range | ( | std::ostream & | aStream, |
| double | aRange, | ||
| bool | aWriteNewLine ) |
Referenced by wsf::event::ImageCreated::PrintCSV(), PrintEM_RelTargetData(), and PrintEM_RelXmtrRcvrData().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_RelTargetData | ( | std::ostream & | aStream, |
| const WsfEM_Interaction & | aResult, | ||
| WsfPlatform * | aTgtPtr, | ||
| const WsfEM_Interaction::RelativeData & | aRelData ) |
| WSF_EXPORT void wsf::event::utilsCSV::PrintEM_RelXmtrRcvrData | ( | std::ostream & | aStream, |
| const WsfEM_Interaction & | aResult, | ||
| WsfEM_XmtrRcvr * | aXmtrRcvrPtr, | ||
| const WsfEM_Interaction::RelativeData & | aRelData ) |
References WsfEM_Antenna::ConvertWCS_VectorToNED(), WsfEM_XmtrRcvr::GetAntenna(), WsfEM_Interaction::mEarthRadiusScale, WsfEM_Interaction::RelativeData::mRange, WsfEM_Interaction::RelativeData::mTrueUnitVecWCS, WsfEM_Interaction::RelativeData::mUnitVecWCS, and PrintEM_Range().
Referenced by PrintEM_Interaction().
| WSF_EXPORT void wsf::event::utilsCSV::PrintEvent | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const std::string & | aSubjectName, | ||
| const std::string & | aEventName, | ||
| const std::string & | aObjectName, | ||
| const std::string & | aAdditionalInformation ) |
References PrintTime().
Referenced by wsf::event::DirectedEnergyWeaponAbortShot::PrintCSV(), wsf::event::DirectedEnergyWeaponBeginShot::PrintCSV(), wsf::event::DirectedEnergyWeaponCooldownComplete::PrintCSV(), wsf::event::DirectedEnergyWeaponEndShot::PrintCSV(), wsf::event::DirectedEnergyWeaponUpdateShot::PrintCSV(), wsf::event::ImplicitWeaponBeginEngagement::PrintCSV(), and wsf::event::ImplicitWeaponEndEngagement::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintLLA | ( | std::ostream & | aStream, |
| double | aLat, | ||
| double | aLon, | ||
| double | aAlt ) |
| WSF_EXPORT void wsf::event::utilsCSV::PrintLocationData | ( | std::ostream & | aStream, |
| UtEntity * | aPlatformPtr ) |
References PrintLocationDataECI(), and PrintLocationDataLLA().
Referenced by wsf::altloc::ComponentInitialized::PrintCSV(), wsf::event::CommFrequencyChanged::PrintCSV(), wsf::event::EclipseEntry::PrintCSV(), wsf::event::EclipseExit::PrintCSV(), wsf::event::SensorFrequencyChanged::PrintCSV(), wsf::event::SensorModeActivated::PrintCSV(), wsf::event::SensorModeDeactivated::PrintCSV(), wsf::event::StateEntry::PrintCSV(), wsf::event::StateExit::PrintCSV(), wsf::event::WeaponFireAborted::PrintCSV(), wsf::event::WeaponFireRequested::PrintCSV(), wsf::event::WeaponSelected::PrintCSV(), PrintPlatformEvent(), PrintSystemOffOnEvent(), PrintTrackData(), and PrintWE_FiringGeometry().
| WSF_EXPORT void wsf::event::utilsCSV::PrintLocationDataECI | ( | std::ostream & | aStream, |
| const double | aLocationECI[3] ) |
Like PrintLocationDataLLA, but outputs ECI values instead.
Referenced by PrintEM_LocationData(), PrintLocationData(), PrintTrackData(), and PrintWE_RelativeGeometry().
| WSF_EXPORT void wsf::event::utilsCSV::PrintLocationDataLLA | ( | std::ostream & | aStream, |
| double | aLat, | ||
| double | aLon, | ||
| double | aAlt ) |
| WSF_EXPORT void wsf::event::utilsCSV::PrintMessageData | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const WsfMessage & | aMessage, | ||
| WsfSimulation & | aSimulation, | ||
| Settings::MessagePrintMap | aMessagePrinters, | ||
| bool | aPrintTrackDataBrief ) |
References WsfMessage::GetType(), and PrintTrackData().
Referenced by wsf::event::MessageDiscarded::PrintCSV(), wsf::event::MessageFailedRouting::PrintCSV(), wsf::event::MessageHop::PrintCSV(), wsf::event::MessageQueued::PrintCSV(), wsf::event::MessageReceived::PrintCSV(), wsf::event::MessageTransmitEnded::PrintCSV(), wsf::event::MessageTransmitted::PrintCSV(), wsf::event::MessageTransmittedHeartbeat::PrintCSV(), and wsf::event::MessageUpdated::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintNonLocationData | ( | std::ostream & | aStream, |
| WsfPlatform * | aPlatformPtr, | ||
| const std::string & | aIndent ) |
Print the 'non-location' parts of the kinematic data (orientation, velocity and acceleration).
It is assumed this is called immediately after PrintLocationData. The orientation data will appear on the same line as the location data and the velocity and acceleration will appear on the next line.
Referenced by PrintPlatformEvent(), PrintSystemOffOnEvent(), PrintWE_FiringGeometry(), and PrintWE_RelativeGeometry().
| void wsf::event::utilsCSV::PrintOrbitalElementsData | ( | std::ostream & | aStream, |
| const UtOrbitalElements & | aOE ) |
| void wsf::event::utilsCSV::PrintOrbitalManeuverData | ( | std::ostream & | aStream, |
| WsfSpaceMoverBase * | aSpaceMoverPtr, | ||
| const WsfOrbitalEvent & | aManeuver ) |
References wsf::space::AscendingRadiusCondition::cTYPE, wsf::space::DescendingRadiusCondition::cTYPE, wsf::space::RelativeTimeCondition::cTYPE, WsfOrbitalEvent::GetCondition(), WsfOrbitalEvent::GetConditionString(), WsfOrbitalEvent::GetDuration(), WsfObject::GetName(), WsfSpaceMoverBase::GetOrbitalState(), WsfPlatformPart::GetPlatform(), WsfSpaceMoverBase::GetPropagator(), wsf::space::RadiusCondition::GetRadius(), WsfObject::GetType(), WsfUniqueId::GetUniqueId(), and PrintOrbitalElementsData().
Referenced by wsf::event::OrbitalManeuverCanceled::PrintCSV(), wsf::event::OrbitalManeuverCompleted::PrintCSV(), wsf::event::OrbitalManeuverInitiated::PrintCSV(), and wsf::event::OrbitalManeuverUpdated::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintPlatformEvent | ( | std::ostream & | aStream, |
| WsfPlatform * | aPlatformPtr, | ||
| bool | aShowPs ) |
Perform common print processing for the "PLATFORM_" messages.
References WsfPlatform::GetDamageFactor(), WsfObject::GetName(), WsfPlatform::GetSide(), WsfObject::GetType(), WsfPlatform::IsInitialized(), PrintLocationData(), and PrintNonLocationData().
Referenced by wsf::event::PlatformAdded::PrintCSV(), wsf::event::PlatformBroken::PrintCSV(), wsf::event::PlatformDeleted::PrintCSV(), wsf::event::PlatformInitialized::PrintCSV(), wsf::event::PlatformKilled::PrintCSV(), and wsf::event::PlatformOmitted::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintSensorResult | ( | std::ostream & | aStream, |
| WsfSensor * | aSensorPtr, | ||
| WsfSensorResult & | aResult ) |
References WsfSensorResult::cCONCEALMENT, WsfSensorResult::cDETECTION_STOP, WsfSensorResult::cDOPPLER_LIMITS, WsfSensorResult::cSCRIPT_CONSTRAINT, WsfSensorResult::cTARGET_DELETED, WsfSensorResult::cVELOCITY_LIMITS, WsfSensorResult::Detected(), WsfSensor::GetModeCount(), WsfSensor::GetModeName(), WsfObject::GetName(), WsfSensorResult::mBeamIndex, WsfEM_Interaction::mFailedStatus, WsfSensorResult::mModeIndex, WsfSensorResult::mPd, WsfSensorResult::mRequiredPd, and PrintEM_Interaction().
Referenced by wsf::event::SensorDetectionAttempt::PrintCSV(), and wsf::event::SensorDetectionChanged::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintSystemOffOnEvent | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const std::string & | aEvent, | ||
| const std::string & | aSystemType, | ||
| WsfPlatformPart * | aSystemPtr ) |
Print common information associated with turning a system off or on.
References WsfObject::GetName(), WsfPlatformPart::GetPlatform(), WsfPlatform::GetSide(), WsfObject::GetType(), PrintLocationData(), PrintNonLocationData(), and PrintTime().
Referenced by wsf::event::CommBroken::PrintCSV(), wsf::event::CommNonOperational::PrintCSV(), wsf::event::CommOperational::PrintCSV(), wsf::event::CommTurnedOff::PrintCSV(), wsf::event::CommTurnedOn::PrintCSV(), wsf::event::MoverBroken::PrintCSV(), wsf::event::MoverBurnedOut::PrintCSV(), wsf::event::MoverNonOperational::PrintCSV(), wsf::event::MoverOperational::PrintCSV(), wsf::event::MoverStaged::PrintCSV(), wsf::event::MoverTurnedOff::PrintCSV(), wsf::event::MoverTurnedOn::PrintCSV(), wsf::event::ProcessorBroken::PrintCSV(), wsf::event::ProcessorNonOperational::PrintCSV(), wsf::event::ProcessorOperational::PrintCSV(), wsf::event::ProcessorTurnedOff::PrintCSV(), wsf::event::ProcessorTurnedOn::PrintCSV(), wsf::event::RouterBroken::PrintCSV(), wsf::event::RouterNonOperational::PrintCSV(), wsf::event::RouterOperational::PrintCSV(), wsf::event::RouterTurnedOff::PrintCSV(), wsf::event::RouterTurnedOn::PrintCSV(), wsf::event::SensorBroken::PrintCSV(), wsf::event::SensorNonOperational::PrintCSV(), wsf::event::SensorOperational::PrintCSV(), wsf::event::SensorTurnedOff::PrintCSV(), wsf::event::SensorTurnedOn::PrintCSV(), wsf::event::WeaponKilled::PrintCSV(), wsf::event::WeaponNonOperational::PrintCSV(), wsf::event::WeaponOperational::PrintCSV(), wsf::event::WeaponTurnedOff::PrintCSV(), and wsf::event::WeaponTurnedOn::PrintCSV().
| WSF_EXPORT void wsf::event::utilsCSV::PrintTime | ( | std::ostream & | aStream, |
| double | aSimTime ) |
Referenced by wsf::altloc::ComponentInitialized::PrintCSV(), wsf::event::AIAddBehavior::PrintCSV(), wsf::event::AIEgress::PrintCSV(), wsf::event::AITakeAction::PrintCSV(), wsf::event::Allocate::PrintCSV(), wsf::event::AssignmentCancel::PrintCSV(), wsf::event::AssignmentStatus::PrintCSV(), wsf::event::BehaviorTreeNodeChildren::PrintCSV(), wsf::event::BehaviorTreeNodeExec::PrintCSV(), wsf::event::CANTCOAssignment::PrintCSV(), wsf::event::CommAddedToLocal::PrintCSV(), wsf::event::CommAddedToManager::PrintCSV(), wsf::event::Comment::PrintCSV(), wsf::event::CommFrequencyChanged::PrintCSV(), wsf::event::CommRemovedFromLocal::PrintCSV(), wsf::event::CommRemovedFromManager::PrintCSV(), wsf::event::CrashedIntoGround::PrintCSV(), wsf::event::CyberAttackAttributed::PrintCSV(), wsf::event::CyberAttackDetected::PrintCSV(), wsf::event::CyberAttackFailed::PrintCSV(), wsf::event::CyberAttackInitiated::PrintCSV(), wsf::event::CyberAttackRecovery::PrintCSV(), wsf::event::CyberAttackSucceeded::PrintCSV(), wsf::event::CyberScanAttributed::PrintCSV(), wsf::event::CyberScanDetected::PrintCSV(), wsf::event::CyberScanFailed::PrintCSV(), wsf::event::CyberScanInitiated::PrintCSV(), wsf::event::CyberScanSucceeded::PrintCSV(), wsf::event::CyberTriggerEvaluation::PrintCSV(), wsf::event::CyberTriggerExecution::PrintCSV(), wsf::event::EclipseEntry::PrintCSV(), wsf::event::EclipseExit::PrintCSV(), wsf::event::ExchangeCompleted::PrintCSV(), wsf::event::ExchangeNegotiated::PrintCSV(), wsf::event::ExchangeQueried::PrintCSV(), wsf::event::ExchangeRequestFailed::PrintCSV(), wsf::event::ExecuteCallback::PrintCSV(), wsf::event::FuelEvent::PrintCSV(), wsf::event::GuidanceComputerPhaseChanged::PrintCSV(), wsf::event::HandleBandwidthData::PrintCSV(), wsf::event::HandleConnect::PrintCSV(), wsf::event::HandleDisconnect::PrintCSV(), wsf::event::ImageCreated::PrintCSV(), wsf::event::JammingAttempt::PrintCSV(), wsf::event::JammingRequestCanceled::PrintCSV(), wsf::event::JammingRequestInitiated::PrintCSV(), wsf::event::JammingRequestUpdated::PrintCSV(), wsf::event::LinkAddedToLocal::PrintCSV(), wsf::event::LinkAddedToManager::PrintCSV(), wsf::event::LinkDisabledOnLocal::PrintCSV(), wsf::event::LinkDisabledOnManager::PrintCSV(), wsf::event::LinkEnabledOnLocal::PrintCSV(), wsf::event::LinkEnabledOnManager::PrintCSV(), wsf::event::LinkRemovedFromLocal::PrintCSV(), wsf::event::LinkRemovedFromManager::PrintCSV(), wsf::event::LocalTrackCorrelation::PrintCSV(), wsf::event::LocalTrackDecorrelation::PrintCSV(), wsf::event::LocalTrackDropped::PrintCSV(), wsf::event::LocalTrackInitiated::PrintCSV(), wsf::event::LocalTrackUpdated::PrintCSV(), wsf::event::MessageDeliveryAttempt::PrintCSV(), wsf::event::MessageDiscarded::PrintCSV(), wsf::event::MessageFailedRouting::PrintCSV(), wsf::event::MessageHop::PrintCSV(), wsf::event::MessageQueued::PrintCSV(), wsf::event::MessageReceived::PrintCSV(), wsf::event::MessageTransmitEnded::PrintCSV(), wsf::event::MessageTransmitted::PrintCSV(), wsf::event::MessageTransmittedHeartbeat::PrintCSV(), wsf::event::MessageUpdated::PrintCSV(), wsf::event::NavigationStatusChanged::PrintCSV(), wsf::event::NetworkAdded::PrintCSV(), wsf::event::NetworkRemoved::PrintCSV(), wsf::event::OperatingLevelChanged::PrintCSV(), wsf::event::OrbitalManeuverCanceled::PrintCSV(), wsf::event::OrbitalManeuverCompleted::PrintCSV(), wsf::event::OrbitalManeuverInitiated::PrintCSV(), wsf::event::OrbitalManeuverUpdated::PrintCSV(), wsf::event::OrbitDeterminationInitiated::PrintCSV(), wsf::event::OrbitDeterminationUpdated::PrintCSV(), wsf::event::PlatformAdded::PrintCSV(), wsf::event::PlatformAddedTeamName::PrintCSV(), wsf::event::PlatformAppearanceChanged::PrintCSV(), wsf::event::PlatformBroken::PrintCSV(), wsf::event::PlatformCapabilityChanged::PrintCSV(), wsf::event::PlatformDeleted::PrintCSV(), wsf::event::PlatformInitialized::PrintCSV(), wsf::event::PlatformKilled::PrintCSV(), wsf::event::PlatformOmitted::PrintCSV(), wsf::event::SensorCue::PrintCSV(), wsf::event::SensorDetectionAttempt::PrintCSV(), wsf::event::SensorDetectionChanged::PrintCSV(), wsf::event::SensorDropCue::PrintCSV(), wsf::event::SensorFrequencyChanged::PrintCSV(), wsf::event::SensorModeActivated::PrintCSV(), wsf::event::SensorModeDeactivated::PrintCSV(), wsf::event::SensorRequestCanceled::PrintCSV(), wsf::event::SensorRequestInitiated::PrintCSV(), wsf::event::SensorRequestUpdated::PrintCSV(), wsf::event::SensorTrackCoasted::PrintCSV(), wsf::event::SensorTrackDropped::PrintCSV(), wsf::event::SensorTracking::PrintCSV(), wsf::event::SensorTrackInitiated::PrintCSV(), wsf::event::SensorTrackUpdated::PrintCSV(), wsf::event::SimulationComplete::PrintCSV(), wsf::event::SimulationStarting::PrintCSV(), wsf::event::StateEntry::PrintCSV(), wsf::event::StateExit::PrintCSV(), wsf::event::TankingEvent::PrintCSV(), wsf::event::TaskAssigned::PrintCSV(), wsf::event::TaskCanceled::PrintCSV(), wsf::event::TaskCompleted::PrintCSV(), wsf::event::WeaponFireAborted::PrintCSV(), wsf::event::WeaponFired::PrintCSV(), wsf::event::WeaponFireRequested::PrintCSV(), wsf::event::WeaponHit::PrintCSV(), wsf::event::WeaponMissed::PrintCSV(), wsf::event::WeaponModeActivated::PrintCSV(), wsf::event::WeaponModeDeactivated::PrintCSV(), wsf::event::WeaponReloadEnded::PrintCSV(), wsf::event::WeaponReloadStarted::PrintCSV(), wsf::event::WeaponSelected::PrintCSV(), wsf::event::WeaponTerminated::PrintCSV(), PrintEvent(), PrintSystemOffOnEvent(), and PrintTime().
| WSF_EXPORT void wsf::event::utilsCSV::PrintTime | ( | std::ostream & | aStream, |
| WsfSimulation & | aSimulation ) |
References WsfSimulation::GetSimTime(), and PrintTime().
| WSF_EXPORT void wsf::event::utilsCSV::PrintTrackCovarianceData | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const std::string & | aCovarianceType, | ||
| const UtCovariance * | aCovariancePtr, | ||
| const WsfTrack * | aTrackPtr ) |
References WsfUtil::CovarianceToEllipse_2x2().
| WSF_EXPORT void wsf::event::utilsCSV::PrintTrackData | ( | std::ostream & | aStream, |
| double | aSimTime, | ||
| const WsfTrack * | aTrackPtr, | ||
| const WsfSimulation & | aSimulation, | ||
| bool | aPrintTrackDataBrief ) |
References WsfTrack::cFILTERED_SENSOR, WsfTrack::cPREDEFINED, WsfTrack::cPROCESSED, WsfTrack::cPSEUDO_SENSOR, WsfTrack::cSTATIC_IMAGE, WsfTrack::cUNFILTERED_SENSOR, WsfTypes::EnumToString(), WsfTrack::FrequencyValid(), WsfAuxDataEnabled::GetAuxDataConst(), WsfSimulation::GetDateTime(), WsfMeasurement::GetExtrapolatedLocationWCS(), WsfTrack::GetPixelCount(), WsfSimulation::GetPlatformByIndex(), WsfTrack::GetSignalCount(), WsfTrack::GetSignalEntry(), WsfTrack::GetSignalToNoise(), WsfMeasurement::GetSpatialDomain(), WsfDateTime::GetStartDateAndTime(), WsfTrack::GetStartTime(), WsfTrack::GetTargetIndex(), WsfTrack::GetTrackQuality(), WsfTrack::GetTrackType(), WsfTrack::GetUpdateCount(), WsfTrack::GetUpdateTime(), WsfAuxDataEnabled::HasAuxData(), WsfTrack::Is3D(), WsfTrack::IsCandidate(), WsfTrack::IsFalseTarget(), WsfTrack_Signal::mLowerFrequency, WsfTrack_Signal::mUpperFrequency, platformPtr, PrintAuxData(), PrintLocationData(), PrintLocationDataECI(), PrintLocationDataLLA(), and WsfTrack::SignalToNoiseValid().
Referenced by wsf::event::LocalTrackInitiated::PrintCSV(), wsf::event::LocalTrackUpdated::PrintCSV(), wsf::event::SensorRequestInitiated::PrintCSV(), wsf::event::SensorRequestUpdated::PrintCSV(), wsf::event::SensorTrackCoasted::PrintCSV(), wsf::event::SensorTrackInitiated::PrintCSV(), wsf::event::SensorTrackUpdated::PrintCSV(), wsf::event::TaskAssigned::PrintCSV(), wsf::event::WeaponFired::PrintCSV(), and PrintMessageData().
| WSF_EXPORT void wsf::event::utilsCSV::PrintTrackTargetName | ( | std::ostream & | aStream, |
| const WsfTrack * | aTrackPtr, | ||
| WsfSimulation & | aSimulation ) |
Add the target name to the current line. If the target name is empty then just print the track ID in '(..)'.
References WsfSimulation::GetPlatformNameId(), WsfTrack::GetTargetIndex(), WsfTrack::GetTargetName(), and WsfTrack::GetTrackId().
Referenced by wsf::event::LocalTrackDropped::PrintCSV(), wsf::event::OrbitDeterminationInitiated::PrintCSV(), wsf::event::OrbitDeterminationUpdated::PrintCSV(), wsf::event::SensorRequestCanceled::PrintCSV(), wsf::event::SensorTrackDropped::PrintCSV(), wsf::event::StateEntry::PrintCSV(), wsf::event::StateExit::PrintCSV(), wsf::event::WeaponFireAborted::PrintCSV(), and wsf::event::WeaponFireRequested::PrintCSV().
| WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_FiringGeometry | ( | std::ostream & | aStream, |
| WsfPlatform * | aShooterPtr, | ||
| WsfPlatform * | aTargetPtr ) |
References PrintLocationData(), and PrintNonLocationData().
Referenced by wsf::event::WeaponFired::PrintCSV(), and PrintWE_Termination().
| WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_PlayerData | ( | std::ostream & | aStream, |
| const WsfWeaponEngagement * | aEngagementPtr, | ||
| WsfPlatform * | aOtherPtr, | ||
| WsfPlatform *& | aFiringPtr, | ||
| WsfPlatform *& | aWeaponPtr, | ||
| WsfPlatform *& | aTargetPtr, | ||
| WsfSimulation & | aSimulation ) |
References WsfWeaponEngagement::GetFiringPlatformIndex(), WsfWeaponEngagement::GetFiringPlatformName(), WsfObject::GetName(), WsfSimulation::GetPlatformByIndex(), WsfSimulation::GetPlatformNameId(), WsfWeaponEngagement::GetSerialNumber(), WsfWeaponEngagement::GetTargetPlatformIndex(), WsfWeaponEngagement::GetWeaponPlatformIndex(), WsfWeaponEngagement::GetWeaponPlatformName(), and WsfWeaponEngagement::GetWeaponSystemName().
Referenced by wsf::event::WeaponFired::PrintCSV(), and PrintWE_Termination().
| WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_RelativeGeometry | ( | std::ostream & | aStream, |
| const WsfWeaponEngagement * | aEngagementPtr, | ||
| WsfPlatform * | aWeaponPtr, | ||
| WsfPlatform * | aTargetPtr ) |
| WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_Termination | ( | std::ostream & | aStream, |
| const WsfWeaponEngagement * | aEngagementPtr, | ||
| WsfPlatform * | aOtherPtr, | ||
| WsfSimulation & | aSimulation, | ||
| int | aTimeFormat ) |
References WsfWeaponEffects::GetCEP(), WsfPlatform::GetDamageFactor(), WsfWeaponEngagement::GetExtendedResult(), WsfWeaponEngagement::GetIncidentalResult(), WsfWeaponEffects::GetInterceptPk(), WsfWeaponEffects::GetLaunchPk(), WsfWeaponEffects::GetPkConstraint(), WsfWeaponEffects::GetPkDegrade(), WsfWeaponEffects::GetPkDrawn(), WsfWeaponEffects::GetResultString(), WsfWeaponEngagement::GetStartTime(), WsfWeaponEngagement::GetTargetResult(), WsfWeaponEngagement::GetWeaponEffects(), PrintWE_FiringGeometry(), PrintWE_PlayerData(), PrintWE_RelativeGeometry(), WsfWeaponEffects::UseInterceptPk(), and WsfWeaponEffects::UseLaunchPk().
Referenced by wsf::event::WeaponHit::PrintCSV(), wsf::event::WeaponMissed::PrintCSV(), and wsf::event::WeaponTerminated::PrintCSV().
| void WSF_EXPORT wsf::event::utilsCSV::Write | ( | std::ostream & | aStream, |
| const GenUniqueId & | aApplicationId ) |
Referenced by wsf::event::HandleConnect::PrintCSV(), and wsf::event::HandleDisconnect::PrintCSV().