|
WSF
|
#include <DSV_Output.hpp>


Classes | |
| struct | EventData |
Public Types | |
| using | EventMap = std::unordered_map<std::string, EventData> |
| Public Types inherited from Report | |
| enum class | AngleUnitType { cDEGREES , cRADIANS } |
| enum class | LengthUnitType { cFEET , cMETERS } |
| enum class | TrackNumericalType { cNUMERICAL , cJTIDS } |
| enum class | DelimiterType { cUNKNOWN , cCOMMA , cCOLUMN , cSEMICOLON , cSPACE , cTAB } |
| enum class | Type { cUNKNOWN , cCOMMUNICATION , cDETECTION , cDSV , cENGAGEMENT , cTRAJECTORY , cECLIPSE } |
Public Member Functions | |
| DSV_Output ()=delete | |
| DSV_Output (const Options &aOptions) | |
| ~DSV_Output () override=default | |
| bool | CreateRequiredData (std::string &aOutputDir) override |
| bool | Filter (std::vector< std::string > &aLine) override |
| void | PrintReportHeader (std::ostream &aStream) override |
| bool | StreamIsOpen (size_t aIndex) const |
| std::ofstream & | StreamRef (size_t aIndex) |
| Public Member Functions inherited from Report | |
| Report ()=delete | |
| Report (const Type aReportType, const Options &aOptions) | |
| virtual | ~Report ()=default |
| bool | PrintReport () |
| void | ProcessData (std::istream &aInStream) |
| virtual bool | ProcessInputConfiguration (UtInput &aInput) |
| std::string | PrintDelimiter () const |
| void | SetDelimiter (const std::string &aTypeString) |
| void | SetDateTime (const std::vector< std::string > &aDataStrVec) |
| double | FormatAngle (double aAngle) const |
| UtTime | FormatTime (double aSimTime) const |
Additional Inherited Members | |
| Static Public Member Functions inherited from Report | |
| static void | FormatNumberColumn (std::ostream &aStream, size_t aNumSpaces, int aNumDigits, int aInt) |
| static void | FormatStringColumn (std::ostream &aStream, std::string &aString, int aNumSpaces) |
| static std::string | GetTypeStr (Report::Type aReportType) |
| static Header::DataTag | ParseHeaderTag (const std::string &aString, bool aExpectType=false) |
| static void | Tokenize (const std::string &aStr, std::vector< std::string > &aTokens, const char aDelimiter=',') |
| static std::vector< std::string > | Tokenize (const std::string &aStr, char aDelimiter) |
| Protected Member Functions inherited from Report | |
| void | PrepareExtension (std::string &aOutputDir) |
| Header | ProcessHeaderLine (const std::string &aLine) |
| void | SetLatLonFormat (int &aFormat) |
| std::string | FormatDateTime (double aSimTime=0) |
| std::string | FormatDateTime (int aYear, int aMonth, int aDay, int aHour, int aMinute, double aSecond) |
| Static Protected Member Functions inherited from Report | |
| static std::string | SubstituteOutputFileVariables (const std::string &aOutputFile, size_t aMC_Number, UtCalendar &aCalendar) |
| static std::vector< std::string > | ExtractHeaders (std::istream &aStream) |
| Protected Attributes inherited from Report | |
| Type | mReportType |
| std::string | mReportName |
| std::string | mDataFile |
| std::string | mOutputDir |
| size_t | mStartMC |
| size_t | mEndMC |
| UtCalendar | mSimDateTime |
| DelimiterType | mDelimiterType = DelimiterType::cCOMMA |
| double | mStartTime = 0.0 |
| std::string | mStartTimeUnits = "seconds" |
| double | mEndTime = std::numeric_limits<double>::max() |
| std::string | mEndTimeUnits = "seconds" |
| size_t | mCurrentMC = mStartMC |
| bool | mUseMC = false |
| std::map< std::string, std::map< std::string, TagData > > | mEventToTagData |
| std::vector< std::string > | mEvents |
| std::vector< std::string > | mHeader |
| bool | mWriteHeader = true |
| std::iostream::pos_type | mEndOfHeaders = 0 |
| int | mTimeFormat = UtTime::FmtS + 5 + UtTime::FmtShowPoint + UtTime::FmtNoSuffix |
| int | mLatLonFormat = UtAngle::FmtDMS + 2 |
| AngleUnitType | mAngleUnits = AngleUnitType::cDEGREES |
| int | mInterval = 1 |
| bool | mSingleOutputFile = true |
| TrackNumericalType | mTrackNum = TrackNumericalType::cNUMERICAL |
| LengthUnitType | mLengthUnits = LengthUnitType::cMETERS |
| int | mPrecision = 8 |
| size_t | mMaxPlatformNameSize = 8 |
| size_t | mMaxTimeSize = 15 |
| std::vector< std::string > | mRequiredData |
| std::queue< std::iostream::pos_type > | mFilteredDataLoc |
| using DSV_Output::EventMap = std::unordered_map<std::string, EventData> |
|
delete |
References DSV_Output().
Referenced by DSV_Output().
|
explicit |
References Report::Report().
|
overridedefault |
References StreamIsOpen().
|
overridevirtual |
Reimplemented from Report.
References ed, Report::mEvents, Report::mEventToTagData, ok, and StreamIsOpen().
|
overridevirtual |
Reimplemented from Report.
References Report::mEndTime.
|
overridevirtual |
Reimplemented from Report.
References Report::mEvents, and StreamRef().
| bool DSV_Output::StreamIsOpen | ( | size_t | aIndex | ) | const |
Referenced by CreateRequiredData(), and ~DSV_Output().
|
inline |
Referenced by PrintReportHeader().