WSF
WsfMTI_TableManager Class Reference

#include <WsfMTI_TableManager.hpp>

Classes

class  MTI_AdjustmentTable
 A nested class for the MTI adjustment table. This was extracted from WsfRadarSensor. More...
class  MTI_AdjustmentTableCompound
struct  FreqSpeedListPair
 A data structure used for parsing the compound tables. More...

Public Member Functions

bool ReadCsv (const std::string &aFileName, MTI_AdjustmentTable &aAdjustmentTable)
MTI_AdjustmentTableReadCsvCompound (const std::string &aFileName)
 This table-version has mutiple columns mapped to a single function outputs/attenuations.
bool ReadBinary (const std::string &aFileName, MTI_AdjustmentTable &aAdjustmentTable)
void WriteBinary (const std::string &aFileName, MTI_AdjustmentTable &aAdjustmentTable)
void WriteCsv (const std::string &aFileName, MTI_AdjustmentTable &aAdjustmentTable)
void SetDebug (bool aTruth)

Static Public Member Functions

static WsfMTI_TableManagerGetManager ()
 Static.

Detailed Description

For MTI there can be a specific table for each possible mode, i.e., staggered or fixed PRI, dual or single. In WSF, you configure a mode simply by name. In that element, you can dictate a MTI table. It already supports in-line tables. This class allows specifying an external (CSV) table. The original table is in dB, and the note from WsfRadarSensor is "The adjustment table is in dB, and the interpolation is in dB-space." So, no conversions in this class are required.

Member Function Documentation

◆ GetManager()

WsfMTI_TableManager & WsfMTI_TableManager::GetManager ( )
static

Static.

Accesses the singleton

Returns
The singleton of this class

◆ ReadBinary()

bool WsfMTI_TableManager::ReadBinary ( const std::string & aFileName,
MTI_AdjustmentTable & aAdjustmentTable )

◆ ReadCsv()

◆ ReadCsvCompound()

WsfMTI_TableManager::MTI_AdjustmentTable * WsfMTI_TableManager::ReadCsvCompound ( const std::string & aFileName)

This table-version has mutiple columns mapped to a single function outputs/attenuations.

References WsfMTI_TableManager::MTI_AdjustmentTableCompound::AddTable(), and WsfMTI_TableManager::FreqSpeedListPair::mFrequencyHz.

◆ SetDebug()

void WsfMTI_TableManager::SetDebug ( bool aTruth)
inline

Enables debugging messages.

Parameters
aTruthTrue to turn on, false oterwise

◆ WriteBinary()

void WsfMTI_TableManager::WriteBinary ( const std::string & aFileName,
MTI_AdjustmentTable & aAdjustmentTable )

◆ WriteCsv()

void WsfMTI_TableManager::WriteCsv ( const std::string & aFileName,
MTI_AdjustmentTable & aAdjustmentTable )

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved