WSF
wsf::event::utilsCSV Namespace Reference

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)

Detailed Description

csv_event_output utilities for printing of CSV based event results

Function Documentation

◆ GetAdditionalDE_Info()

◆ GetAdditionalImplicitInfo()

WSF_MIL_EXPORT void wsf::event::utilsCSV::GetAdditionalImplicitInfo ( WsfImplicitWeapon * aWeaponPtr,
WsfPlatform * aTargetPtr,
std::string & aInfo )

◆ GetCyberEvent()

◆ GetTargetName()

◆ MakePrintableString()

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'.

◆ PrintAuxData()

WSF_EXPORT void wsf::event::utilsCSV::PrintAuxData ( std::ostream & aStream,
const UtAttributeContainer * aAuxDataPtr )

References PrintAuxData().

Referenced by PrintAuxData(), and PrintTrackData().

◆ PrintDateTime() [1/2]

WSF_EXPORT void wsf::event::utilsCSV::PrintDateTime ( std::ostream & aStream,
const WsfSimulation & aSimulation )

◆ PrintDateTime() [2/2]

WSF_EXPORT void wsf::event::utilsCSV::PrintDateTime ( std::ostream & aStream,
double aSimTime,
const WsfSimulation & aSimulation )

◆ PrintEM_AbsTargetData()

WSF_EXPORT void wsf::event::utilsCSV::PrintEM_AbsTargetData ( std::ostream & aStream,
const WsfEM_Interaction & aResult,
WsfPlatform * aTgtPtr,
const WsfEM_Interaction::LocationData & aLocData )

◆ PrintEM_AbsXmtrRcvrData()

WSF_EXPORT void wsf::event::utilsCSV::PrintEM_AbsXmtrRcvrData ( std::ostream & aStream,
const WsfEM_Interaction & aResult,
WsfEM_XmtrRcvr * aXmtrRcvrPtr,
const WsfEM_Interaction::LocationData & aLocData )

◆ PrintEM_BeamData()

◆ 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().

◆ PrintEM_LocationData()

WSF_EXPORT void wsf::event::utilsCSV::PrintEM_LocationData ( std::ostream & aStream,
WsfPlatform * aPlatformPtr,
const WsfEM_Interaction::LocationData & aLocationData )

◆ PrintEM_Range()

WSF_EXPORT void wsf::event::utilsCSV::PrintEM_Range ( std::ostream & aStream,
double aRange,
bool aWriteNewLine )

◆ PrintEM_RelTargetData()

◆ PrintEM_RelXmtrRcvrData()

◆ PrintEvent()

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 )

◆ PrintLLA()

WSF_EXPORT void wsf::event::utilsCSV::PrintLLA ( std::ostream & aStream,
double aLat,
double aLon,
double aAlt )

◆ PrintLocationData()

◆ PrintLocationDataECI()

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().

◆ PrintLocationDataLLA()

◆ PrintMessageData()

◆ PrintNonLocationData()

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().

◆ PrintOrbitalElementsData()

void wsf::event::utilsCSV::PrintOrbitalElementsData ( std::ostream & aStream,
const UtOrbitalElements & aOE )

◆ PrintOrbitalManeuverData()

◆ PrintPlatformEvent()

◆ PrintSensorResult()

◆ PrintSystemOffOnEvent()

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().

◆ PrintTime() [1/2]

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().

◆ PrintTime() [2/2]

WSF_EXPORT void wsf::event::utilsCSV::PrintTime ( std::ostream & aStream,
WsfSimulation & aSimulation )

◆ PrintTrackCovarianceData()

WSF_EXPORT void wsf::event::utilsCSV::PrintTrackCovarianceData ( std::ostream & aStream,
double aSimTime,
const std::string & aCovarianceType,
const UtCovariance * aCovariancePtr,
const WsfTrack * aTrackPtr )

◆ PrintTrackData()

WSF_EXPORT void wsf::event::utilsCSV::PrintTrackData ( std::ostream & aStream,
double aSimTime,
const WsfTrack * aTrackPtr,
const WsfSimulation & aSimulation,
bool aPrintTrackDataBrief )

◆ PrintTrackTargetName()

◆ PrintWE_FiringGeometry()

WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_FiringGeometry ( std::ostream & aStream,
WsfPlatform * aShooterPtr,
WsfPlatform * aTargetPtr )

◆ PrintWE_PlayerData()

◆ PrintWE_RelativeGeometry()

WSF_MIL_EXPORT void wsf::event::utilsCSV::PrintWE_RelativeGeometry ( std::ostream & aStream,
const WsfWeaponEngagement * aEngagementPtr,
WsfPlatform * aWeaponPtr,
WsfPlatform * aTargetPtr )

◆ PrintWE_Termination()

◆ Write()

void WSF_EXPORT wsf::event::utilsCSV::Write ( std::ostream & aStream,
const GenUniqueId & aApplicationId )
Copyrights Multiple, All Rights Reserved