DOmeasures.h
Classes
- measures -- This class gives Glish to Measures connection (full description)
Interface
- Public Members
- measures()
- measures(const measures &other)
- measures &operator=(const measures &other)
- ~measures()
- MeasFrame &getFrame()
- Bool doframe(const MeasureHolder &in)
- Bool doframe(const String &in)
- Bool measure(String &error, MeasureHolder &out, const MeasureHolder &in, const String &outref, const GlishRecord &off)
- Bool measures::toUvw(String &error, MeasureHolder &out, Vector<Double> &xyz, Vector<Double> &dot, const MeasureHolder &in)
- Bool measures::expand(String &error, MeasureHolder &out, Vector<Double> &xyz, const MeasureHolder &in)
- virtual String className() const
- virtual Vector<String> methods() const
- virtual MethodResult runMethod(uInt which, ParameterSet ¶meters, Bool runMethod)
- virtual Vector<String> noTraceMethods() const
- Private Members
- static void getMeasureType(String &out, const GlishRecord &in)
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
Etymology
Distributed Object and measures
Synopsis
The class makes the connection between the
Measures module and the Glish
distributed object system. It provides a series of Glish callable
methods. See Aips++ Note 197 for details.
The parameter interface between Glish and the distributed objects
knows about Measures, and can convert them. Operations supported
are all the conversion and testing related ones; both in CLI and a
GUI related methods.
The class name is measures, the file name DOmeasures,
with the actual distributed object in measures.cc, measures.g
Example
For an example of the class use, see the measures.g application.
Motivation
To provide a direct user interface between the user and
Measures related calculations and
conversions; including coordinate and time conversions.
To Do
- Change to/fromRecord conversions after new Parameter interface
Member Description
measures(const measures &other)
measures &operator=(const measures &other)
Create and get a Frame
Do a frame fill with a measure
Do a frame fill with a table name (e.g. comet)
Convert measure
Create uvw from baseline
Expand vector to baselines
Required Tasking methods
Stop tracing
Get measure type (or "none") from an input measure