Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Sct::SctNames Class Reference

This static class exists to provide the names of SCT Online Software components. More...

#include <SctNames.h>


Static Public Member Functions

std::string getPartitionName () throw ()
 Get the Partition name.

std::string getEventDataName () throw ()
 Get the IS server name for raw event data.

std::string getFittedDataName () throw ()
 Get the IS server name for fitted data.

std::string getDcsServerName () throw ()
 Get the IS server name for Test data.

std::string getTestDataName () throw ()
 Get the IS server name for fitted data.

std::string getControlDataName () throw ()
 Get the IS server name for Control data.

std::string getRetrievedDataName () throw ()
 Get the IS server name for retrieved data.

std::string getTempDir () throw ()
 Get the directory for storing temporary files.

std::string getLocation () throw ()
 Get the location.

std::string getUser () throw ()
 Get the user.

IPCPartition & getPartition () throw ()
 Get the IPC Partition.

ISInfoDictionary & getISDictionary () throw ()
 Get the IS dictionary.

std::string getPersistentDir () throw ()
 Gets the directory for storing all persistent data in.

void setPersistentDir (const char *newDirectory) throw ()
 Sets the directory for storing data -- specifically for the use for a re-analyser...

std::string getLogDir () throw ()
 Gets the directory for storing log files in.

MRSStream & Mrs ()
bool isMrsValid ()

Static Private Attributes

std::string m_persistent_dir


Detailed Description

This static class exists to provide the names of SCT Online Software components.

For example, the partition name, the name of the IS server that event data is stored in. It also provides a few simple utility functions. For instance, it caches a reference to the Partition.

Also, at some point, it may be useful to expand this class if we wanted to run say a subset of modules entirely independantly of the rest and thus wanted to have all those components in a separate partition. (This is why all access is via methods rather than static member variables.)

Definition at line 21 of file SctNames.h.


Member Function Documentation

string Sct::SctNames::getControlDataName  )  throw () [static]
 

Get the IS server name for Control data.

Definition at line 35 of file SctNames.cpp.

string Sct::SctNames::getDcsServerName  )  throw () [static]
 

Get the IS server name for Test data.

Definition at line 27 of file SctNames.cpp.

Referenced by SctAnalysis::DcsInterface::getData().

string Sct::SctNames::getEventDataName  )  throw () [static]
 

Get the IS server name for raw event data.

Definition at line 19 of file SctNames.cpp.

string Sct::SctNames::getFittedDataName  )  throw () [static]
 

Get the IS server name for fitted data.

Definition at line 23 of file SctNames.cpp.

ISInfoDictionary & Sct::SctNames::getISDictionary  )  throw () [static]
 

Get the IS dictionary.

Definition at line 77 of file SctNames.cpp.

Referenced by SctCalibrationController::IsInfoWrapper::publishWrappedObject(), and SctFitter::FitterWorkerGroup::work().

string Sct::SctNames::getLocation  )  throw () [static]
 

Get the location.

Definition at line 64 of file SctNames.cpp.

std::string Sct::SctNames::getLogDir  )  throw () [static]
 

Gets the directory for storing log files in.

Definition at line 59 of file SctNames.cpp.

Referenced by SctApi::CrateImpl::doTextBuffer(), and SctApi::SctApi::reportEventErrors().

IPCPartition & Sct::SctNames::getPartition  )  throw () [static]
 

Get the IPC Partition.

Definition at line 72 of file SctNames.cpp.

string Sct::SctNames::getPartitionName  )  throw () [static]
 

Get the Partition name.

Definition at line 14 of file SctNames.cpp.

std::string Sct::SctNames::getPersistentDir  )  throw () [static]
 

Gets the directory for storing all persistent data in.

Definition at line 48 of file SctNames.cpp.

string Sct::SctNames::getRetrievedDataName  )  throw () [static]
 

Get the IS server name for retrieved data.

Definition at line 39 of file SctNames.cpp.

Referenced by SctArchiving::Archiver::Archiver().

string Sct::SctNames::getTempDir  )  throw () [static]
 

Get the directory for storing temporary files.

Definition at line 43 of file SctNames.cpp.

Referenced by SctApi::SctApi::dumpPrimList(), SctApi::SctApi::dumpRawEvent(), and SctApi::SctApi::getResponse().

string Sct::SctNames::getTestDataName  )  throw () [static]
 

Get the IS server name for fitted data.

Definition at line 31 of file SctNames.cpp.

string Sct::SctNames::getUser  )  throw () [static]
 

Get the user.

Definition at line 68 of file SctNames.cpp.

void Sct::SctNames::setPersistentDir const char *  newDirectory  )  throw () [static]
 

Sets the directory for storing data -- specifically for the use for a re-analyser...

Definition at line 52 of file SctNames.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 20:18:24 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5