1 #ifndef CARMA_CORRELATOR_LIB_CORRELATORCONFIGCHECKER_H
2 #define CARMA_CORRELATOR_LIB_CORRELATORCONFIGCHECKER_H
15 namespace correlator {
18 class CorrelatorListener;
36 getInstance( const ::std::string & filename = ::std::string() );
42 bool isDebug(
const std::string& ClassName);
48 bool isLogCmd(
const std::string& ClassName);
326 double defaultCorrelatorMonitorDelay_;
327 double defaultCatchDataMonitorDelay_;
328 double defaultDecimatorMonitorDelay_;
329 double defaultPassBandMonitorDelay_;
330 double defaultTsysMonitorDelay_;
331 double defaultFluxMonitorDelay_;
332 double defaultBlankFlagMonitorDelay_;
333 double defaultLinelengthCorrectionMonitorDelay_;
334 double defaultIFcorrectionMonitorDelay_;
335 double defaultWvrMonitorDelay_;
336 double defaultCorrelatorPublisherMonitorDelay_;
337 double defaultIntegratorMonitorDelay_;
338 double defaultVisBrickWriterMonitorDelay_;
339 int defaultVisBrickWriterFilesize_;
340 int defaultNumberOfBands_;
341 std::string defaultCatchDataIPQfilename_;
342 int defaultCatchDataIPQnumberOfElements_;
343 std::string defaultIntegratorIPQfilename_;
344 int defaultIntegratorIPQnumberOfElements_;
345 float defaultIntegrationTime_;
346 int defaultIPQmaxsize_;
347 int defaultNumberOfRecordsToIntegrate_;
348 int defaultCatchDataWaitForData_;
349 std::vector<std::string> bandNames_;
bool isCorrelatorIntegrator()
Return true if CorrelatorIntegrator should process data.
CorrelatorConfigChecker(const ::std::string &filename)
Constructor.
bool isFlux()
Return true if Flux should process data.
bool isTransportCorrelatorMonitorData()
Returns status of transportMonitorData option which allows control of sending/not sending monitor dat...
carma::correlator::lib::BandManager * getSlBandManager()
Return a pointer to a class which holds Correlator Spectral line DO bands.
bool isCorrelatorPublisher()
Return true if CorrelatorPublisher should process data.
bool isCatchDataNotifyCorrelatorListener(const CorrelatorListener *cl)
Return true if catchData should notify CorrelatorListener as specified in config file.
int getCatchDataWaitForData()
return amount of time in msec to wait for arriving data before locking data container and notifying l...
bool isTransportPassBandMonitorData()
Returns status of transportPassBandMonitorData option which allows control of sending/not sending mon...
bool isTransportCorrelatorPublisherMonitorData()
Returns status of transportCorrelatorPublisherMonitorData option which allows control of sending/not ...
bool isTransportBlankFlagMonitorData()
Returns status of transportBlankFlagMonitorData option which allows control of sending/not sending mo...
std::string getCatchDataIPQfilename()
Return the filename to use for the IPQ written by the catchData program.
bool isDebug(const std::string &ClassName)
Returns status of the debugClassName parameter.
bool isCorrelatorVisBrickWriter()
Return true if CorrelatorVisBrickWriter should process data.
bool isTransportCorrelatorData()
Returns status of transportData option which allows control of sending/not sending data via CORBA...
bool isTransportFluxMonitorData()
Returns status of transportFluxMonitorData option which allows control of sending/not sending monitor...
bool isTransportLinelengthCorrectionMonitorData()
Returns status of transportLinelenghtCorrectionMonitorData option which allows control of sending/not...
bool printTime()
Returns status of printTime parameter.
bool prettyFunction()
Returns status of prettyFunction parameter.
bool isTransportIntegratorMonitorData()
Returns status of transportIntegratorMonitorData option which allows control of sending/not sending m...
bool isSelfCal()
Return true if SelfCal stage should process data.
bool isIFcorrection()
Return true if IFcorrection should process data.
bool isTransportVisBrickWriterMonitorData()
Returns status of transportVisBrickMonitorData option which allows control of sending/not sending mon...
bool isTransportSelfCalMonitorData()
Returns status of transportSelfCalStageMonitorData option which allows control of sending/not sending...
int getIPQmaxsize()
Return the maximum size of the buffer used to hold the data for writing.
bool isWvr()
Return true if Wvr should process data.
bool isApplyDelays()
Return true if delays should be applied to Correlator Data This is used in DelayWorker.
bool isLinelengthCorrection()
Return true if LinelengthCorrection should process data.
float getIntegrationTime()
Return amount of time to integrate in seconds.
double getCatchDataMonitorDelay()
Returns amount of time(in seconds) to delay sending monitor data after every integral half second...
bool isTsys()
Return true if Tsys should process data.
bool isPassBand()
Return true if PassBand should process data.
bool isTransportPipelineMonitorData()
Returns status of transportMonitorData option which allows control of sending/not sending monitor dat...
static CorrelatorConfigChecker * getInstance(const ::std::string &filename=::std::string())
Get Singleton pointer.
bool isLogCmd(const std::string &ClassName)
Returns status of the logCmdClassName parameter.
carma::correlator::lib::BandManager * getWbBandManager()
Return a pointer to a class which holds Correlator Wideband DO bands.
std::string getIntegratorIPQfilename()
Return the filename to use for the IPQ written by the Correlator Integrator.
bool isTransportTsysMonitorData()
Returns status of transportTsysMonitorData option which allows control of sending/not sending monitor...
Abstract Base class for managing configuration files.
virtual ~CorrelatorConfigChecker()
Destructor.
Interface for those wishing to receive notification of arriving Correlator Data.
int getCatchDataIPQnumberOfElements()
Return the number of Elements for the IPQ written by the catchData program.
bool isDecimator()
Return true if Decimator should process data.
Interface for storing and retrieving Correlator Band DO names.
int getIntegratorIPQnumberOfElements()
Return the number of Elements for the IPQ written by the Correlator Integrator.
bool isTransportDecimatorMonitorData()
Returns status of transportDecimatorMonitorData option which allows control of sending/not sending mo...
bool isTransportIFcorrectionMonitorData()
Returns status of transportIFcorrectionMonitorData option which allows control of sending/not sending...
double getCorrelatorMonitorDelay()
Returns amount of time(in seconds) to delay sending monitor data after every integral half second...
Singleton access to configuration parameters.
bool isTransportWvrMonitorData()
Returns status of transportWvrMonitorData option which allows control of sending/not sending monitor ...
int getNumberOfRecordsToIntegrate()
Return the number of Records to Integrate.
bool isBlankFlag()
Return true if BlankFlag should process data.
bool isCorrelatorIpqWriter()
Return true if CorrelatorIpqWriter should process data.