casa
5.7.0-16
|
namespace for CASAtools classes within "CASA code" More...
#include <State.h>
Public Member Functions | |
State () | |
virtual bool | initialized () const |
virtual std::list< std::string > | dataPath () const |
get the list of directories in the data path... More... | |
void | clearDataPath () |
void | setDataPath (const std::vector< std::string > &new_list) |
std::list< ServiceId > | services () |
get map of registrations More... | |
bool | removeService (std::string id) |
returns true if a registration for 'id' was found More... | |
ServiceId | addService (std::string proposed_id, std::string uri, const std::list< std::string > &types) |
returns assigned identifier (likely based upon the proposed_id) More... | |
ServiceId | addService (const ServiceId &new_service) |
std::string | registryURI () |
void | shutdown () |
do any necessary shutdown functions, More... | |
Public Member Functions inherited from casacore::AppState | |
virtual std::string | resolve (const std::string &filename) const |
use the data path to find the filename... More... | |
virtual | ~AppState () |
Private Attributes | |
std::mutex | data_path_mutex |
std::list< std::string > | data_path |
Registrar | registrar |
|
inline |
returns assigned identifier (likely based upon the proposed_id)
Definition at line 91 of file State.h.
References casatools::Registrar::add(), and registrar.
Definition at line 94 of file State.h.
References casatools::Registrar::add(), and registrar.
|
inline |
protect critical section...
Definition at line 53 of file State.h.
References data_path, and data_path_mutex.
|
inlinevirtual |
get the list of directories in the data path...
Reimplemented from casacore::AppState.
Definition at line 49 of file State.h.
References data_path.
|
inlinevirtual |
Reimplemented from casacore::AppState.
|
inline |
Definition at line 99 of file State.h.
References registrar, and casatools::Registrar::uri().
|
inline |
returns true if a registration for 'id' was found
Definition at line 89 of file State.h.
References registrar, and casatools::Registrar::remove().
|
inline |
get map of registrations
Definition at line 87 of file State.h.
References registrar, and casatools::Registrar::services().
|
inline |
accept only strings that are the path to a directory
protect critical section...
always clear the existing path
convert the paths to fully qualified paths
Definition at line 59 of file State.h.
References data_path, data_path_mutex, free(), and casa::utilj::transform().
void casatools::State::shutdown | ( | ) |
do any necessary shutdown functions,
|
private |
Definition at line 108 of file State.h.
Referenced by clearDataPath(), dataPath(), and setDataPath().
|
private |
Definition at line 107 of file State.h.
Referenced by clearDataPath(), and setDataPath().
|
private |
Definition at line 109 of file State.h.
Referenced by addService(), registryURI(), removeService(), and services().