|
WSF
|
#include <DetectionReport.hpp>


Classes | |
| struct | DetectionInterval |
| struct | DetectorDetecteeKey |
| struct | ChangedEvent |
Public Types | |
| enum class | DetectionReportType { cUNKNOWN , cALLDETECTIONEVENTS , cDETECTEDBY , cFIRSTDETECTIONS , cTOTALDETECTIONS , cACCESS } |
| using | DetectorDetecteeMap = std::map< DetectorDetecteeKey, DetectionInterval > |
| using | KeyInputs = std::priority_queue< ChangedEvent > |
| 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 | |
| DetectionReport ()=delete | |
| DetectionReport (const Options &aOptions) | |
| ~DetectionReport () override=default | |
| bool | CreateRequiredData (std::string &aOutputDir) override |
| bool | Filter (std::vector< std::string > &aLine) override |
| void | PrintReportHeader (std::ostream &aStream) override |
| void | PrintReport (std::istream &aInStream, std::ostream &aOutStream) override |
| bool | ProcessInputConfiguration (UtInput &aInput) override |
| 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) |
| 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) |
| virtual void | ProcessHeaders (std::istream &aStream) |
| 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 DetectionReport::DetectorDetecteeMap = std::map< DetectorDetecteeKey, DetectionInterval > |
| using DetectionReport::KeyInputs = std::priority_queue< ChangedEvent > |
|
strong |
|
delete |
References DetectionReport().
Referenced by DetectionReport().
|
explicit |
References Report::Report().
|
overridedefault |
|
overridevirtual |
Reimplemented from Report.
References cALLDETECTIONEVENTS, cFIRSTDETECTIONS, and Report::mRequiredData.
|
overridevirtual |
Reimplemented from Report.
References cACCESS, Report::mEndTime, Report::mEvents, Report::mEventToTagData, and Report::mStartTime.
|
overridevirtual |
Implements Report.
References cACCESS, cALLDETECTIONEVENTS, Report::cCOLUMN, cDETECTEDBY, cFIRSTDETECTIONS, cTOTALDETECTIONS, Report::FormatStringColumn(), Report::FormatTime(), Report::mCurrentMC, Report::mDelimiterType, Report::mEventToTagData, Report::mFilteredDataLoc, Report::mRequiredData, Report::mUseMC, Report::PrintDelimiter(), and Report::Tokenize().
|
overridevirtual |
Reimplemented from Report.
References cACCESS, cALLDETECTIONEVENTS, Report::cCOLUMN, cDETECTEDBY, cFIRSTDETECTIONS, cTOTALDETECTIONS, Report::FormatDateTime(), Report::GetTypeStr(), Report::mDelimiterType, Report::mEndTime, Report::mEndTimeUnits, Report::mMaxPlatformNameSize, Report::mMaxTimeSize, Report::mReportName, Report::mReportType, Report::mStartTime, Report::mStartTimeUnits, Report::mUseMC, and Report::PrintDelimiter().
|
overridevirtual |
Reimplemented from Report.
References Report::ProcessInputConfiguration().