13 #ifndef CARMA_MONITOR_SIGNAL_PATH_H
14 #define CARMA_MONITOR_SIGNAL_PATH_H
63 unsigned short getCarmaAntennaNo (
const std::string& antName)
const ;
76 getCarmaAntennaName(
const unsigned short carmaAntennaNo)
const ;
84 unsigned int getInputNo (
const std::string& antName)
const ;
92 unsigned int getSynthesizerNo (
const std::string& antName)
const ;
100 unsigned int getIFchannelNo (
const std::string& antName)
const ;
108 unsigned int getLOchannelNo (
const std::string& antName)
const ;
116 unsigned int getLRchannelNo (
const std::string& antName)
const ;
125 unsigned int getIFchannelID (
const unsigned int dcInputID)
const ;
134 void mapAntToStation (std::string& antName,
unsigned int stationID) ;
143 void mapAntToSynth (std::string& antName,
unsigned int synthID) ;
152 void mapAntToIFchannel (std::string& antName,
unsigned int IFchannelID) ;
162 void mapAntToLRchannel (std::string& antName,
unsigned int LRchannelID) ;
171 void mapAntToLOchannel (std::string& antName,
unsigned int LOchannelID) ;
181 void mapIFchannelToDCinput
182 (
const unsigned int IFchannelID,
unsigned int dcInputID) ;
193 int findAntEntry (
const std::string& antName)
const ;
202 unsigned int findIFchannelEntry (
const unsigned int IFchannelID)
const ;
210 static void initializeMaxConstants () ;
234 EntryNotFoundException (
const std::ostringstream& oss,
235 const char* fileName,
241 virtual ~EntryNotFoundException () throw ();
250 class AntennaNotFoundException : public EntryNotFoundException {
262 AntennaNotFoundException (
const std::ostringstream& oss,
263 const char* fileName,
269 virtual ~AntennaNotFoundException () throw ();
278 class IFchannelEntryNotFoundException : public EntryNotFoundException {
290 IFchannelEntryNotFoundException (
const std::ostringstream& oss,
291 const char* fileName,
297 virtual ~IFchannelEntryNotFoundException () throw ();
306 class SynthIDOutOfRangeException : public ::carma::util::ErrorException {
318 SynthIDOutOfRangeException (
const std::ostringstream& oss,
319 const char* fileName,
325 virtual ~SynthIDOutOfRangeException () throw ();
334 class IFchannelIDOutOfRangeException : public ::carma::util::ErrorException {
346 IFchannelIDOutOfRangeException (
const std::ostringstream& oss,
347 const char* fileName,
353 virtual ~IFchannelIDOutOfRangeException () throw ();
362 class LRchannelIDOutOfRangeException : public ::carma::util::ErrorException {
374 LRchannelIDOutOfRangeException (
const std::ostringstream& oss,
375 const char* fileName,
381 virtual ~LRchannelIDOutOfRangeException () throw ();
390 class LOchannelIDOutOfRangeException : public ::carma::util::ErrorException {
402 LOchannelIDOutOfRangeException (
const std::ostringstream& oss,
403 const char* fileName,
410 virtual ~LOchannelIDOutOfRangeException () throw ();
416 #endif // CARMA_MONITOR_SIGNAL_PATH_H
Exception class for errors.
an exception indicating that a look-up operation failed find a match to the inputs.