From fbf94d381d2f7b9ade6e8820b682fe0d3f68a47a Mon Sep 17 00:00:00 2001 From: zwart <sdos@astron.nl> Date: Mon, 13 Mar 2006 09:07:33 +0000 Subject: [PATCH] BugID: 673 Added argument to define command (parameterset) --- LCS/ACC/PLC/configure.in | 1 + LCS/ACC/PLC/include/PLC/ProcessControl.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LCS/ACC/PLC/configure.in b/LCS/ACC/PLC/configure.in index 6d8d1b5a0fb..3726daef8d1 100644 --- a/LCS/ACC/PLC/configure.in +++ b/LCS/ACC/PLC/configure.in @@ -54,6 +54,7 @@ lofar_GENERAL lofar_INTERNAL(LCS/Common,Common,,1,Common/LofarTypedefs.h,,) lofar_INTERNAL(LCS/Blob,Blob,,1,Blob/BlobHeader.h,,) lofar_INTERNAL(LCS/Transport,Transport,,1,Transport/TransportHolder.h,,) +lofar_INTERNAL(LCS/ACC/APS,APS,,1,APS/ParameterSet.h,,) lofar_EXTERNAL(boost,1,boost/logic/tribool.hpp,"") dnl diff --git a/LCS/ACC/PLC/include/PLC/ProcessControl.h b/LCS/ACC/PLC/include/PLC/ProcessControl.h index cf45cc3c09f..f4d6a31600d 100644 --- a/LCS/ACC/PLC/include/PLC/ProcessControl.h +++ b/LCS/ACC/PLC/include/PLC/ProcessControl.h @@ -31,6 +31,7 @@ //# Never #include <config.h> or #include <lofar_config.h> in a header file! //# Includes #include <PLC/DH_ProcControl.h> +#include <APS/ParameterSet.h> #include <boost/logic/tribool.hpp> using boost::logic::tribool; @@ -67,7 +68,7 @@ public: // ParameterSet it received during start-up. When everthing seems ok the // process constructs the communication channels for exchanging data // with the other processes. The connection are NOT made in the stage. - virtual tribool define () = 0; + virtual tribool define (APS::ParameterSet ps = APS::ParameterSet()) = 0; // When a process receives an \c init command it allocates the buffers it // needs an makes the connections with the other processes. When the -- GitLab