CARMA C++
|
A class to encapsulate the switchyard cable map. More...
#include <carma/signalpath/SignalPathMap.h>
Public Member Functions | |
void | addAntenna (unsigned antNo, SubarrayId subarrayId) |
void | addAstroBandConfiguration (std::string name, AstroBandConfiguration &conf) |
void | addConfiguration (SwitchyardConfiguration &conf, std::string confName, std::string astroBandConfName) |
void | addCorrelator (CorrelatorType type, SubarrayId subarrayId) |
void | addIndex (std::vector< unsigned > &indices, unsigned index, unsigned lowestValid, unsigned highestValid) |
bool | astroBandConfigurationIsValid (unsigned bandNo, std::string confName, SubarrayId saId=SA_NONE, CorrelatorType type=CORR_ALL) |
bool | astroBandConfigurationSpecifiesMapping (unsigned bandNo, std::string confName, SubarrayId saId, CorrelatorType type) |
bool | canAssertSwitchPosition (SwitchSetting swSet) |
void | checkArguments (unsigned carmaId, PolarizationType type, SplitterChannelId splitterChannel, unsigned switchId, SwitchChannelId switchChannel) |
void | checkArguments (unsigned carmaId, PolarizationType type, SplitterChannelId splitterChannel, std::string digitizerId) |
void | checkAstroBandConfiguration (unsigned bandNo, std::string confName, SubarrayId saId=SA_NONE, CorrelatorType type=CORR_ALL) |
void | clearAstroBandConfiguration (unsigned bandNo, SubarrayId saId=SA_NONE, CorrelatorType type=CORR_ALL) |
void | clearConfiguration (CorrelatorType type=CORR_ALL) |
void | clearWalshColumn (std::string antName) |
void | configureAstroBand (unsigned bandNo, std::string confName, SubarrayId saId=SA_NONE, CorrelatorType type=CORR_ALL) |
std::vector< unsigned > | extractIndexRange (sza::util::String &antStr, unsigned lowestValid, unsigned highestValid, unsigned baseIndex=0, bool actualIndex=true) |
unsigned | firstEvenIndex (unsigned lowestValid, unsigned highestValid) |
unsigned | firstOddIndex (unsigned lowestValid, unsigned highestValid) |
std::vector< unsigned > | getActiveAstroBandNos (CorrelatorType type) |
std::vector< CorrelatorBandSpec > | getActiveCorrelatorBands (CorrelatorType type=CORR_ALL) |
std::vector< CorrelatorCrateSpec > | getActiveCorrelatorCrates (CorrelatorType type=CORR_ALL) |
Antenna * | getAntenna (std::string antName) |
Antenna * | getAntenna (unsigned antNo) |
std::vector< AntennaSpec > | getAntennas (unsigned astroBandNo, bool all=true) |
AstroBand * | getAstroBand (unsigned astroBandNo) |
AstroBandConfiguration & | getAstroBandConfiguration (std::string name) |
std::vector< unsigned > | getAstroBandNosForConfiguration (std::string confName, SubarrayId saId, CorrelatorType type) |
BlockDownconverter * | getBdc (std::string antName) |
BlockDownconverter * | getBdc (unsigned bdcNo) |
std::vector < BlockDownconverterSetting > | getBdcSettings (unsigned astroBandNo=0) |
SwitchyardConfiguration & | getConfiguration (std::string name) |
CorrelatorBand * | getCorrBand (CorrelatorType type, unsigned bandNo) |
CorrelatorBand * | getCorrBand (std::string bandName) |
Correlator * | getCorrelator (CorrelatorType type) |
std::vector < CorrelatorBandInputSpec > | getCorrelatorBandInputMap (CorrelatorBandSpec band) |
std::vector< CorrelatorBandSpec > | getCorrelatorBands (unsigned astroBandNo) |
std::vector < CorrelatorCrateInputSpec > | getCorrelatorCrateInputMap (CorrelatorCrateSpec crate) |
CorrelatorCrate * | getCrate (std::string crateName) |
CorrelatorCrate * | getCrate (CorrelatorType type, unsigned crateNo) |
std::vector< SplitterChannelId > | getDefaultSplitterChannelsForPolarization (PolarizationType type) |
Digitizer * | getDigitizer (std::string digitizerName) |
Digitizer * | getDigitizer (unsigned digitizerNo) |
std::vector< SwitchSetting > | getIFSwitchSettings (unsigned astroBandNo=0) |
std::vector< PolarizationType > | getPolarizations (unsigned astroBandNo, bool all) |
Switch * | getSwitch (unsigned switchNo) |
Switch * | getSwitch (std::string switchName) |
unsigned | getWalshColumn (unsigned antNo) |
std::vector < WalshColumnAssignment > | getWalshColumnAssignment (unsigned antNo=0) |
void | hardwareMapAntennaIFToDigitizer (std::string antennaIFSpec, std::string digSpec) |
void | hardwareMapAntennaIFToDigitizer (unsigned carmaId, PolarizationType type, SplitterChannelId splitterChannelId, std::string digitizerId) |
void | hardwareMapAntennaIFToSwitch (std::string antennaIFSpec, std::string switchChannelSpec) |
void | hardwareMapAntennaIFToSwitch (unsigned carmaId, PolarizationType type, SplitterChannelId splitterChannel, unsigned switchId, SwitchChannelId switchChannel) |
void | initializeCableMap (std::string fileName) |
void | loadConfiguration (std::string fileName, std::string confName, std::string astroBandConfName) |
void | mapAntennaIFToBdc (std::string antennaIFSpec, std::string bdcSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToBdc (unsigned carmaId, PolarizationType polType, SplitterChannelId scId, unsigned bdcIndex, std::vector< unsigned > &bandIndices, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToBdc (unsigned carmaId, PolarizationType polType, SplitterChannelId scId, unsigned bdcIndex, unsigned bandNo, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToCorr (std::string antennaIFSpec, std::string corrSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToCorr (unsigned carmaId, PolarizationType polType, SplitterChannelId scId, std::string crateName, unsigned inputIndex, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToDigitizer (std::string antennaIFSpec, std::string digitizerSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToDigitizer (unsigned carmaId, PolarizationType polType, SplitterChannelId scId, std::string digitizerName, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapAntennaIFToInput (std::string antennaIFSpec, std::string inputSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapBandInputToAstroBandInput (std::string bandName, unsigned bandInputNo, unsigned astroBandNo, unsigned astroBandInputNo, bool doMapping, CorrelatorType type, AstroBandInfo *info) |
void | mapBandToAstroBand (std::string bandSpec, std::string astroSpec, bool doMapping, unsigned baseIndex, CorrelatorType type, AstroBandInfo *info) |
void | mapCorrInputToAstroBandInput (std::string crateName, unsigned crateInputNo, unsigned astroBandNo, unsigned astroBandInputNo, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapCorrToAstroBand (std::string corrSpec, std::string astroSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapDigitizerToAstroBand (std::string digSpec, std::string astroSpec, bool doMapping=true, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | mapDigitizerToAstroBandInput (std::string digId, unsigned astroBandNo, unsigned astroBandInputNo, bool doMapping=true, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | parseAstroBandSpecification (std::string astroSpec, std::vector< unsigned > &astroBandIndices, std::vector< unsigned > &astroBandInputIndices, unsigned baseIndex, bool actualIndex) |
void | parseBdcSpecification (std::string bdcSpec, std::vector< unsigned > &bdcIndices, std::vector< unsigned > &bandIndices, unsigned baseIndex=0, bool actualIndex=true) |
void | parseCorrBandSpecification (std::string bandSpec, std::vector< std::string > &bandNames, std::vector< unsigned > &inputIndices, unsigned baseIndex, bool actualIndex) |
void | parseCorrSpecification (std::string corrSpec, std::vector< std::string > &crateNames, std::vector< unsigned > &inputIndices, unsigned baseIndex=0, bool actualIndex=true) |
void | parseDigitizerSpecification (std::string digSpec, std::vector< std::string > &digIds, unsigned baseIndex=0, bool actualIndex=true) |
void | parseIfSpecification (std::string ifSpec, PolarizationType &type, std::vector< unsigned > &carmaIds, std::vector< SplitterChannelId > &channels) |
unsigned | parseIndexExpression (sza::util::String &str, unsigned baseIndex, unsigned actualIndex, unsigned lowestValid, unsigned highestValid) |
void | parseIndexOperands (sza::util::String &str, unsigned &op1, unsigned &op2, std::string op, unsigned baseIndex, unsigned actualIndex, unsigned lowestValid, unsigned highestValid) |
void | parseSwitchSpecification (std::string switchSpec, std::vector< unsigned > &switchIds, std::vector< SwitchChannelId > &channels) |
std::string | printDown () |
std::string | printDownAntenna (std::string antName) |
std::string | printDownSwitch (std::string switchName) |
std::string | printUp () |
void | removeAntenna (unsigned antNo, SubarrayId subarrayId) |
bool | removeCorrelator (CorrelatorType type, SubarrayId subarrayId) |
void | selectAstroBandConfiguration (std::string confName, AstroBandInfo *info=0, CorrelatorType type=CORR_ALL) |
void | selectConfiguration (std::string confName, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | setWalshColumn (std::string antName, unsigned walshColNo) |
void | validateAntenna (std::string antName) |
void | validateAntenna (unsigned antNo) |
void | validateAntennaIFToBdcMapping (std::string ifSpec, std::string bdcSpec, unsigned baseIndex=0) |
void | validateAntennaIFToCorrMapping (std::string ifSpec, std::string corrSpec, unsigned baseIndex=0) |
void | validateAntennaIFToInputMapping (std::string ifSpec, std::string inputSpec, unsigned baseIndex=0) |
void | validateAstroBand (unsigned astroBandNo) |
void | validateAstroBandConfiguration (std::string confName, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | validateAstroBandConfiguration (AstroBandConfiguration &conf, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | validateBdc (std::string bdcName) |
void | validateBdc (unsigned bdcNo) |
void | validateConfiguration (std::string confName, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | validateConfiguration (SwitchyardConfiguration &conf, unsigned baseIndex=0, CorrelatorType type=CORR_ALL, AstroBandInfo *info=0) |
void | validateCorrBand (std::string bandName) |
void | validateCrate (std::string crateName) |
void | validateDigitizer (std::string digitizerName) |
void | validateSwitch (std::string switchName) |
Static Public Member Functions | |
static std::string | antNoToAntName (unsigned antNo) |
static signalpath::CorrelatorType | corrNameToCorrType (std::string name) |
static std::string | corrTypeAndBandNoToCorrBandName (CorrelatorType type, unsigned bandNo) |
static std::string | corrTypeAndCrateNoToCrateName (CorrelatorType type, unsigned crateNo) |
static std::string | fill (char fillChar, unsigned nChar) |
static SplitterChannelId | splitterChannelNumberToChannelId (unsigned iChan) |
static unsigned | switchChannelIdToChannelNumber (SwitchChannelId) |
static SwitchChannelId | switchChannelNumberToChannelId (unsigned iChan) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SignalPathMap &swMap) |
A class to encapsulate the switchyard cable map.
Definition at line 1361 of file SignalPathMap.h.