29 #ifndef MEASURES_MCDIRECTION_H
30 #define MEASURES_MCDIRECTION_H
A Measure: astronomical direction.
Routes
Each derived class should have a list of routines to be called:
Base for Reference frame for physical measures.
Base for specific measure conversions.
Measure conversion aid routines.
MDirection conversion routines.
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
Base class for values in a Measure.
static std::once_flag theirInitOnceFlag
Object to ensure safe multi-threaded lazy single initialization.
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)
Create conversion function pointer.
static String showState()
Show the state of the conversion engine (mainly for debugging purposes)
static uInt ToRef_p[N_Routes][3]
Transition list.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Routines to convert directions from one reference frame to another.
static void doFillState()
Fill the global state.
MCDirection()
Default constructor.
String: the storage and methods of handling collections of characters.
Vector of three direction cosines.
static uInt FromTo_p[MDirection::N_Types][MDirection::N_Types]
Transition matrix.
MCDirection & operator=(const MCDirection &other)
Assignment (not implemented)
Conversion of Measures Base.
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.