From 64f931822c133a833ccfea6bb9d9c9a9c00fbe23 Mon Sep 17 00:00:00 2001 From: Deniz Tuana Ergonul Uzun Date: Tue, 7 Oct 2025 12:57:43 +0200 Subject: [PATCH] Delayed postprocessing timeout logic --- include/trigger/TriggerDataHandlingModel.hpp | 3 +++ include/trigger/detail/TriggerDataHandlingModel.hxx | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/include/trigger/TriggerDataHandlingModel.hpp b/include/trigger/TriggerDataHandlingModel.hpp index edb6ad07..5a718385 100644 --- a/include/trigger/TriggerDataHandlingModel.hpp +++ b/include/trigger/TriggerDataHandlingModel.hpp @@ -36,6 +36,9 @@ class TriggerDataHandlingModel // Transform input data type to readout std::vector transform_payload(IDT& original) const override; + + // Actions postprocess scheduler takes if no data arrives in a configured time + void invoke_postprocess_schedule_timeout_policy() const override; }; } // namespace dunedaq::trigger diff --git a/include/trigger/detail/TriggerDataHandlingModel.hxx b/include/trigger/detail/TriggerDataHandlingModel.hxx index 7f7bf142..9538dfcf 100644 --- a/include/trigger/detail/TriggerDataHandlingModel.hxx +++ b/include/trigger/detail/TriggerDataHandlingModel.hxx @@ -38,4 +38,11 @@ TriggerDataHandlingModel::transform_payload(IDT& origin } } +template +void +TriggerDataHandlingModel::invoke_postprocess_schedule_timeout_policy() const +{ + return; // TODO +} + } // namespace dunedaq::trigger