| 
    casacore
    
   | 
 
#include <MCBase.h>
Public Types | |
| enum | Routes { N_Routes } | 
| Each derived class should have a list of routines to be called:  More... | |
Public Member Functions | |
| virtual | ~MCBase () | 
| virtual void | getConvert (MConvertBase &mc, const MRBase &inref, const MRBase &outref)=0 | 
| All these functions are called by Measure::Convert classes only.   | |
| virtual void | initConvert (uInt which, MConvertBase &mc)=0 | 
| Create help structures for Measure conversion routines.   | |
| virtual void | clearConvert ()=0 | 
| Delete the pointers used in the MeasConvert help structure cache.   | |
| virtual void | doConvert (MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)=0 | 
| Routine to convert a Measure from one reference frame to another.   | |
Static Protected Member Functions | |
| static void | makeState (uInt *state, const uInt ntyp, const uInt nrout, const uInt list[][3]) | 
| The following routines create a state transition matrix from a list of all defined transitions.   | |
| static String | showState (uInt *state, const uInt ntyp, const uInt nrout, const uInt list[][3]) | 
| Return a fromatted String with matrix information (based on < 100 types)   | |
Static Private Member Functions | |
| static Bool | findState (uInt &len, uInt *state, uInt *mcnt, Bool &okall, Bool *visit, const uInt *tcnt, const uInt *tree, const uInt &in, const uInt &out, const uInt ntyp, const uInt nrout, const uInt list[][3]) | 
| Routine to find the shortest route between two points  | |
Base for specific measure conversions
Internal
Measure, Conversion and Base
MCBase forms the base for the individual state machines doing actual conversions between frames. (see e.g. MCEpoch)
It also has a static routine to calculate the state transition table based on a list of transitions. The makeState() method find the shortest route (weighted if necessary) for a given list of state transitions.
The user of the Measure classes has no direct interaction with this class.
Convert (with all steps explicit) a UTC to an IAT time.
To get a static state transition matrix:
To have specific conversion bases
      
  | 
  virtual | 
      
  | 
  pure virtual | 
Delete the pointers used in the MeasConvert help structure cache.
Implemented in casacore::MCBaseline, casacore::MCDirection, casacore::MCDoppler, casacore::MCEarthMagnetic, casacore::MCEpoch, casacore::MCFrequency, casacore::MCPosition, casacore::MCRadialVelocity, and casacore::MCuvw.
      
  | 
  pure virtual | 
Routine to convert a Measure from one reference frame to another.
Implemented in casacore::MCBaseline, casacore::MCDirection, casacore::MCDoppler, casacore::MCEarthMagnetic, casacore::MCEpoch, casacore::MCFrequency, casacore::MCPosition, casacore::MCRadialVelocity, and casacore::MCuvw.
      
  | 
  staticprivate | 
Routine to find the shortest route between two points 
 
      
  | 
  pure virtual | 
All these functions are called by Measure::Convert classes only.
Create conversion state machine list
Implemented in casacore::MCBaseline, casacore::MCDirection, casacore::MCDoppler, casacore::MCEarthMagnetic, casacore::MCEpoch, casacore::MCFrequency, casacore::MCPosition, casacore::MCRadialVelocity, and casacore::MCuvw.
      
  | 
  pure virtual | 
Create help structures for Measure conversion routines.
Implemented in casacore::MCBaseline, casacore::MCDirection, casacore::MCDoppler, casacore::MCEarthMagnetic, casacore::MCEpoch, casacore::MCFrequency, casacore::MCPosition, casacore::MCRadialVelocity, and casacore::MCuvw.
      
  | 
  staticprotected | 
The following routines create a state transition matrix from a list of all defined transitions.
It uses the following information:
Routine to make the transition table if necessary
      
  | 
  staticprotected | 
Return a fromatted String with matrix information (based on < 100 types)