12#ifndef WSFEVENTRESULT_HPP
13#define WSFEVENTRESULT_HPP
16#include "wsf_export.h"
78 int mTimeFormat{UtTime::FmtS + 5 + UtTime::FmtShowPoint + UtTime::FmtNoSuffix};
98 ResultBase(
double aSimTime, std::string aEventName =
"UNSET")
121 , mSettings(
std::move(aSettings))
125 virtual void Print(std::ostream& aStream)
const = 0;
132 virtual void PrintCSV(std::ostream& aStream)
const = 0;
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
A base class for messages sent among simulation communication objects, processors and sensors.
Definition WsfMessage.hpp:33
Definition WsfEventResult.hpp:96
double GetSimTime() const
Definition WsfEventResult.hpp:108
std::string mEventName
Definition WsfEventResult.hpp:113
ResultBase & operator=(const ResultBase &)=default
const std::string & GetName() const
Definition WsfEventResult.hpp:109
ResultBase(double aSimTime, std::string aEventName="UNSET")
Definition WsfEventResult.hpp:98
double mSimTime
Definition WsfEventResult.hpp:112
virtual ~ResultBase()=default
ResultBase(const ResultBase &)=default
virtual void PrintCSV(std::ostream &aStream) const =0
virtual void Print(std::ostream &aStream, Settings aSettings)
Definition WsfEventResult.hpp:126
Result(double aSimTime, Settings aSettings=Settings{}, std::string aEventName="UNSET")
Definition WsfEventResult.hpp:119
virtual void Print(std::ostream &aStream) const =0
virtual void PrintCSV(std::ostream &aStream, Settings aSettings)
Definition WsfEventResult.hpp:133
Settings mSettings
Definition WsfEventResult.hpp:141
Definition WsfEventResult.hpp:35
void SetLatLonFormat(int aLatLonFormat)
Definition WsfEventResult.hpp:44
int mTimeFormat
Definition WsfEventResult.hpp:78
bool PrintTrackResidualCovariance() const
Definition WsfEventResult.hpp:57
bool mPrintSingleLinePerEvent
Definition WsfEventResult.hpp:83
int GetLatLonFormat() const
Definition WsfEventResult.hpp:43
bool PrintLLA_Locations() const
Definition WsfEventResult.hpp:46
void SetPrintSingleLinePerEvent(bool aPrintSingleLinePerEvent)
Definition WsfEventResult.hpp:49
int mLatLonFormat
Definition WsfEventResult.hpp:79
bool PrintSingleLinePerEvent() const
Definition WsfEventResult.hpp:48
std::map< WsfStringId, MessagePrintFunction > MessagePrintMap
Definition WsfEventResult.hpp:38
std::string mInterferencePowerLabel
Definition WsfEventResult.hpp:90
std::string GetSNR_InterferenceLabel() const
Definition WsfEventResult.hpp:64
bool mPrintTrackCovariance
Definition WsfEventResult.hpp:85
void SetTimeFormat(int aTimeFormat)
Definition WsfEventResult.hpp:42
bool PrintTrackCovariance() const
Definition WsfEventResult.hpp:55
void SetPrintTrackCovariance(bool aPrintTrackCovariance)
Definition WsfEventResult.hpp:56
void SetPrintLLA_Locations(bool aPrintLLA_Locations)
Definition WsfEventResult.hpp:47
void SetInterferencePowerLabel(const std::string &aLabel)
Definition WsfEventResult.hpp:67
void SetSNR_InterferenceLabel(const std::string &aLabel)
Definition WsfEventResult.hpp:65
std::string mSNR_InterferenceLabel
Definition WsfEventResult.hpp:89
bool mPrintTrackInMessage
Definition WsfEventResult.hpp:84
void SetPrintTrackInMessage(bool aPrintTrackInMessage)
Definition WsfEventResult.hpp:54
bool PrintTrackInMessage() const
Definition WsfEventResult.hpp:53
void RegisterMessagePrinter(WsfStringId aMessageType, const MessagePrintFunction &aFunction)
Definition WsfEventResult.hpp:71
void SetPrintTrackResidualCovariance(bool aPrintTrackResidualCovariance)
Definition WsfEventResult.hpp:58
const MessagePrintMap & GetMessagePrinters() const
Definition WsfEventResult.hpp:70
bool mPrintTrackResidualCovariance
Definition WsfEventResult.hpp:86
int GetTimeFormat() const
Definition WsfEventResult.hpp:41
std::string GetInterferencePowerLabel() const
Definition WsfEventResult.hpp:66
std::function< void(double, const WsfMessage &)> MessagePrintFunction
Definition WsfEventResult.hpp:37
MessagePrintMap mMessagePrinters
Definition WsfEventResult.hpp:92
bool mPrintLLA_Locations
Definition WsfEventResult.hpp:82
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185
Definition WsfXIO_EventResults.cpp:33
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32