29 #ifndef MEASURES_MCPOSITION_H
30 #define MEASURES_MCPOSITION_H
46 template <
class T>
class Vector;
Wrapper around std::call_once.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Routine to do actual conversion.
A Measure: position on Earth.
Routes
Each derived class should have a list of routines to be called:
std::vector< double > Vector
Base for Reference frame for physical measures.
Base for specific measure conversions.
MCPosition & operator=(const MCPosition &other)
Assignment (not implemented)
static uInt ToRef_p[N_Routes][3]
Transition list.
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.
static CallOnce0 theirInitOnce
Object to ensure safe multi-threaded lazy single initialization.
static uInt FromTo_p[MPosition::N_Types][MPosition::N_Types]
Transition matrix.
Base class for values in a Measure.
MCPosition()
Default constructor.
static String showState()
Show the state of the conversion engine (mainly for debugging purposes)
MPosition conversion routines.
static void doFillState()
Fill the global state.
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)
Create conversion function pointer.
String: the storage and methods of handling collections of characters.
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
Conversion of Measures Base.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.