From b4e48d8f0ebdbdc4bde76ee90919b34a0d3db6b1 Mon Sep 17 00:00:00 2001 From: Ger van Diepen <diepen@astron.nl> Date: Fri, 23 Jan 2009 10:01:03 +0000 Subject: [PATCH] bug 1314: Updated comments --- CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h | 2 +- CEP/Imager/MWCommon/include/MWCommon/VdsPartDesc.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h b/CEP/Imager/MWCommon/include/MWCommon/SocketConnection.h index c763712a755..fe95b0dc846 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 5c7471bef44..b9955659229 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; -- GitLab