00001 #ifndef SCTNAMES_H
00002 #define SCTNAMES_H
00003
00004 #include <is/info.h>
00005 #include <ipc/partition.h>
00006 #include <string>
00007
00008 class MRSStream;
00009
00010 namespace Sct {
00011
00021 class SctNames {
00022 public:
00026 static std::string getPartitionName() throw();
00027
00031 static std::string getEventDataName() throw();
00032
00036 static std::string getFittedDataName() throw();
00037
00041 static std::string getDcsServerName() throw();
00042
00046 static std::string getTestDataName() throw();
00047
00051 static std::string getControlDataName() throw();
00052
00056 static std::string getRetrievedDataName() throw();
00057
00058
00062 static std::string getTempDir() throw();
00063
00067 static std::string getLocation() throw();
00068
00072 static std::string getUser() throw();
00073
00077 static IPCPartition& getPartition() throw();
00078
00082 static ISInfoDictionary& getISDictionary() throw();
00083
00087 static std::string getPersistentDir() throw();
00088
00092 static void setPersistentDir(const char* newDirectory) throw();
00093
00097 static std::string getLogDir() throw();
00098
00099 static MRSStream& Mrs();
00100
00101 static bool isMrsValid();
00102 private:
00103 static std::string m_persistent_dir;
00104 };
00105
00106 }
00107
00108 #endif //#ifndef SCTNAMES_H