diff --git a/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h b/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h index c763712a7553cc1ec21ff100ee0eae2a812c3983..fe95b0dc846c4aeb38afbfdb7a5213bf607893f3 100644 --- a/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h +++ b/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h @@ -54,7 +54,7 @@ namespace LOFAR { namespace CEP { // Set up the client side of a connection. // Upon the first send or receive it connects to the server // on the given host and port. - // If the making the connection fails, it will sleep one second and try + // If making the connection fails, it will sleep one second and try // again for up to 60 attempts. In this way the case is handled // where a server is started a bit later than a client. SocketConnection (const std::string& hostName, const std::string& port); diff --git a/CEP/Imager/MWCommon/include/MWCommon/VdsPartDesc.h b/CEP/Imager/MWCommon/include/MWCommon/VdsPartDesc.h index 5c7471bef4436d59927e89f7f45b375eb539ab20..b995565922959c2d1964a73a513b1d48b78f1b59 100644 --- a/CEP/Imager/MWCommon/include/MWCommon/VdsPartDesc.h +++ b/CEP/Imager/MWCommon/include/MWCommon/VdsPartDesc.h @@ -69,6 +69,10 @@ namespace LOFAR { namespace CEP { void setFileName (const std::string& name) { itsFileName = name; } + // Set the name of the ClusterDesc file used. + void setClusterDescName (const std::string& cdName) + { itsCDescName = cdName; } + // Change the base part of the name. void changeBaseName (const string& newBaseName); @@ -109,6 +113,8 @@ namespace LOFAR { namespace CEP { { return itsFileName; } const std::string& getFileSys() const { return itsFileSys; } + const std::string& getClusterDescName() const + { return itsCDescName; } double getStartTime() const { return itsStartTime; } double getEndTime() const @@ -139,6 +145,7 @@ namespace LOFAR { namespace CEP { std::string itsName; //# full name of the VDS desc std::string itsFileName; //# full name of the VDS (data set name) std::string itsFileSys; //# name of file system the VDS resides on + std::string itsCDescName; //# name of ClusterDesc file used double itsStartTime; double itsEndTime; double itsStepTime;