29 #ifndef MEASURES_MCDIRECTION_H 30 #define MEASURES_MCDIRECTION_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/measures/Measures/MeasBase.h> 35 #include <casacore/measures/Measures/MeasRef.h> 36 #include <casacore/measures/Measures/MCBase.h> 37 #include <casacore/measures/Measures/MConvertBase.h> 38 #include <casacore/measures/Measures/MDirection.h> 39 #include <casacore/measures/Measures/MeasMath.h> 40 #include <casacore/casa/OS/Mutex.h> 49 template <
class T>
class Vector;
202 { theirMutexedInit.
exec(); }
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.
Thread-safe initialization of global variables.
MDirection conversion routines.
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
Base class for values in a Measure.
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.
void exec()
Execute the initialization function if not done yet.
static MutexedInit theirMutexedInit
Mutex for thread-safety.
MCDirection()
Default constructor.
static void fillState()
Fill the global state in a thread-safe way.
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)
static void doFillState(void *)
Fill the global state in a thread-safe way.
this file contains all the compiler specific defines
Conversion of Measures Base.
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.