From b40ba7dd70dec60959b8e9dac3fd6d59ad8800ba Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Fri, 17 Jul 2020 11:55:32 -0400 Subject: [PATCH] AthenaKernel: Add IAthenaOutputTool::preStream() Add abstract method IAthenaOutputTool::preStream(). To be called just before streaming objects. --- Control/AthenaKernel/AthenaKernel/IAthenaOutputTool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Control/AthenaKernel/AthenaKernel/IAthenaOutputTool.h b/Control/AthenaKernel/AthenaKernel/IAthenaOutputTool.h index 3335f0c4a55c..a9b5f22da5ee 100644 --- a/Control/AthenaKernel/AthenaKernel/IAthenaOutputTool.h +++ b/Control/AthenaKernel/AthenaKernel/IAthenaOutputTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef ATHENAKERNEL_IATHENAOUTPUTTOOL_H @@ -27,6 +27,8 @@ public: virtual StatusCode postInitialize() = 0; /// Called at the beginning of execute virtual StatusCode preExecute() = 0; + /// Called before actually streaming objects. + virtual StatusCode preStream() = 0; /// Called at the end of execute virtual StatusCode postExecute() = 0; /// Called at the beginning of finalize -- GitLab