Go to the documentation of this file.
28 #ifndef MEAS_FREQUENCYENGINE_H
29 #define MEAS_FREQUENCYENGINE_H
32 #include <casacore/casa/aips.h>
33 #include<casacore/meas/MeasUDF/MeasEngine.h>
34 #include <casacore/measures/Measures/MFrequency.h>
35 #include <casacore/measures/Measures/MCFrequency.h>
36 #include <casacore/measures/Measures/MeasConvert.h>
42 class RadialVelocityEngine;
43 class DirectionEngine;
virtual ~FrequencyEngine()
void setConverter(MFrequency::Types toType)
Set the MeasConvert object.
void setRadVelEngine(RadialVelocityEngine &engine)
Set the possible radial velocity engine.
void handleFrequency(std::vector< TENShPtr > &args, uInt &argnr)
Handle the argument(s) giving the input frequencies and reference type.
void setEpochEngine(EpochEngine &engine)
Set the possible epoch engine.
Array< MFrequency > getFrequencies(const TableExprId &id)
Get the frequencies.
EpochEngine * itsEpochEngine
DirectionEngine * itsDirectionEngine
void setDirectionEngine(DirectionEngine &engine)
Set the possible direction engine.
PositionEngine * itsPositionEngine
this file contains all the compiler specific defines
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
void setPositionEngine(PositionEngine &engine)
Set the possible position engine.
RadialVelocityEngine * itsRadVelEngine
DopplerEngine * itsDopplerEngine
void setDopplerEngine(DopplerEngine &engine)
Set the possible doppler engine.
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MFrequency > &frequencies)
Let a derive class handle the values.
Array< Double > getArrayDouble(const TableExprId &id, int type)
Get the values.
MFrequency::Convert itsConverter