28 #ifndef CASA_APPSTATE_H
29 #define CASA_APPSTATE_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;
125 static Mutex mutex_p;
virtual std::string resolve(const std::string &filename) const
use the data path to find the filename...
static AppState & fetch()
virtual std::list< std::string > dataPath() const
get the list of directories in the data path...
void operator=(AppStateSource const &)
static AppState * user_state
Wrapper around a pthreads mutex.
static void initialize(AppState *init)
virtual bool initialized() const
Exception-safe lock/unlock of a mutex.
Base class for application state.
AppStateSource(AppStateSource const &)
Allow configuration of casacore without environment variables.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.