28 #ifndef CASA_APPSTATE_H
29 #define CASA_APPSTATE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/OS/Mutex.h>
60 virtual std::string
resolve(
const std::string &filename)
const;
63 virtual std::list<std::string>
dataPath( )
const {
64 static std::list<std::string> result;
74 static std::string result;
135 static Mutex mutex_p;
Allow configuration of casacore without environment variables.
static AppState & fetch()
static AppState * user_state
void operator=(AppStateSource const &)
static void initialize(AppState *init)
AppStateSource(AppStateSource const &)
virtual std::list< std::string > dataPath() const
get the list of directories in the data path...
virtual bool initialized() const
virtual std::string resolve(const std::string &filename) const
use the data path to find the filename...
virtual std::string measuresDir() const
Get AppState specified directory for (IERS) measures data.
Exception-safe lock/unlock of a mutex.
this file contains all the compiler specific defines